-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
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
Snapshots during retries cause errors #13
Comments
@JackCA I think you should consider creating a separate visual testing profile with retries disabled. I've been doing visual testing for 3 years and now create multiple e2e profiles: one for CI and one for Visual Tests |
Definitely agree with you there -- I'm doing my best to prevent even needing retries. However, I still think this would be a valuable feature and think the opportunity is there because of the upstream changes made to core. |
Hey @JackCA! Going to close this out since the CLI ticket you linked to is the right place to track it. We'll be shipping retry support after 1.x in early 2022. |
great, thanks @Robdel12 |
The problem
playwright supports retries but when a snapshot is taken in a retry, we get an error:
Environment
@percy/cli
version: 1.0.0-beta.70Details
It looks like there is work that was merged into core related to this but I don't think the sdk supports using this functionality?
Other related discussions:
Code to reproduce issue
in playwright.config add
retries: 2
in a test.spec.ts:
The text was updated successfully, but these errors were encountered: