- Download and install Node.js
- Download and install Git
- Download and install Visual Studio Code or any other JS GUI
- Install Yarn globally
npm install -g yarn
- Clone repository
git clone [email protected]:expresspigeon/qa_e2e_test.git
- Go to
qa_e2e_test
folder install all dependenciesyarn install
- Create screenshots folder
mkdir screenshots
- Download latest version of Chrome Driver
Every test are located in test/specs/
folder. Each ExpressPigeon tab have separate folder (Templates, Contacts etc.). Folder elements
have only test cases for check displayed elements.
Before test execute Chrome Driver ./chromedriver --port=4444
in chrome drivers path.
- Execute all test:
yarn test
- Execute test for one tab:
yarn test --spec ./test/specs/contacts/
- Execute test from one file:
yarn test --spec ./test/specs/contacts/lists.js
After each failed test screenshot is saved in /screenshots
Allure report is generated manually
- Generate report
yarn reportGenerate
- Open report
allure open