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
Hi All,
I'm using the visual tool along with cypress assertions/validations, and I've noticed 2 things:
Please let me know if its an issue or I'm doing something wrong :)
1:
During my test it will execute some actions then assert, then visual-snapshot.
But if the assert failed - it should take a screenshot and store in folder, but when using the visual plugin - it doesnt.
I think its due to deleteScreenshot Task - it just deletes all screenshots instead of its own created one (I could be wrong)
When I disable getCompareSnapshotsPlugin(on, config) the failed cypress screenshots return (but now visual testing wont work).
Outcome with getCompareSnapshotsPlugin:
Outcome without getCompareSnapshotsPlugin:
2:
When setup correctly and loading Cypress open (version 10.4.0), it decides to create a random base image, before anything is executed and I dont know why this is happening - I assume it should only generate base image during test execution.
Setup:
Issue:
point 2 no longer an issue - turns out the image remained in comparison folder. Removing it, no longer generated a new one.
Let me know if more info is needed & thanks in advance
The text was updated successfully, but these errors were encountered:
Hi All,
I'm using the visual tool along with cypress assertions/validations, and I've noticed 2 things:
Please let me know if its an issue or I'm doing something wrong :)
1:
During my test it will execute some actions then assert, then visual-snapshot.
But if the assert failed - it should take a screenshot and store in folder, but when using the visual plugin - it doesnt.
I think its due to deleteScreenshot Task - it just deletes all screenshots instead of its own created one (I could be wrong)
When I disable
getCompareSnapshotsPlugin(on, config)
the failed cypress screenshots return (but now visual testing wont work).Outcome with getCompareSnapshotsPlugin:
Outcome without getCompareSnapshotsPlugin:
2:When setup correctly and loading Cypress open (version 10.4.0), it decides to create a random base image, before anything is executed and I dont know why this is happening - I assume it should only generate base image during test execution.
Setup:
Issue:point 2 no longer an issue - turns out the image remained in comparison folder. Removing it, no longer generated a new one.
Let me know if more info is needed & thanks in advance
The text was updated successfully, but these errors were encountered: