test(web): await fork title projection
This commit is contained in:
@@ -176,6 +176,12 @@ describe('web e2e: message IconActions and clocks on settled history', () => {
|
|||||||
() => page.locator('[role="treeitem"][aria-selected="true"]').count(),
|
() => page.locator('[role="treeitem"][aria-selected="true"]').count(),
|
||||||
{ timeout: 10_000 },
|
{ timeout: 10_000 },
|
||||||
).toBe(1)
|
).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(
|
const tree = await captureStableAria(
|
||||||
page,
|
page,
|
||||||
'[role="tree"][aria-label="Sessions"]',
|
'[role="tree"][aria-label="Sessions"]',
|
||||||
|
|||||||
Reference in New Issue
Block a user