No test signs in with the sign-in form #393

Closed
opened 2026-11-06 19:12:53 -08:00 by rays · 1 comment
Owner

Found by the page coverage (#390): web/src/login.ts runs at 0% in the browser suite, since every test signs in with the token link. A broken form (a wrong field name, a lost error message, a redirect that goes nowhere) would pass every test.

Found by the page coverage (#390): web/src/login.ts runs at 0% in the browser suite, since every test signs in with the token link. A broken form (a wrong field name, a lost error message, a redirect that goes nowhere) would pass every test.
rays added the bug label 2026-11-06 19:12:53 -08:00
Author
Owner

Done in 352e2b7: tests/ui/login.spec.ts checks the redirect to the form when signed out, a wrong password's message and staying signed out, and signing in with Enter as admin. It fails when the form drops the server's message. login.ts coverage 0% to 87% of lines.

Done in 352e2b7: tests/ui/login.spec.ts checks the redirect to the form when signed out, a wrong password's message and staying signed out, and signing in with Enter as admin. It fails when the form drops the server's message. login.ts coverage 0% to 87% of lines.
rays closed this issue 2026-11-06 19:16:45 -08:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rays/ipx#393