All what you need to start E2E testing in JavaScript.
- install Node.js and npm
- download this repo and go with commands:
- run
npm install
in command line - run
npm install -g allure-commandline
in command line
- run
npm test
in command line to execute all tests - run npm test -- --spec .\specs\home.spec.js in command line to execute index.html tests
- run npm test -- --spec .\specs\loginAndRegister.spec.js in command line to execute Login and Register modals tests and properly register a new client
- run
npm run report
to see general tests report in browser - to remove old tests from general report delete
reports
directory
- Install webdriverio globally
- Install mocha globally
- Use ./specs folder as a directory where you'll save your tests