Running tests in docker container? Needs some special configuration?

Get help with testing, discuss unit testing strategies etc.


User avatar
klodoma
Posts: 57
Joined: Thu Oct 01, 2015 11:55 am

Re: Running tests in docker container? Needs some special configuration?

Post by klodoma »

nickolay wrote:
Thu Mar 26, 2020 10:08 am
Ok, good to know. And Puppeteer works fine?
Puppeteer downloads chrome 78 - and seems to works fine. I had to pass

Code: Select all

--browser-arg no-sandbox
as parameter, cause in docker container it runs as root. Without this chrome fails to run.

Webdriver requires chrome >= 79, I tried with 79, 80 builds and the result is the same. It fails. The strange thing is that if fails ONLY in the docker container. The one difference I have now between the host and docker setup is that the host has an X interface and the docker doesn't. If I find the time, I'll try to run it on a pure server setup.

Post Reply