This is a automationexercise website that is used for the automation test for this site.
clone the repository and run the following command to install the dependencies
npm install
To run the test, run the following command
npm run cy:run
To open the test in browser, run the following command
npm run cy:open
To run cypress cloud, run the following command
npm run cy:run:cloud
- End-to-End Testing: Automate your end-to-end testing scenarios to ensure the robustness of your web application.
- Comprehensive Test Coverage: Cover various aspects of your application, including UI interactions, form submissions, API calls, and more.
- Easy Setup: Get started quickly with simple setup instructions and an intuitive directory structure.
- Customizable Tests: Tailor the tests according to your application's requirements using Cypress's flexible testing capabilities.
- Continuous Integration: Integrate seamlessly with popular CI/CD platforms to automate testing workflows.
- Register User
- Login User with correct email and password
- Login User with incorrect email and password
- Logout User
- Register User with existing email
- Contact Us Form
- Verify Test Cases Page
- Verify All Products and product detail page
- Search Product
- Verify Subscription in home page
- Verify Subscription in Cart page
- Add Products in Cart
- Verify Product quantity in Cart
- Place Order: Register while Checkout
- Place Order: Register before Checkout
- Place Order: Login before Checkout
- Remove Products From Cart
- View Category Products
- View & Cart Brand Products
- Search Products and Verify Cart After Login
- Add review on product
- Add to cart from Recommended items
- Verify address details in checkout page
- Download Invoice after purchase order
- Verify Scroll Up using 'Arrow' button and Scroll Down functionality
- Verify Scroll Up without 'Arrow' button and Scroll Down functionality
- fixtures: Contains the test data
- e2e: Contains the test files
- support: Contains the custom commands and other support files
- screenshot: Contains the screenshot of the failed test cases
- videos: Contains the video of the test cases
- reports: Contains the reports of the test cases
The test cases are also available in the cypress dashboard. The link is here
- Cypress Documentation: Explore Cypress's official documentation for in-depth guides and examples.
- Cypress Best Practices: Learn best practices for writing efficient and maintainable Cypress tests.
- GitHub Repository: Fork and star the repository to stay updated with the latest developments.
This project is licensed under the Apache License - see the (LICENSE) file for details.
- Create a new job
- Add the following commands to the job:
npm install
npm cypress run --record --key [Sceret Key]