You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Hi, I'm having instances where a .har file isn't generated by a number of my tests (only 1 of them succeeds to produce the expected behaviour).
I have cy.recordHar() at the top of the before hook and cy.saveHar({ waitForIdle: true }) at the bottom of the after hook in the tests and have followed the installation instructions shown in this repos readme.
I'm aware that there is are the following lines shown in the logs:
Description
Hi, I'm having instances where a
.har
file isn't generated by a number of my tests (only 1 of them succeeds to produce the expected behaviour).I have
cy.recordHar()
at the top of thebefore
hook andcy.saveHar({ waitForIdle: true })
at the bottom of theafter
hook in the tests and have followed the installation instructions shown in this repos readme.I'm aware that there is are the following lines shown in the logs:
But the tests display no adverse behaviour whilst running except for the intentional failure I've added for testing this tool.
I'm using Node 14.17.3 and Cypress 12.13.0
Stack trace
An output of execution with
NODE_DEBUG=cypress-har-generator
in the environment:Expected behavior
I would expect a
.har
file to be generated upon test fail.Actual behavior
No
.har
file is generated upon test fail.Many thanks!
Gavin
The text was updated successfully, but these errors were encountered: