Skip to content
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

Is it possible to remove the separator when generating the file name? #198

Closed
OldBody opened this issue Aug 4, 2021 · 1 comment
Closed

Comments

@OldBody
Copy link

OldBody commented Aug 4, 2021

Hi.
In my case, the test goes in two stages - the first collection of actual snapshots of pages. The second is to compare them with pages from the test environment.
The problem is that cypress.json has a parameter to rerun the test if

"retries" fails: {
    "runMode": 2}

In my case, during the first stage of testing, the files are named filename # 0.png, but problems are observed in the second stage. If there are differences, then cypress restarts the test and the file name becomes filename # 1.png and for the plugin it becomes the reference thus the test is considered successful, although it is not.

@edimitchel
Copy link

Should be fixed by #169

@OldBody OldBody closed this as completed Aug 5, 2021
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

No branches or pull requests

2 participants