Skip to content

PROMIiit/Automation_Cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Exercise Tests

This project automates UI testing for the Automation Exercise website using Cypress.

Features

  • End-to-end UI automation using Cypress
  • Covers user registration,product search and selection,product update and cart management, checkout process,payment and order confirm,contact us form submission
  • Implements the Page Object Model (POM) for better maintainability
  • Comprehensive end-to-end API testing using Cypress to validate brand list retrieval, ensuring correct brands are present and incorrect ones are absent, with assertion checks for data integrity.

Handling Unique Emails for Sign-Up Tests

Since the sign-up process requires a unique email every time, follow these steps before running the test:

Open the ui.cy.js file located at Go to line number 22 and update the email address with a new, unique email that has not been used before. Example: Save the file and rerun the tests.

Prerequisites

Ensure you have the following installed:

Setup & Installation

  1. Clone the repository:
    git clone https://github.com/PROMIiit/Automation_Cypress.git
    cd Automation_Cypress

Install Dependencies

Run the following command to install all required dependencies:

npm install
cd automation-exercise
npx cypress open
npx cypress run  



About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors