Skip to content

docs: document Playwright visual baseline workflow (#993) - #997

Open
minutechreview wants to merge 1 commit into
FlowwStar:mainfrom
minutechreview:docs/playwright-baselines-993
Open

minutechreview wants to merge 1 commit into
FlowwStar:mainfrom
minutechreview:docs/playwright-baselines-993

Conversation

@minutechreview

Copy link
Copy Markdown

Closes #993

  • docs/TESTING.md: new "Visual baselines (screenshot tests)" subsection under Playwright. It says CI doesn't regenerate baselines and skips screenshot assertions (--ignore-snapshots) until baselines are committed. It says when to regenerate them, how to run the Update Playwright Snapshots workflow (Actions → Run workflow, with a branch name), and why baselines made on Windows or macOS shouldn't be committed.
  • CONTRIBUTING.md: in the E2E section, a short note linking to that subsection.

Docs only. Checked against .github/workflows/update-snapshots.yml, .github/workflows/ci.yml and playwright.config.ts.

Signed-off-by: minutechreview <141821420+minutechreview@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document how Playwright visual baselines are generated

1 participant