#465 The passkey browser test sometimes misses the sign-in button
–
- github
- github/openchronology/timeline-app
- github/openchronology/timeline-app#465
- issue
- state:open
`test/passkeys-live-postgres.mjs` failed once in CI and passed when re-run, on PR #464, whose changes don't touch sign-in. **Where:** the job "PostgreSQL 16 / native pgmp / accounts and sharing" ([run](https://github.com/openchronology/timeline-app/actions/runs/42164507481)). **What failed:** after signing out, the test opens `/login` and waits for the **Sign in with a passkey** button, which never appeared within 30 seconds: ``` locator.waitFor: Timeout 30000ms exceeded. - waiting for getByRole('button', { name: 'Sign in with a passkey' }) to be visible at test/passkeys-live-postgres.mjs:212:16 ``` That's the step "Signing in with the passkey alone, from the button", which comes after the two-factor step and `signOut()`. **To find out:** why the login page sometimes doesn't show the button. It could be the session still being read as signed in, the passkey autofill request from the previous step still pending, or the page loading before sign-out has taken effect. Then make the test, or the page, reliable. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/issues/465
Related
- #464 Explore filters your own and starred timelines, in place of their own lists
- #491 Say what OpenChronology is in one sentence, with its name
- #496 The passkey test says what the page showed when its button never appears
- The passkey test's autofill step says what the page showed too
- The passkey test says what the page showed when its button never appears
Open #465 The passkey browser test sometimes misses the sign-in button in the timeline