Open M-Burzynski opened 2 months ago
Facing the same error. Please let know how to resolve
When using the allure-cypress integrating with the other plugins, the tests doesn't execute at all. Did try to install cypress-on-fix
Facing similar issue with version
allure-cypress Version ,"^3.0.5" and "^3.0.6"
Cypress version [13.13]
Browser [chrome]
OS: [Mac]
Describe the bug When using the
allure-cypress
with thecypress-plugin-snapshots
for visual regression tests, when a test fails on a screenshot comparison, then the after hook fails with an error:As
cypress-plugin-snapshots
stores visual regresion screenshots inside a foldere2e/spec_name
but theallure-cypress
plugin tries to copy all the screenshots taken during test run and assumes they all are saved insidescreenshots
folder, so it tries to copy screenshots from the path which is not correct. Is there any way to configure which screenshots should be copied and which not? Or any other way to avoid this problem and ignore the fail in after hook? Currently the whole tests suite stops when this error occurs.To Reproduce Steps to reproduce the behavior:
cypress-plugin-snapshots
andallure-cypress
plugin in the repositoryExpected behavior
allure-cypress
plugin shouldn't try to copy attatchments from non existing paths or it should be possible to configure which attatchments should be copied to the report. ScreenshotsDesktop (please complete the following information):