Run simply ./run.sh or alternatively follow these steps in order to run the test.
- Open Docker Desktop
- Run following commands:
- docker pull selenium/standalone-chrome
- docker run -d --name selenium -p 4444:4444 -v --shm-size="2g" selenium/standalone-chrome
- Now the container created for test. You can navigate http://localhost:4444/ui to watch the session.
- Run ./mvnw clean test -DisLocal=false
- After the test is finished run following commands:
- docker stop selenium
- docker rm selenium
Tip: Can run locally with ./mvnw clean test without docker.