diff --git a/apps/web/tests/README.i18n.yaml b/apps/web/tests/README.i18n.yaml index 78babd3cfc..9c182e45e0 100644 --- a/apps/web/tests/README.i18n.yaml +++ b/apps/web/tests/README.i18n.yaml @@ -3,8 +3,8 @@ # After editing either side, bring the other along and re-record with: # pnpm run verify-translation-pairing --write apps/web/tests/README.md /apps-web-browser-e2e: - en: c4936273ca1d0691 - zh: 70ef15b41fbcb4bc + en: 3e8ecd3509fa944f + zh: 3fd3ff9fcd1e1e90 /apps-web-browser-e2e/completion-observations: en: 1f9c004f3eb465fb zh: 3e45ef8014bad48d diff --git a/apps/web/tests/README.md b/apps/web/tests/README.md index 0a0bfc4dae..bfcba1ad90 100644 --- a/apps/web/tests/README.md +++ b/apps/web/tests/README.md @@ -14,8 +14,6 @@ On Linux, `--with-deps` installs dependencies through the system package manager Ordinary scenarios begin with no registered Workspace or Session and a durable marker recording a removed default Workspace, so explicit folder-selection scenarios retain control of their cwd. `launchWebScaffold({ firstUse: true })` leaves initialization eligible for startup scenarios. -Scenarios whose output depends on workspace-path length set `workspacePathLength` to keep the JSON-quoted temporary root the same length across hosts. This stabilizes compaction estimates and trajectory previews that truncate before path normalization; each root still comes from `mkdtemp`. - ## Completion observations State-sensitive cases use Workspace, admission, attachment, and model-stream barriers to separate visible intermediate states from completed operations. Model-picker persistence assertions wait for the saved default, independently of menu closure. Details close waits for frame transitions; archive verification assigns an explicit title to the seeded Session and follows that identity across reload. The [CI test reliability workflow](../../../.agents/skills/dsh-ci-test-reliability/SKILL.md#synchronize-on-state) owns these synchronization rules. diff --git a/apps/web/tests/README.zh.md b/apps/web/tests/README.zh.md index b8fecdaf60..24d8bdfd5d 100644 --- a/apps/web/tests/README.zh.md +++ b/apps/web/tests/README.zh.md @@ -14,8 +14,6 @@ pnpm --filter @deepseek-ai/dsh-web-frontend exec playwright install --with-deps 普通场景以没有已登记 Workspace 或 Session、但持久化标记记录默认 Workspace 已被删除的状态启动,使显式文件夹选择场景自行决定 cwd。`launchWebScaffold({ firstUse: true })` 保留初始化资格,供启动场景使用。 -工作目录路径长度会影响输出的场景通过 `workspacePathLength` 固定临时根目录经 JSON 引用后的长度,使其在不同主机上一致。这能稳定压缩估算,以及在路径归一化前截断的轨迹预览;各根目录仍由 `mkdtemp` 分配。 - ## 完成状态观察 依赖状态的用例使用 Workspace、接纳、附件和模型流屏障,区分可见中间状态与已完成操作。模型选择器的持久化断言等待默认设置保存完成,不以菜单关闭作为完成信号。详情关闭等待框架过渡结束;归档验证为 seed Session 设置显式标题,并跨重载跟踪该身份。[CI 测试可靠性工作流](../../../.agents/skills/dsh-ci-test-reliability/SKILL.md#synchronize-on-state)负责这些同步规则。 diff --git a/apps/web/tests/scaffold.ts b/apps/web/tests/scaffold.ts index b6a1b89d43..61af9d9e5c 100644 --- a/apps/web/tests/scaffold.ts +++ b/apps/web/tests/scaffold.ts @@ -310,7 +310,7 @@ export interface LaunchOptions { openInAppEnvironment?: LaunchEnvironmentSnapshot /** Compare the replayed root Session; `read-only` also forbids refresh writes to a borrowed fixture. */ compareReplaySession?: boolean | 'read-only' - /** Fixed JSON-quoted workspace path length for compaction estimates and bounded previews; omitted uses the ordinary prefix. */ + /** Fixed JSON-quoted workspace path length for compaction estimates; omitted values use the ordinary prefix. */ workspacePathLength?: number /** * Optional product overlay applied after the shipped Web surface and before @@ -522,7 +522,7 @@ export async function launchWebScaffold(options: LaunchOptions = {}): Promise