When doing visual regression testing in UI mode, it would be nice if there's a button to update the snapshot.
Workflow would be as follow:
- Run
npx playwright test --ui
- Click Run all
- Find all failing visual regression tests, let's assume there's many that failed.
- Check attachments for each tests.
- If the actual is correct, but doesn't match the expected, then there should be a button to use the actual as the new expected/master screenshot.
When doing visual regression testing in UI mode, it would be nice if there's a button to update the snapshot.
Workflow would be as follow:
npx playwright test --ui