Loading challenge...
Capture a single-use magic link from the inbox and navigate it; replays return 410
There is no password field. Authentication happens by opening a one-time link delivered out-of-band โ your test must capture it from the inbox and navigate to it
Request a login link for an email, read the captured link from the inbox side channel (a mock mailbox at /api/lab/inbox), then visit it. The link is single-use: replaying the same token returns 410 Gone.
Real-world parallel: passwordless / "magic link" auth where the credential never lives in the UI โ the automation lesson is reading an external channel and doing a fresh navigation on the captured URL.
Send a login link, then peek the inbox to capture it
Automation hints
#magic-email and click #magic-request, then assert #magic-status mentions the inbox โ the UI alone never reveals the tokenGET /api/lab/inbox?to=<email>&kind=magic returns { token, link }; the same link surfaces in #magic-link after #magic-peek?token= on mount and reveals #magic-success on 200410 and shows #magic-error โ capture a new token per run, never reuse one401 โ also #magic-error; assert on #magic-success[data-state=success] for a genuine pass