Objective
What to automate
Log in as standard_user and verify the Account dashboard heading and signed-in identity.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-AUTH-001.
Test data
standard_userPractice@123
Expected result
The Account dashboard heading is visible and the identity reads Signed in as Standard User (standard_user).
Progressive hints
Hint 1
Use getByLabel for the username and password fields.
Hint 2
Submit with the Sign in to Practice button.
Hint 3
Assert the heading before checking the signed-in-user test id.
I’ve tried it — show solution
- Use getByLabel for the username and password fields.
- Submit with the Sign in to Practice button.
- Assert the heading before checking the signed-in-user test id.