Objective
What to automate
Assert that v1 is Approved with 5 / 5 owned checks and documents the purple baseline.
Preconditions and test data
Preconditions
- Use a fresh isolated Practice Lab browser context.
- Open the fixture identified by FX-VIS-001.
Test data
state: Approvedchecks: 5 / 5
Expected result
The v1 release summary and documented difference contract match the approved baseline.
Progressive hints
Hint 1
Scope the assertion to the labelled Release summary.
Hint 2
Check the version-specific count before a screenshot assertion.
Hint 3
Read the documented difference list instead of inferring a color-only change.
I’ve tried it — show solution
- Scope the assertion to the labelled Release summary.
- Check the version-specific count before a screenshot assertion.
- Read the documented difference list instead of inferring a color-only change.
The deliberately failing starter is in tests/visual-testing.spec.ts inside the TypeScript starter ZIP.