Skip to content

Step into the world of Cypress test scripts by becoming a part of our GitHub repository. This repository contains an ongoing Cypress-based test automation framework written in JavaScript & TypeScript.

Notifications You must be signed in to change notification settings

Malitthh/cypress-automation

Repository files navigation

Cypress-Automation

Description

Step into the world of Cypress test scripts by becoming a part of our GitHub repository. We foster an inclusive and supportive atmosphere, encouraging all levels of expertise to participate and grow together.

altcypress-banner

Table of Contents

  1. Prerequisites
  2. Installation
  3. Running the Tests
  4. Report Generation
  5. Contact

Prerequisites

  1. Node.js
  2. Visual Studio Code
  3. Git Version Control

Refer CONTRIBUTING.md before sending a PR.

Installation

for creating a new project,

  1. Download Node.js
  2. Set "NODE_HOME" env variables
  3. Create Cypress working folder
  4. Generate package.json
  5. Go inside the project folder and do CMD
  6. npm init -y
  7. npm install cypress --save-dev

for this project,

  1. Type npm install on IDE terminal should be enough.

Usefull Commands,

  1. Type npm install cypress --save-dev
  2. Typenpm install cypress --save-dev [email protected]
  3. Typenpm i --save-dev cypress-mochawesome-reporter
  4. Typenpm install -g typescript
  5. Typenpm audit fix --force
  6. Typenpm audit fix --legacy-peer-deps
  7. Typenpm install cypress-multi-reporters --save-dev

Running the Tests

  1. npx cypress open - run test runner
  2. npx cypress run --browser chrome--browser-version 94 - run a specific test with UI with specific browser
  3. npx cypress run --headed--browser chrome--spec "cypress\e2e\UI\TestUI" - run a test suite

Report Generation

Contact

Please log your concern CONTACT.md

Contributors

About

Step into the world of Cypress test scripts by becoming a part of our GitHub repository. This repository contains an ongoing Cypress-based test automation framework written in JavaScript & TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published