You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Configure playwright to have 2 or more retries. Then run any tests that use screenshot snapshots. Run playwright using --update-snapshots flag. Notice that the first N-1 runs will have failures even though you have marked to update the snapshots. It will only update and pass the last try.
Describe the bug
I think this PR broke the normal behavior of snapshot updating on the CLI using --update-snapshots. (#9246)
Basically some type of logic to detect the case when the user has explicitly said to update the snapshots and thus we should do that instead of 'none' for all the tries.
The text was updated successfully, but these errors were encountered:
Context:
Reproduction
Configure playwright to have 2 or more retries. Then run any tests that use screenshot snapshots. Run playwright using --update-snapshots flag. Notice that the first N-1 runs will have failures even though you have marked to update the snapshots. It will only update and pass the last try.
Describe the bug
I think this PR broke the normal behavior of snapshot updating on the CLI using --update-snapshots. (#9246)
I think the desired logic is something more like:
Basically some type of logic to detect the case when the user has explicitly said to update the snapshots and thus we should do that instead of 'none' for all the tries.
The text was updated successfully, but these errors were encountered: