Closed nair-sumesh closed 2 years ago
Hi,
don't forget Chrome headless is not 100% same as Chrome.
Currently I am investigating the setup possibilities of wdi5/ wdio with docker. Maybe you can find some help here: https://github.com/js-soft/wdi5/tree/feature/docker (WIP).
Can you provide your docker setup. In best case a minimal working example?
Thx
I am using https://www.project-piper.io/steps/dockerExecuteOnKubernetes/. I don't think its a Chrome headless, atleast I did not set it in the conf file. Also, is it possible to take screenshot with headless chrome.
For recipe, let me know what exactly are you looking for. I can help you with that.
Also when executed in non Docker Jenkins job or on local PC the test works perfectly.
UPDATE: For smaller test the test runs in docker successfully. For longer test the test fails with above mentioned error message. For longer test the test passes in a non non docker environment.
hey 👋 - silence for 30 days 🤐 ... anybody? 😀
Hi,
When executing the spec locally on my machine , the test executed with 100% success. However, when the same spec is executed in a Docker container it ends with the below result.
I am not an expert at docker. However, I believe a test working in one machine should work same way in the Docker.
Some observations :
I execute twice or thrice all every time its the same result
The screenshots taken by timeline-reporter is capturing the failing step however the image is corrupted.
Other step's screenshot images are well captured.