Closed jk4235 closed 2 years ago
I lock version to 2.2.1 for now
I just ran one the of examples and I removed all cy.screenshot()
, meaning only failed screenshots were taken.
All worked as expected
If you still have that issue please provide a repo with a way to reproduce this issue
Thanks, I found the reason. My team member write a plugin that overwrite the onAfterScreenshot
function, so the reporter doesn't work
I fix that problem.
Thanks!
Environment
What happened?
I found
onAfterScreenshot
only work after a non-failure screenshot is takenso on v2.3.0, the reporter will not handle the screenshot which is taken by Cypress automatically when there is a failure
the function
saveScreenshotReference
will not runConfig file
Relevant log output
No response
Anything else?
No response