Combine API setup with UI tests
Hard120 pts
- Hybrid Testing
- API + UI
- Test Architecture
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
Establish an authenticated session and navigate to the application to verify dashboard access and welcome message.
Your Task
- 1Authenticate the session using test credentials ('qa@target.dev' / 'Test@123') or session cookies.
- 2Navigate to the application dashboard.
- 3Assert that the dashboard container #dashboard is visible.
- 4Assert that #welcome-message contains 'Welcome back, QA Tester'.
Validation Checks
- Navigates to application
- Verifies dashboard is visible
- At least 1 assertion passes
Fixtures
- username
- qa@target.dev
- password
- Test@123
Playwright · Playwright Practice Track · API testing with Playwright