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
When we run all specs in the Cypress GUI using the button "Run 2 integration spes", then the snapshots will be written to the directory "cypress/reports/All Integration Specs". When we run A.feature in isolation, then a new snapshot will be written to "cypress/reports/A.feature".
Is there a way to always use the same snapshot regardless of whether we're running all tests or a single test in isolation? Similar to how snapshot testing works in Jest?
The text was updated successfully, but these errors were encountered:
The screenshot directory reported by Cypress to cypress-image-snapshot (screenshotDir) is used by cypress-image-snapshot internally to compute the final destination of the image snapshot:
Suppose we have 2 feature files:
When we run all specs in the Cypress GUI using the button "Run 2 integration spes", then the snapshots will be written to the directory "cypress/reports/All Integration Specs". When we run A.feature in isolation, then a new snapshot will be written to "cypress/reports/A.feature".
Is there a way to always use the same snapshot regardless of whether we're running all tests or a single test in isolation? Similar to how snapshot testing works in Jest?
The text was updated successfully, but these errors were encountered: