Skip to content

Cypress e2e framework based on page object model with reporting and visual testing

License

Notifications You must be signed in to change notification settings

soammohanty/cypress-e2e-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress-e2e-testing-framework

Cypress e2e testing framework based on page object model with reporting and visual testing

Build Status

Cypress is a next generation end to end testing tool built for the modern web.

Cypress is most often compared to Selenium; however Cypress is both fundamentally and architecturally different. Cypress is not constrained by the same restrictions as Selenium.

This enables you to write faster, easier and more reliable tests.

Major advantages

  • One doesn’t need to add explicit or implicit wait commands in test scripts, unlike Selenium. Cypress waits automatically for commands and assertions.
  • As the programmer writes commands, Cypress executes them in real-time, providing visual feedback as they run.
  • The automatic scrolling operation ensures that an element is in view before performing any action
  • Developers or QAs can use Spies, Stubs, and Clocks to verify and control the behavior of server responses, functions, or timers.
  • Screeshots with videos
  • No flaky, inconsistent tests anymore.....✨Magic ✨

Current Trend

npm trend

Realtime execution with visual feedback

Preview 0

Support all relevent browsers

Preview 1

Preview video

Reporting

Using mochawesome npm module for reporting

Visual Regression Testing

Image compare To Set the base folder for visual comparison:

npm run e2e-tests-base
Scripts
npm install

To run entire suite on chrome browser

npm run e2e-tests

To run on otherbrowser create/change the script in package.json --browser-name

License

MIT Free Software, Hell Yeah!

About

Cypress e2e framework based on page object model with reporting and visual testing

Topics

Resources

License

Stars

Watchers

Forks