This is a live demo — explore a slice of Specsight's own product spec, generated from its codebase. The full spec is much larger.
This is a live demo — explore a slice of Specsight's own product spec, generated from its codebase. The full spec is much larger.
| Context | Action | Outcome |
|---|---|---|
HP-1 user on the login page Action submits valid email and password Outcome user redirected to dashboard | submits valid email and password | user redirected to dashboard |
HP-2 user on the login page Action clicks Continue With Google Outcome user redirected to dashboard | clicks Continue With Google |
Intentional redirect — showing the login page to someone already signed in causes confusion when sharing links. Middleware catches this before the page loads.
user redirected to dashboard
HP-3 signed-out user Action opens a dashboard page directly Outcome redirected to login, returned after sign-in | opens a dashboard page directly | redirected to login, returned after sign-in |
EC-1 already signed-in user Action navigates to the login page Outcome redirected to dashboard without seeing the login form | navigates to the login page | redirected to dashboard without seeing the login form |
EC-2 signed-in user with a pending invitation Action navigates to the login page Outcome redirected to invitation acceptance page instead of dashboard | navigates to the login page | redirected to invitation acceptance page instead of dashboard |
EC-3 unverified user on the login page Action submits valid credentials Outcome sign-in rejected, prompted to verify email first | submits valid credentials | sign-in rejected, prompted to verify email first |
ER-1 user on the login page Action submits incorrect password Outcome error message shown, does not reveal whether the email exists | submits incorrect password | error message shown, does not reveal whether the email exists |
ER-2 user on the login page Action submits too many failed attempts within one minute Outcome further attempts blocked temporarily, error message shown | submits too many failed attempts within one minute | further attempts blocked temporarily, error message shown |