Skip to content

This is a POC of test automation for creating E2E test automation framework using Cypress and TypeScript

Notifications You must be signed in to change notification settings

shishurajpandey/EndToEnd-Cypress-Based-Automation-Framework

Repository files navigation

Introduction

This demo project is created to run E2E tests using Cypress. The project has following feature integrated in it-

  • TypeScript supported
  • Data driven tests
  • Page Object Models (POM) design pattern is used
  • Custom Cypress Commands have been created which can be reused everywhere to avoid the code repeats
  • ESLint integrated- A static code analysis tool.
  • Clean code, easy to read
  • Scalability- Easy to Scale
  • Simplicity- Simple Design
  • GithubAction is integrated

Technologies Used:

  • Cypress
  • TypeScript
  • NodeJs

This test uses a number of open source projects to work properly:

Installation

This requires Node.js v12+ to run.

Install the dependencies and devDependencies.

cd Demo_PowerUs_Cypress
npm i

How to trigger E2E tests

To run all tests just simply type

npm run e2e

Sample Report-

Screenshot 2023-01-31 at 20 13 41

About

This is a POC of test automation for creating E2E test automation framework using Cypress and TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published