Use the original image on retry #162
-
I've noticed that when test is retried, I get a new image for each retry. Is it possible to use the same image for comparing? For example, this test: let retries = 0
it('retry', () => {
cy.get('article').matchImage({
title: 'custom',
}).then(() => {
retries++
if (retries < 3) {
throw new Error('error')
}
})
}) creates a new screenshot for each retry, when I already have screenshot in folder. // cypress.config.ts
export default {
retries: {
runMode: 5,
openMode: 0,
}
} |
Beta Was this translation helpful? Give feedback.
Answered by
FRSgit
Oct 28, 2022
Replies: 1 comment
-
Hey @sheremet-va, I believe this issue should be fixed in new release: 3.0.2 - please give it a try! |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
FRSgit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @sheremet-va, I believe this issue should be fixed in new release: 3.0.2 - please give it a try!