Objective
What to automate
Search for a synthetic employee, then use directory pagination and verify the page label changes predictably.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-EMP-001.
Test data
search: Ashapage size: 10
Expected result
The search result is visible and the directory reports a stable page number and total.
Progressive hints
Hint 1
Search with the labelled field and submit the filter form.
Hint 2
Read the accessible page label before selecting Next page.
Hint 3
Assert visible rows instead of relying on a specific array index.
I’ve tried it — show solution
- Search with the labelled field and submit the filter form.
- Read the accessible page label before selecting Next page.
- Assert visible rows instead of relying on a specific array index.
The deliberately failing starter is in tests/employee-management.spec.ts inside the TypeScript starter ZIP.