-
Notifications
You must be signed in to change notification settings - Fork 41
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
Screenshots are crashing testcafe #53
Comments
As I see, your environment is very complex: Jenkins, docker, SauceLabs, a custom Allure report. |
I can confirm this issue when I run a test via When I run the same test locally against testcafe: 1.6.0 |
After investigation the problem is related to a non-existing folder being part of the e.g.
|
We made sure to create the folder screenshots where screenshots are stored , but even when making the folders respectively we still get this error. |
I was able to reproduce the issue with the following command: |
fixed in the context of DevExpress/testcafe#4477 |
What is your Test Scenario?
When using the screenshot option running on a jenkins pipeline with saucelabs provider the following occurs.
When a test fails the following message is displayed multiple times and the test finally crashes. Testcafe exits with an error.
Error: [saveScreenshot("/OURJENKINSDOCKERDIR/screenshots/2019-10-22_17-03-12/test-1/Chrome_75.0.3770_Windows_10.0.0/errors/1.png")] ENOENT: no such file or directory, open '/OURJENKINSDOCKERDIR/screenshots/2019-10-22_17-03-12/test-1/Chrome_75.0.3770_Windows_10.0.0/errors/1.png'
This started happening without any change to our running instance and everything worked fine before. It even included the screenshot it took on our allure report.
Your Environment details:
The text was updated successfully, but these errors were encountered: