Skip to content

Cypress example project demonstrating automated UI tests with Page Object Model pattern

Notifications You must be signed in to change notification settings

faizanjaved/cypress-pom-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cypress-pom Framework

An example project demonstrating automated UI tests using JavaScript-based end-to-end testing framework Cypress with Page Object Model pattern.

Application Under Test

We are using EA Employee App as the Application Under Test.

Installation

Install the dependencies and devDependencies to run the test.

  • Clone this repo on your local machine
  • Navigate to project's directory on terminal and run the following commands:
npm install

Execute Tests

Run the following command in Terminal to execute tests in Headless mode:

npm test

Run the following command in Terminal to open Cypress Test Runner:

npm run cypress

Test Report

You can find the Mochawesome report in the following directory of the Project.

\cypress\reports\mochareports

Open 'report.html' file to view the report.

About

Cypress example project demonstrating automated UI tests with Page Object Model pattern

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages