Skip to content

Commit ff4e812

Browse files
committed
fix: update for test in ci
passing locally still, but hopefully fails
1 parent 7a7cb33 commit ff4e812

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/auth-server/tests/guardian.spec.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,8 @@ test("Guardian flow: propose and confirm guardian", async ({ page, context: _con
409409
await page.waitForTimeout(3000);
410410

411411
// Look for the guardian in the active guardians list
412-
const guardiansList = page.locator(`text=${guardianAddressText.slice(0, 8)}`);
412+
// Use a more specific selector to avoid matching the URL in "Confirm Later" flow
413+
const guardiansList = page.getByRole("main").locator(`text=${guardianAddressText.slice(0, 8)}`).first();
413414
if (await guardiansList.isVisible({ timeout: 5000 })) {
414415
console.log("✅ Guardian found in active guardians list");
415416
} else {

0 commit comments

Comments
 (0)