Skip to content

Shafin960/Assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Cypress Automation Project πŸš€

This repository contains automated end-to-end tests for Automation Exercise using Cypress. The tests cover:

βœ… User Signup & Login
βœ… Product Selection & Checkout
βœ… Payment Processing
βœ… Contact Us Form Submission

πŸ“Œ Prerequisites

Before running the tests, ensure you have the following installed:

πŸ“₯ Installation

Clone the repository and run cypress:

git clone https://github.com/Shafin960/Assignment.git
npx cypress open

πŸ“ Test Execution

Once you have installed Cypress and opened it using the npx cypress open command, the Cypress Test Runner will launch. From here, you can choose to run tests in either of the following modes:

1. Interactive Mode In the Test Runner, you will see a list of test files. You can click on any of the test files to run them interactively. Cypress will execute the tests, and you will see the test execution progress in the browser.

2. Headless Mode For running tests in a CI/CD pipeline or without the GUI, you can use the following command to run all tests in headless mode:

npx cypress run

πŸ§ͺ Test Scenarios Covered

The automated tests currently cover the following critical workflows:

User Signup & Login:
Automates the process of signing up new users and logging into existing accounts.

Product Selection & Checkout:
Tests the product selection, adding to the cart, and completing the checkout process.

Payment Processing:
Simulates the payment process and validates that the payment flow works as expected.

Contact Us Form Submission:
Ensures that the contact form is submitted successfully and a confirmation message is displayed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors