The passkey test says what the page showed when its button never appears
Free, open-source timeline editor for exact dates at any scale.
Brought to you by:
athanclark
Originally created by: athanclark
Refs [#465]. This adds diagnostics and isn't a fix, so the issue stays open.
test/passkeys-live-postgres.mjs once timed out waiting for Sign in with a passkey on /login, and passed when re-run. I followed the code paths, and none of them explains it:
signOut waits until /api/session reports no user, then leaves the account page for about:blank./login can't resume a stale challenge step that hides the button./api/session has none, so the page's own session read isn't refused.mode is login, and the browser supports passkeys.What this PR changes: if the button never appears, the test prints three things before failing:
/api/session as the browser sees it.The next failure will then show which of those went wrong.
🤖 Generated with Claude Code
Ticket changed by: athanclark