cypress-allure-plugin
cypress-allure-plugin copied to clipboard
Failed beforeEach hook missing attached request logs
Describe the bug Failed beforeEach hook missing attached request logs
To Reproduce Steps to reproduce the behavior:
- Use beforeEach hook with some http request
- make it fail
Expected behavior Request info is attached to report
Environment (please complete the following information):
- Cypress version: ^7.4.0
- OS: Mac
Additional context Request is failing with server error.
Slight Correction to the steps:
- Add before hook in
cypress/support/index.jswith some HTTP request - Add beforeEach hook with some HTTP request in
*.spec.ts - Make beforeEach hook fail.
Actual Result:
- Report shows Request/Response info of requests from before hook
- It does not display data from beforeEach hook when failed
Expected Result:
- Request/Response info of beforeEach hook should be displayed in the report.
Fix published in v2.30.0. Now attachments should be handled properly. Please reopen in case you can still reproduce it.