This project automates UI testing for the Automation Exercise website using Cypress.
- 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.
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.
Ensure you have the following installed:
- Clone the repository:
git clone https://github.com/PROMIiit/Automation_Cypress.git cd Automation_Cypress
Run the following command to install all required dependencies:
npm install
cd automation-exercise
npx cypress open
npx cypress run