diff --git a/apps/web/tests/README.i18n.yaml b/apps/web/tests/README.i18n.yaml index c60764a7d4..09561f47f9 100644 --- a/apps/web/tests/README.i18n.yaml +++ b/apps/web/tests/README.i18n.yaml @@ -6,8 +6,8 @@ en: 3e8ecd3509fa944f zh: 3fd3ff9fcd1e1e90 /apps-web-browser-e2e/completion-observations: - en: 6f8629c8d036f142 - zh: 21c10231c062817c + en: 97cefc8839aea4c5 + zh: 0f719c9064b249ab /apps-web-browser-e2e/these-are-host-face-tests: en: 8c406d423c8e2137 zh: a66a144fd146f56c diff --git a/apps/web/tests/README.md b/apps/web/tests/README.md index 05cd758c7a..57f3d5f4b5 100644 --- a/apps/web/tests/README.md +++ b/apps/web/tests/README.md @@ -24,7 +24,7 @@ Plugin-manager and HMR lifecycle switches wait up to `PLUGIN_TOGGLE_SETTLE_MS` ( Explicit scrolling uses `scrollIntoView` from `support.ts`: it resolves the locator again when its old element detaches and checks connection in the same browser task as native scrolling. Scenarios retain their visibility and geometry assertions after scrolling. -[Sidebar keyboard snapshots](shortcuts-panels.e2e.ts) move the pointer outside the controls and wait for hover tooltips to close before capture. Keyboard focus remains on the pane. +[The snapshot after closing a sidebar pane](shortcuts-panels.e2e.ts) moves the pointer outside the controls and waits for hover tooltips to close before capture. Keyboard focus remains on the pane. ## These are Host-face tests diff --git a/apps/web/tests/README.zh.md b/apps/web/tests/README.zh.md index fa0892224f..2bbd1e06b9 100644 --- a/apps/web/tests/README.zh.md +++ b/apps/web/tests/README.zh.md @@ -24,7 +24,7 @@ pnpm --filter @deepseek-ai/dsh-web-frontend exec playwright install --with-deps 显式滚动使用 `support.ts` 的 `scrollIntoView`:旧元素脱离 DOM 时重新解析 locator,并在同一个浏览器任务中检查连接状态、执行原生滚动。各场景保留滚动后的可见性与几何断言。 -[侧栏键盘快照](shortcuts-panels.e2e.ts)在捕获前将指针移出控件,并等待悬停提示关闭。键盘焦点保持在窗格上。 +[侧栏窗格关闭后的快照](shortcuts-panels.e2e.ts)在捕获前将指针移出控件,并等待悬停提示关闭。键盘焦点保持在窗格上。 ## 这些是 Host 面的测试 diff --git a/apps/web/tests/shortcuts-panels.e2e.ts b/apps/web/tests/shortcuts-panels.e2e.ts index ad117b88c4..2036dad448 100644 --- a/apps/web/tests/shortcuts-panels.e2e.ts +++ b/apps/web/tests/shortcuts-panels.e2e.ts @@ -282,6 +282,7 @@ describe.skipIf(process.platform === 'win32')('Web sidebar shortcuts', () => { await panel.getByRole('button', { name: 'Fullscreen', exact: true }).click() await panel.locator('[data-dockkit-split-button]').click() await expect.poll(() => panel.locator('[data-dockkit-pane]').count()).toBe(2) + // Pane closure can leave the Split tooltip open beneath the stationary pointer. await right.locator('[data-dockkit-split-button]').locator('..').hover() await page.getByRole('tooltip', { name: 'Two panes is the limit', exact: true }).waitFor() await (closeFirst === 'left' ? left : right).getByRole('tab').focus()