Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cypress reporter won't send screenshot of a test failure #719

Open
amills86 opened this issue Dec 5, 2024 · 8 comments
Open

Cypress reporter won't send screenshot of a test failure #719

amills86 opened this issue Dec 5, 2024 · 8 comments

Comments

@amills86
Copy link

amills86 commented Dec 5, 2024

Hello, I have noticed an issue when running cypress tests that don't use the decorator qase(1, it("test description" ().... The reporter will show the correct results and create new test cases if they don't exist, but if a test fails it won't attach the screenshot. A screenshot only seems to be attached if you wrap the cypress test with the qase Id. This is happening on the newest version of the reporter 2.2.3

@gibiw
Copy link
Contributor

gibiw commented Dec 6, 2024

@amills86 Hi! Thank you for reaching out. The issue has been fixed in version qase-cypress 2.2.4.

@amills86
Copy link
Author

Hi @gibiw thank you for the quick turnaround, but unfortunately that didn't fix it and now screenshots aren't being attached if you use the id decorator either.

@gibiw
Copy link
Contributor

gibiw commented Dec 11, 2024

@amills86 You can check this test example: https://github.com/qase-tms/qase-javascript/tree/main/examples/cypress. It works for me.

@amills86
Copy link
Author

amills86 commented Jan 3, 2025

Hi @gibiw I still can't get it to work with the example. I am on the 2.2.7 version now and using cypress 13.17.0

@gibiw
Copy link
Contributor

gibiw commented Jan 16, 2025

@amills86 Hi! Sorry for the delayed response. I tried your version of Cypress and couldn’t reproduce the issue. Could you provide a test project where this issue occurs?

@gibiw
Copy link
Contributor

gibiw commented Jan 29, 2025

@amills86 Do you use Windows for running tests?

@amills86
Copy link
Author

amills86 commented Feb 7, 2025

Yes

@gibiw
Copy link
Contributor

gibiw commented Feb 11, 2025

@amills86 try to use the latest version of reporter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants