fix(app): hide header Git actions for non-Git workspaces

This commit is contained in:
Mohamed Boudra
2026-07-11 18:34:26 +02:00
parent 03dcda7c41
commit a017ddfc29
3 changed files with 13 additions and 8 deletions
@@ -161,10 +161,7 @@ test.describe("Project with no workspaces persists", () => {
timeout: 30_000,
});
await workspaceRow.click();
await expect(page.getByTestId("changes-primary-cta")).toHaveAttribute(
"aria-label",
"Archive workspace",
);
await expect(page.getByTestId("changes-primary-cta")).toHaveCount(0);
await archiveWorkspaceFromSidebar(page, workspace.workspaceId);