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
+4 -4
View File
@@ -65,7 +65,7 @@ test.describe("New workspace flow", () => {
});
await expectWorkspaceHeader(page, {
title: firstWorkspace.workspaceName,
subtitle: workspaceLabelFromPath(firstRepo.path),
subtitle: firstWorkspace.projectDisplayName,
});
await switchWorkspaceViaSidebar({
@@ -79,7 +79,7 @@ test.describe("New workspace flow", () => {
});
await expectWorkspaceHeader(page, {
title: secondWorkspace.workspaceName,
subtitle: workspaceLabelFromPath(secondRepo.path),
subtitle: secondWorkspace.projectDisplayName,
});
await switchWorkspaceViaSidebar({
@@ -89,7 +89,7 @@ test.describe("New workspace flow", () => {
});
await expectWorkspaceHeader(page, {
title: firstWorkspace.workspaceName,
subtitle: workspaceLabelFromPath(firstRepo.path),
subtitle: firstWorkspace.projectDisplayName,
});
} finally {
await secondRepo.cleanup();
@@ -119,7 +119,7 @@ test.describe("New workspace flow", () => {
});
await expectWorkspaceHeader(page, {
title: openedProject.workspaceName,
subtitle: workspaceLabelFromPath(tempRepo.path),
subtitle: openedProject.projectDisplayName,
});
await clickNewWorkspaceButton(page, {