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')
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"}
HomePage
TestCase
Integrated Mocha Framework for Reporting