test(web): avoid unstable subagent hover

This commit is contained in:
imccyu
2026-08-23 16:16:05 +08:00
parent 24a610db74
commit 4ebd9fad79
+1 -1
View File
@@ -490,7 +490,7 @@ describe('web e2e: persisted subagent conversation and human continuation', () =
await expect.poll(() => scaffold.ctx.agents.get(forkId)).not.toBeUndefined()
await sessions.getByRole('treeitem', { name: /Ask a research subagent to/ }).click()
await page.getByRole('button', { name: '3 subagents' }).hover()
await page.getByRole('button', { name: '3 subagents' }).press('ArrowDown')
await page.getByRole('treeitem', { name: new RegExp(LABEL) }).click()
const input = page.locator('textarea:enabled').first()
await input.waitFor()