In this repo I try to run tests using wdio v5 as test framework and AVA as test runner in two options:
- Locally
- Using Selenoid (it should run each browser in container)
- Run locally. Just type:
npm run test
. It will:
- make cleanup
dist
folder - up
chromedriver
(in future it could be obsolete, so I will replace it with new one) - run
ava
withoptions
for local running
- Run using Selenoid. You need once run
npm run cm:install
. And after it just runnpm run avaselenoid
. It will:
- make clean up
- download and configure
Selenoid
- run
ava
withoptions
for running withSelenoid
Note: specify total number of parallel sessions by -limit flag in selenoid:start
npm script