We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cypress-plugin-retries
With cypress-plugin-retries installed, cy.screenshot yields the error,
cy.screenshot
TypeError: Cannot read property 'duration' of undefined
I can avoid the failure by disabling cypress-plugin-retries or removing the invocation of cy.screenshot from onFailed
onFailed
The text was updated successfully, but these errors were encountered:
this
It appears takeScreenshot (Cypress runner) isn't returning props which is the undefined value that the error is referring to.
takeScreenshot
props
Sorry, something went wrong.
No branches or pull requests
With
cypress-plugin-retries
installed,cy.screenshot
yields the error,I can avoid the failure by disabling
cypress-plugin-retries
or removing the invocation ofcy.screenshot
fromonFailed
The text was updated successfully, but these errors were encountered: