Browser gate: a guest signs in from the bar's corner; the window scenario reads the new words
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 file changed,
+3
−1
test/browser/call.mjs+3 −1
CI passed — run details
diff --git a/test/browser/call.mjs b/test/browser/call.mjs| index e376005..b753936 100644 |
| --- a/test/browser/call.mjs |
| +++ b/test/browser/call.mjs |
| @@ -1040,7 +1040,9 @@ async function signInAsGuest(ctx, address = GUEST) { |
| await member.close(); |
| const page = await ctx.newPage(); |
| await page.goto(origin + '/j/' + token, { waitUntil: 'domcontentloaded' }); |
| - if (page.url().includes('/j/')) await page.getByRole('link', { name: 'sign in', exact: true }).click(); |
| + // The invitation page's way to sign in is the bar's corner (shared |
| + // chrome R2: guests get the same "Sign in" as anyone signed out). |
| + if (page.url().includes('/j/')) await page.locator('[estilo-bar-signin]').click(); |
| check(page.url().startsWith(origin + '/signin'), |
| 'the link sends a signed-out outsider to sign in (at ' + where(page) + ')'); |