Skip to content

Commit 837c07b

Browse files
committed
Fix another e2e test
1 parent d6afe83 commit 837c07b

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/frontend/tests/e2e-playwright/routes/authorize/continue.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,8 @@ test("Authorize by switching to another identity", async ({ page }) => {
2929
const otherPrincipal = await createIdentity(page, "Jane Doe", auth2);
3030
const principal = await authorize(page, async (authPage) => {
3131
await authPage.getByRole("button", { name: "Switch identity" }).click();
32-
await authPage.getByRole("button", { name: "John Doe" }).click();
3332
auth1(authPage);
34-
await authPage
35-
.getByRole("button", { name: "Continue", exact: true })
36-
.click();
33+
await authPage.getByRole("button", { name: "John Doe" }).click();
3734
});
3835
expect(principal).toBe(expectedPrincipal);
3936
expect(principal).not.toBe(otherPrincipal);

0 commit comments

Comments
 (0)