Skip to content

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

@OldBody

Description

@OldBody

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions