The structure is based on two layers: steps and pages.
- Steps: Contains all the steps implementations;
- Pages: Contains all the pages in the website. A page must contain the declaration of all the elements of the page and the declaration of its actions;
- Helpers: Contains all the helpers functions and variables for project.
- Node.js LTS (10.15.1)
- Chromedriver
- Geckodriver
Install it as:
$ npm install
Too run tests in terminal (for chrome browser), type:
$ npm updatewd
$ npm startwd
and
$ npm test
- To see reports, open reports/htmlReport.html