Fix 5 remaining Playwright e2e failures
- Wait for ?open= intent consumption before expecting agent tabs - Blur composer before second Meta+t to prevent shortcut swallowing - Use projectDisplayName from daemon instead of computed path label - Increase setup streaming script terminal timeout for CI
This commit is contained in:
@@ -67,6 +67,8 @@ test.describe("Tab creation", () => {
|
||||
.toBe(countBefore + 1);
|
||||
const countAfterFirst = await countTabsOfKind(page, "draft");
|
||||
|
||||
// Blur the composer so the second shortcut isn't swallowed by the focused input
|
||||
await page.evaluate(() => (document.activeElement as HTMLElement)?.blur?.());
|
||||
await pressNewTabShortcut(page);
|
||||
await expect
|
||||
.poll(() => countTabsOfKind(page, "draft"), { timeout: 15_000 })
|
||||
|
||||
Reference in New Issue
Block a user