Skip to content
New issue

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

With cypress-plugin-retries: TypeError: Cannot read property 'duration' of undefined #152

Open
mccataldo opened this issue Jun 27, 2019 · 1 comment

Comments

@mccataldo
Copy link

mccataldo commented Jun 27, 2019

With cypress-plugin-retries installed, cy.screenshot yields the error,

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

@mccataldo
Copy link
Author

It appears takeScreenshot (Cypress runner) isn't returning props which is the undefined value that the error is referring to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant