Skip to content

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.

Notifications You must be signed in to change notification settings

Siddik-1997/Web-Automation-on-Swag-Labs-with-Cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Video Output:

LoginTest.cy.js.mp4
AddToCartTest.cy.js.mp4

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published