Skip to content

Commit fc6325b

Browse files
committed
Fix e2e test
1 parent 2d5a6bd commit fc6325b

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

e2e/organizations.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,9 @@ test.describe("Member Management", () => {
469469
const anonContext = await browser.newContext({ ignoreHTTPSErrors: true });
470470
const anonPage = await anonContext.newPage();
471471
await anonPage.goto(`https://dev.squarelet.com${invitationPath}`);
472-
await expect(anonPage.locator("a:has-text('Sign Up')")).toBeVisible();
473-
await expect(anonPage.locator("a:has-text('Log In')")).toBeVisible();
472+
const controls = anonPage.locator(".control-group");
473+
await expect(controls.locator("a:has-text('Sign Up')")).toBeVisible();
474+
await expect(controls.locator("a:has-text('Log In')")).toBeVisible();
474475
await anonContext.close();
475476

476477
// Verify the link invitation shows "Copy link" (not "Resend") on manage-members

0 commit comments

Comments
 (0)