Skip to content

Ashishjublsdet/Cypress-Page-Object-Framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress-Page-Object-Framework

Cypress page object model automation framework using cypress, Javascript.

Installing Cypress

Install Cypress via npm:

cd /your/project/path
npm install cypress --save-dev

**Installing Cypress Xpath **

cd /your/project/path
npm install -D cypress-xpath

After Installing add below line in support/index.js file

require('cypress-xpath')

Steps to Setup

1. Clone the application

git clone https://github.com/Ashishjublsdet/Cypress-Page-Object-Framework.git 

2.Go to project Directory

cd Cypress-Page-Object-Framework

**3.Run **

npm run test

**Configure test in Cypress **

Add below line in Cypress.json and you can change you test location 

{"integrationFolder":"cypress/Tests"}

Project Structure

Package & Classes Details

Pages : In this package all the pages of application is present.

HomePage

Tests : In this package all the TestCases is present.

TestCase

Integrated Mocha Framework for Reporting

About

Cypress page object automation framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published