Wdio setup dockerized chromefirefox innovationtask step 1
git clone [email protected]:powr/powr-wdio-framework.gitnpm installdocker-compose up -d(to start)- to check that everything is installed sucessfully, go to - http://127.0.0.1:4547/grid/console and check that u can see browser nodes as on screenshot: https://files.slack.com/files-pri/T06L46R5X-F015J3LGV4H/image.png
- to run on Chrome:
env=staging ./node_modules/.bin/wdio ./config/desktop/docker_chrome.js
--suite=ST_PB_PF_OFF - to run on Firefox:
env=staging ./node_modules/.bin/wdio ./config/desktop/docker_firefox.js
--suite=ST_PB_PF_OFF docker-compose down(to stop)
Pre-Install Steps: Docker Desktop - https://www.docker.com/get-started
Install VNC Viewer (if u want to see how it works) https://www.realvnc.com/en/connect/download/viewer/macos/ 0.0.0.0:5901 - to view chrome 0.0.0.0:5902 - to view firefox
Issues:
if u see Error forwarding the new session Empty pool of VM for setup Capabilities Message on running autotests, please restart docker instances and try again.
