-
Notifications
You must be signed in to change notification settings - Fork 19
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
Unable to save HAR file when a CypressError
is raised during the test
#105
Comments
CypressError
is raised during the testCypressError
is raised during the test
@gavinhenderson unfortunately, there is no quick fix. Cypress uses |
Hey @derevnjuk thanks for the reply and explanation. I had assumed that |
@gavinhenderson I'll keep the issue open to verify it while working on issue #59. Currently, converted to a feature request. |
Question: When I have an error, the ScreenShot is done and I can trap that event
|
This spec DOES NOT generate a
har
file when run.I would expect the above spec to fail because it will get an
ENOTFOUND
error, however I would still like a HAR file in this case.If you tweak it to this then it does generate a HAR file.
If you make the version pointing to a valid website fail in a different way then it will still generate a HAR file. For example, this fails but will still give you a HAR.
Ideally, I would like all three to still generate a HAR file to allow me to debug what is causing the CypressError.
The text was updated successfully, but these errors were encountered: