We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.47.2 (tested to be present since 1.43.0)
yarn
yarn test
yarn test:ui
When Playwright is run with --ignore-snapshots flag, expect(locator).toHaveScreenshot() is always ignored, as described in the docs.
--ignore-snapshots
expect(locator).toHaveScreenshot()
Test fails on snapshot comparison when --ignore-snapshots flag is used together with --ui flag.
--ui
No response
System: OS: macOS 14.5 CPU: (10) arm64 Apple M1 Pro Memory: 206.69 MB / 32.00 GB Binaries: Node: 18.19.1 - ~/.nvm/versions/node/v18.19.1/bin/node Yarn: 1.22.18 - /opt/homebrew/bin/yarn npm: 7.24.2 - /opt/homebrew/bin/npm Languages: Bash: 3.2.57 - /bin/bash npmPackages: @playwright/test: 1.47.2 => 1.47.2
The text was updated successfully, but these errors were encountered:
Thanks for reporting, can reproduce. I'll write a fix.
Sorry, something went wrong.
This is fixed in the upcoming 1.48 release that's gonna be cut very soon.
Thank you very much for a blazing fast reaction 🤟
chore(ui): ensure that --ignore-snapshots is respected (#32875)
c67a733
Closes #32868. The actual fix was already delivered in https://github.com/microsoft/playwright/pull/32798/files#diff-98ff2ff92b08ca7e8b274abb3ba6b2eec9bab332e340d062cc18ad1dfe505bf2R299, this PR adds a test to ensure we don't regress.
Successfully merging a pull request may close this issue.
Version
1.47.2 (tested to be present since 1.43.0)
Steps to reproduce
yarn
yarn test
yarn test:ui
Expected behavior
When Playwright is run with
--ignore-snapshots
flag,expect(locator).toHaveScreenshot()
is always ignored, as described in the docs.Actual behavior
Test fails on snapshot comparison when
--ignore-snapshots
flag is used together with--ui
flag.Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: