cypress-failed-log
cypress-failed-log copied to clipboard
With `cypress-plugin-retries`: TypeError: Cannot read property 'duration' of undefined
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
It appears takeScreenshot (Cypress runner) isn't returning props which is the undefined value that the error is referring to.