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:
Mohamed Boudra
2026-04-14 10:19:42 +07:00
parent 19585709d5
commit e647c61fb5
4 changed files with 16 additions and 6 deletions
+2
View File
@@ -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 })