Basically, this is used for e2e tests.
This e2e test is done using CodeceptJS https://codecept.io/
e2e test uses a number of open source projects to work properly:
- https://nodejs.org/en/ - evented I/O for the backend
- https://codecept.io/ - CodeceptJS
- https://www.npmjs.com/package/webdriver-manager - A selenium server and browser driver manager for your end to end tests.
e2e test requires Node.js v4+ to run.
Install the dependencies and devDependencies.
$ cd amazon-ui-tests
$ npm install -d
This is using WebDriverIO helper which wraps webdriverio library to manipulate browser, hence Selenium WebDriver needs to be called
$ webdriver-manager update
$ webdriver start
To run all e2e tests just simply type
$ yarn start