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
After upgrading to Cypress 12.9.0 and node 16.16.0 allure reports are not attaching screenshots for failed tests automatically
Pre-requisites - shelex/cypress-allure-plugin is configured as per latest Cypress documentation allure-commandline is installed on machine
Steps to reproduce issue:
Execute tests in Run mode using command
npx cypress run --env allure=true --browser chrome --headed --spec 'test file path'
Fail one or 2 tests intentionally
Navigate to results folder after execution is finished, and verify that screenshots are saved inside 'screenshots' folder (This is happening properly for me as well)
allure-results folder is also created inside parent project folder
Navigate to results/allure-report folder and open index.html. In failed tests no screenshots attached
(Expected behaviour - To have failed tests screenshots attached in the report)
results/allure-report/attachment folder seems to be empty (Which was not the case with earlier version which i was using)
Note: I have not used or added any additional env variables which affect allure reports within cypress configuration file
And also seeing that if I try to change or modify path for allure results folder using env allureResultsPath within Cypress.config.json file, it is always defaulting to allure-results folder
Can someone please look into this issue, or provide suggestions to resolve this.
Browser
No response
Device
PC
Mac
iPhone
iPad
Android Phone
Android Tablet
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Description
When Cypress tests fail, I expect allure reports to have failed screenshot automatically attahed
URL of Issue(s)
N/A
Steps to replicate
List of dependencies and versions used on Microsoft Windows 10 machine:
Node: 16.16.0
After upgrading to Cypress 12.9.0 and node 16.16.0 allure reports are not attaching screenshots for failed tests automatically
Pre-requisites -
shelex/cypress-allure-plugin
is configured as per latest Cypress documentationallure-commandline
is installed on machineSteps to reproduce issue:
npx cypress run --env allure=true --browser chrome --headed --spec 'test file path'
allure generate allure-results --clean -o results/allure-report
(Expected behaviour - To have failed tests screenshots attached in the report)
Note: I have not used or added any additional env variables which affect allure reports within cypress configuration file
And also seeing that if I try to change or modify path for allure results folder using env allureResultsPath within Cypress.config.json file, it is always defaulting to allure-results folder
Can someone please look into this issue, or provide suggestions to resolve this.
Browser
No response
Device
Additional Information
No response
The text was updated successfully, but these errors were encountered: