Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/siddik-1997/web-automation-on-swag-labs-with-cypress

This repo contains code for web automation using Cypress for appointment scheduling on a Katalon demo site. Included are pre-configured Cypress settings, test fixtures, and sample tests. The repository also includes video recordings and test reports for easy viewing of test results.
https://github.com/siddik-1997/web-automation-on-swag-labs-with-cypress

cypress javascript mochawesome-report visual-studio-code webautomation

Last synced: 1 day ago
JSON representation

This repo contains code for web automation using Cypress for appointment scheduling on a Katalon demo site. Included are pre-configured Cypress settings, test fixtures, and sample tests. The repository also includes video recordings and test reports for easy viewing of test results.

Awesome Lists containing this project

README

        

# Web-Automation-on-Swag-Labs-with-Cypress

We use Cypress for web automation because it is a powerful and modern JavaScript-based testing framework that allows for fast and reliable testing of web applications. Cypress provides a simple and intuitive API for writing tests and comes with built-in tools for debugging and writing assertions. It also has features such as time-traveling debugger, automatic retries, and real-time reloads that make the process of writing and debugging tests easier and more efficient. Additionally, Cypress provides excellent documentation and a supportive community, making it easier to get started and troubleshoot any issues that may arise.

## Technology Used:

- Cypress
- Java Script
- Visual Studio Code
- Mochawesome

## How to run this project:

- Clone this project
- hit the following command: ```npx cypress open``` or ```npx cypress run```
- for Mochawesome Report: ```npm i cypress-mochawesome-reporter```

## Project Scenerio:

Visit - https://www.saucedemo.com/
- Login for valid and Invalid credentials
- View Product
- Add to Cart
- Do checkout
- Insert user information
- Complete purchase or Cancel purchase

## Mochawesome Report:

![Screenshot (60)](https://user-images.githubusercontent.com/123433625/229303069-878cfb0c-b22e-4a5e-8c57-8183704225cb.png)

## Video Output:

https://user-images.githubusercontent.com/123433625/229303104-4a3ba92e-eb3c-47d9-a326-2a817ab1dc7b.mp4

https://user-images.githubusercontent.com/123433625/229303112-87679e61-d7ab-43df-a168-1047fcbb125c.mp4