Fill and submit a login form
Medium70 pts~25 min
- Forms
- Authentication
Practice app · Acme Ops
A sign-in page with field validation and an authenticated dashboard.
Your starter code already declares TEST_URL — never hardcode a host.
Objective
Sign in with the fixture account and verify the authenticated dashboard.
Your task
- 1Open TEST_URL.
- 2Type “qa@target.dev” into
#usernameand “Test@123” into#password. - 3Check
#remember-meand click#login-button. - 4Assert the URL ends with “#/dashboard”, the title is “Dashboard | Acme Ops” and
#welcome-messagereads “Welcome back, QA Tester”.
Acceptance criteria
#dashboardis visible- The final URL contains “#/dashboard”
#welcome-messagegreets QA Tester- At least 2 assertions pass
Fixtures
- username
- qa@target.dev
- password
- Test@123
Selenium WebDriver 4 · Selenium · Forms & inputs