Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abubakkar32/cypress-fully-automation-site
Welcome to the Cypress Fully Automation Site repository! This repository contains a comprehensive automation framework built using Cypress for testing web applications.
https://github.com/abubakkar32/cypress-fully-automation-site
api-testing-and-exploration automation-testing browserstack cicd cypress cypress-cloud end-to-end-testing github github-action github-cloud-migrated github-config javascript jenkins mochawasome-reports nodejs
Last synced: about 1 month ago
JSON representation
Welcome to the Cypress Fully Automation Site repository! This repository contains a comprehensive automation framework built using Cypress for testing web applications.
- Host: GitHub
- URL: https://github.com/abubakkar32/cypress-fully-automation-site
- Owner: AbuBakkar32
- License: apache-2.0
- Created: 2024-05-10T15:15:08.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T02:06:19.000Z (3 months ago)
- Last Synced: 2024-08-25T11:34:48.480Z (3 months ago)
- Topics: api-testing-and-exploration, automation-testing, browserstack, cicd, cypress, cypress-cloud, end-to-end-testing, github, github-action, github-cloud-migrated, github-config, javascript, jenkins, mochawasome-reports, nodejs
- Language: HTML
- Homepage: https://github.com/AbuBakkar32/cypress-fully-automation-site
- Size: 18.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# cypress-fully-automation-site
This is a automationexercise website that is used for the automation test for this site.
## Installation
clone the repository and run the following command to install the dependencies
```bash
npm install
```## Usage
To run the test, run the following command
```bash
npm run cy:run
```To open the test in browser, run the following command
```bash
npm run cy:open
```To run cypress cloud, run the following command
```bash
npm run cy:run:cloud
```![demo3.png](reports%2Fdemo3.png)
![demo.png](reports%2Fdemo.png)
![demo1.png](reports%2Fdemo1.png)
## Features:
* **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.# Test Cases List
1. Register User
2. Login User with correct email and password
3. Login User with incorrect email and password
4. Logout User
5. Register User with existing email
6. Contact Us Form
7. Verify Test Cases Page
8. Verify All Products and product detail page
9. Search Product
10. Verify Subscription in home page
11. Verify Subscription in Cart page
12. Add Products in Cart
13. Verify Product quantity in Cart
14. Place Order: Register while Checkout
15. Place Order: Register before Checkout
16. Place Order: Login before Checkout
17. Remove Products From Cart
18. View Category Products
19. View & Cart Brand Products
20. Search Products and Verify Cart After Login
21. Add review on product
22. Add to cart from Recommended items
23. Verify address details in checkout page
24. Download Invoice after purchase order
25. Verify Scroll Up using 'Arrow' button and Scroll Down functionality
26. Verify Scroll Up without 'Arrow' button and Scroll Down functionality## Folder Structure
1. fixtures: Contains the test data
2. e2e: Contains the test files
3. support: Contains the custom commands and other support files
4. screenshot: Contains the screenshot of the failed test cases
5. videos: Contains the video of the test cases
6. reports: Contains the reports of the test cases## Cypress Dashboard
The test cases are also available in the cypress dashboard. The link
is [here](https://dashboard.cypress.io/projects/5r89t6/runs)## Resources:
1. [Cypress Documentation](https://docs.cypress.io/guides/overview/why-cypress): Explore Cypress's official
documentation for in-depth guides and examples.
2. [Cypress Best Practices](https://docs.cypress.io/guides/references/best-practices): Learn best practices for writing
efficient and maintainable Cypress tests.
3. [GitHub Repository](https://github.com/cypress-io): Fork and star the repository to stay updated with the latest
developments.## Apache License
This project is licensed under the Apache License - see
the ([LICENSE](https://github.com/AbuBakkar32/cypress-fully-automation-site/blob/main/LICENSE)) file for details.2. Create a new job
3. Add the following commands to the job:## Run Project In Cypress Cloud
```bash
npm install
npm cypress run --record --key [Sceret Key]
```