fix(gro66): E2E selector ambiguity in impersonation.spec.ts #128

Merged
groombook-engineer[bot] merged 10 commits from fix/gro66-e2e-selector into main 2026-03-27 14:23:19 +00:00
Showing only changes of commit 5388b03f2d - Show all commits
+1 -1
View File
@@ -62,7 +62,7 @@ test.describe("ImpersonationBanner", () => {
test("clicking End Session calls API and redirects", async ({ page }) => {
await page.goto("/?sessionId=session-1");
await page.getByRole("button", { name: /End Session/ }).click();
await expect(page.getByText("STAFF VIEW")).not.toBeVisible();
await expect(page.getByTestId("impersonation-banner")).not.toBeVisible();
});
test("Extend button appears when time is low and not extended", async ({ page }) => {