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
I am using @simonsmith/cypress-image-snapshot v5.0.5 with Cypress 11.2.0 to test an angular application.
When I use the command:
cy.root().matchImageSnapshot( {blackout: ['.last-synced','.line-2-inner-container'] })
I get the snapshot as below, note the 2 blacked-out areas:
However, if I add a file name to the command:
cy.root().matchImageSnapshot('myCustomFileName', {blackout: ['.last-synced','.line-2-inner-container'] })
I get an image called (correctly) myCustomFileName.snap.png, but which is missing the blacked out areas:
The text was updated successfully, but these errors were encountered:
I am using @simonsmith/cypress-image-snapshot v5.0.5 with Cypress 11.2.0 to test an angular application.
When I use the command:
cy.root().matchImageSnapshot( {blackout: ['.last-synced','.line-2-inner-container'] })
I get the snapshot as below, note the 2 blacked-out areas:
![Clean install initial Visual Tests -- Compare clean Dashboard page snap](https://user-images.githubusercontent.com/119673865/205298282-aeaed9f9-8842-449d-87b0-4e9c7362c79a.png)
However, if I add a file name to the command:
cy.root().matchImageSnapshot('myCustomFileName', {blackout: ['.last-synced','.line-2-inner-container'] })
I get an image called (correctly) myCustomFileName.snap.png, but which is missing the blacked out areas:
![myCustomFileName snap](https://user-images.githubusercontent.com/119673865/205299092-850ab65d-b84f-46a2-a048-20a3d40c937d.png)
The text was updated successfully, but these errors were encountered: