Login Flow
easyThe canonical first e2e test: log in, assert the session, log out.
Valid credentials:
[email protected] / SuperSecret123! โ the account [email protected] is locked out (any password).Sign in
The classic first end-to-end test: log in, assert the session, log out.
Not signed in.
0 attempts, 0 failed
What to assert
The secure area is conditional rendering โ while logged out it simply does not exist in the DOM. A good negative test asserts that welcome-banner is absent before login, not merely invisible. The session lives in sessionStorage under the key pg-auth: reloading this tab keeps you logged in, but a fresh tab starts logged out.