Debug failed e2e jobs from Travis CI
Closed this issue · 1 comments
-
issue occurs when multiply browsers are enabled (Chrome, Firefox, Nightmare)
https://travis-ci.org/AdTechMedia/adtechmedia-website/builds/268070471 -
issue occurs for scrips dependent by screen resolution
https://travis-ci.org/AdTechMedia/adtechmedia-website/builds/268040070?utm_source=github_status&utm_medium=notification
There are two use cases with failed e2e jobs in Travis CI:
- Use case 1:
The following functions (native from TestCafe framework) are not working in Travis CI:
resizeWindow | maximizeWindow | resizeWindowToFitDevice
As a result this occurs errors with viewport for scripts dependent by screen resolution.
Please refer to the following Travis jobs for more details:
https://travis-ci.org/AdTechMedia/adtechmedia-website/builds/267995169?utm_source=github_status
https://travis-ci.org/AdTechMedia/adtechmedia-website/builds/268040070?utm_source=github_status&utm_medium=notification
I have logged the issue to TestCafe team and pending updates
DevExpress/testcafe#1730
- Use Case 2:
There is an error with browsers disconnection when running job with multiply browsers enabled (Chrome, Firefox, Nightmare)
I have monitored memory usage during test execution and this is not the root cause, so I have logged the issue to TestCafe team and pending the fix
DevExpress/testcafe#1684
P.S.
just for information some cool article on Troubleshooting failed tests in CI
https://marmelab.com/blog/2017/04/13/toubleshooting-ci-fails.html