Funciontal tests for Avenue Code Engineer Test
App (link)
email: caio.majdalani@gmail.com password: teste1234
The structure is based on three layers: features, steps and pages.
- Features: Contains all the features of the project;
- 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.
- Node.js LTS (6.11)
- Chromedriver
Install it as:
$ npm install
$ npm install -g protractor
Too run tests in terminal, type:
npm tests
or
protractor protractor.conf.js
To gerenate reports:
npm report
or
./node_modules/.bin/allure generate ./allure-results -o ./reports
To clean reports:
rm -rf allure-results/
- To see reports, open reports/index.html on firefox