This repository was archived by the owner on Jun 4, 2026. It is now read-only.
Repository navigation
Replies: 1 comment
|
支持这个决策。这个项目最需要自动化测试的不是普通 UI,而是时间轴、seek 一致性、媒体同步和 iframe runtime 边界。 建议 P0 测试分层:
真实摄像头和麦克风不建议强依赖 CI,可以用 mock stream 加本地手工验收。 另外建议 ADR 里明确几个 P0 不变量:从头播放到 t 与快照 seek 到 t 的 |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
决策
测试栈采用 Vitest、Testing Library 和 Playwright,并重点覆盖 ReplayReducer、MediaClockAdapter 和 iframeRuntime 安全边界。
备选方案
理由
最新技术方案要求证明“从头播放到 t”和“从最近快照 seek 到 t”得到同一个
ReplayStableState,并验证 media drift、pending seek、runtime source/runId 校验和 timeout。影响
P0 测试重点包括 RecordingClock、EventBus、PackageBuilder、ReplayIndex、ReplayScheduler、ReplayReducer、MediaClockAdapter、iframeRuntime 和关键 E2E。真实媒体采集可用 mock stream 加手工验收。
All reactions