Objective
What to automate
Edit an existing employee, change the role and status, and verify the same row displays both values.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-EMP-001.
Test data
role: Senior QA Engineerstatus: Inactive
Expected result
The edited session-only record shows the new role and Inactive state after save.
Progressive hints
Hint 1
Choose Edit from an existing directory row.
Hint 2
Fill the labelled Role field and clear Active employee.
Hint 3
Save, then assert the changed cells in the matching row.
I’ve tried it — show solution
- Choose Edit from an existing directory row.
- Fill the labelled Role field and clear Active employee.
- Save, then assert the changed cells in the matching row.
The deliberately failing starter is in tests/employee-management.spec.ts inside the TypeScript starter ZIP.