ui5-community / wdi5

official UI5 end-to-end test framework for UI5 web-apps. wdi5 = Webdriver.IO + UI5 Test API
https://ui5-community.github.io/wdi5/
Apache License 2.0
102 stars 43 forks source link

In Docker , test fails with an error #137

Closed nair-sumesh closed 2 years ago

nair-sumesh commented 2 years ago

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.

image

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 :

dominikfeininger commented 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

nair-sumesh commented 2 years ago

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.

nair-sumesh commented 2 years ago

Also when executed in non Docker Jenkins job or on local PC the test works perfectly.

nair-sumesh commented 2 years ago

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.

github-actions[bot] commented 2 years ago

hey 👋 - silence for 30 days 🤐 ... anybody? 😀