cypress-failed-log
cypress-failed-log copied to clipboard
cypress-failed-log plugin - does not generate the log folder and also the json log file
cypress-failed-log plugin - does not generate the log folder and also the json log file. Could see it helps to see the log on terminal as well as on browser for debugging. But do not see the log folder generated
To add a bit more context, I am seeing the same thing. When I do the following, I do not get anything in cypress/logs
...
// cypress.config.ts
export default defineConfig({
e2e: {
...
setupNodeEvents(on) {
require('cypress-failed-log/on')(on);
},
},
});
When I do the following, I do get content in cypress/logs
, but per this package's recommendation, it's not the ideal way...
// cypress/support/e2e.ts
import 'cypress-failed-log';
$ npm view cypress-failed-log version
2.10.0
$ npm view cypress version
10.10.0
$ node -v
v16.17.0