Skip to content

Commit 76530e9

Browse files
committed
Update e2e
1 parent ceb5edc commit 76530e9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/frontend/tests/e2e-playwright/dashboard/addPasskeys.spec.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,5 +308,8 @@ test("User can log into the dashboard and up to 7 additional passkeys", async ({
308308
).toHaveCount(8);
309309

310310
// Verify we cannot add more passkeys
311-
await expect(page.getByRole("button", { name: "Add new" })).toBeDisabled();
311+
await page.getByRole("button", { name: "Add new" }).click();
312+
await expect(
313+
page.getByRole("button", { name: "Continue with passkey" }),
314+
).toBeDisabled();
312315
});

0 commit comments

Comments
 (0)