Ver Fonte

Merge remote-tracking branch 'origin/worktree/ci-native-windows-coverage-20260808' into worktree/ci-native-windows-multicore-20260809

Tianyi Cui há 1 mês atrás
pai
commit
b653f48ca8
1 ficheiros alterados com 6 adições e 0 exclusões
  1. 6 0
      apps/web/tests/message-actions.e2e.ts

+ 6 - 0
apps/web/tests/message-actions.e2e.ts

@@ -176,6 +176,12 @@ describe('web e2e: message IconActions and clocks on settled history', () => {
       () => page.locator('[role="treeitem"][aria-selected="true"]').count(),
       { timeout: 10_000 },
     ).toBe(1)
+    // The child row is published before its inherited title rename settles;
+    // wait for that second RPC projection before freezing the ARIA tree.
+    await expect.poll(
+      () => page.locator('[role="treeitem"][aria-selected="true"]').textContent(),
+      { timeout: 10_000 },
+    ).toContain('Use the read tool twice (2)')
     const tree = await captureStableAria(
       page,
       '[role="tree"][aria-label="Sessions"]',