This repository is a demonstration of selenium test failures with
- chromium / chromedriver 128
- specifying
--headless=new
- in a docker container
- clone the repository to a machine with docker
- navigate to the project root directory
- run
docker build -t <image-name> .
- run
docker run <image-name> "/root/gradlew -i test"
- Wait. The failure is due to a timeout, took a bit less than 5 minutes when I stopped the time
Note that the project has 2 tests
- One test with
--headless=new
and which fails and is very prominent in the docker logs - One test with
--headless=old
which runs successfully and is easy to miss in the logs