Skip to content

expresspigeon/qa_e2e_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E2E Automation test

Prepare local machine

  1. Download and install Node.js
  2. Download and install Git
  3. Download and install Visual Studio Code or any other JS GUI
  4. Install Yarn globally npm install -g yarn

Download and Install

  1. Clone repository git clone [email protected]:expresspigeon/qa_e2e_test.git
  2. Go to qa_e2e_test folder install all dependencies yarn install
  3. Create screenshots folder mkdir screenshots
  4. Download latest version of Chrome Driver

Execute test

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.

  1. Execute all test: yarn test
  2. Execute test for one tab: yarn test --spec ./test/specs/contacts/
  3. Execute test from one file: yarn test --spec ./test/specs/contacts/lists.js

Generate HTML Report

After each failed test screenshot is saved in /screenshots Allure report is generated manually

  1. Generate report yarn reportGenerate
  2. Open report allure open

About

automated tests for EP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published