For the project to work, this is the requirements:
- Node
^10.16.3 - Npm
^6.9.0
a. For development
To install all the dependencies for development.
npm installb. For integration testing
cd webdriverio-test/
npm install Besides, allure might needed for report rendering
npm install allure-commandline -gTo start the development session, run
npm run dev1. Run test
cd webdriverio-test
npm run test 2. To export into html
npm run report3. To serve the report
Use anything to serve it, an easy way is to install the serve package.
npm install serve -g
serve -S allure-report