Run the following command:
sh run_Test.sh
Whats pending:
-
PARALLEL execution in cucumber
-
STRATEGY pattern for different viewports and mobile
-
VIEW PORT - simplify build.gradle
-
MULTIPLE PAGE FILES - Dig further
What does ./run_test.sh and do?
-
Use docker-compose to bring up selenoid and selenoid UI, you can access the selenoid-ui with the below URL
http://localhost:8081/
-
Make sure you pull the docker images for the browser images mentioned in the browsers.json and configure according to the requirements To quickly do this install jq (brew install jq) Run the command
cat /path/to/browsers.json | jq -r '..|.image?|strings' | xargs -I{} docker pull {}
-
All the videos recorded are saved in /video in the PWD (Videos are saved with the session id)
-
If you are changing or updating browsers.json, restart docker image for selenoid, otherwise you docker would not recognise the environment
-
Pull the video recording image :
docker pull selenoid/video-recorder:latest