Fix workspace-owned Playwright flows

This commit is contained in:
Mohamed Boudra
2026-06-16 18:57:00 +07:00
parent 3cf3a63423
commit 37de9ea796
9 changed files with 22 additions and 2 deletions
+3
View File
@@ -12,6 +12,9 @@ function pinToggle(page: Page, target: PinnedTabTarget) {
}
function menuItemFor(page: Page, target: PinnedTabTarget) {
if (target.kind === "draft") {
return page.getByTestId("workspace-new-tab-menu-agent");
}
return page.getByTestId(`workspace-new-tab-menu-${target.kind}`);
}