This repository contains a Cypress-based test automation framework designed to streamline end-to-end testing for web applications. The framework is built with scalability, maintainability, and ease of use in mind.
- Comprehensive Test Coverage: Covers UI testing.
- Modular Design: Follows the Page Object Model (POM) to ensure test cases are easy to maintain and extend.
- Custom Commands: Includes reusable custom commands to simplify test writing.
- Cross-Browser Testing: Supports running tests across different browsers.
- Reporting: Generates detailed reports using Mochawesome.
- Node.js (version 16 or higher)
- npm (version 8 or higher)
- Cypress (version 13 or higher)
- Clone the repository:
git clone https://github.com/WkjuniorDiaz/Cypress-Web-Automation.git
- Navigate to the project directory:
cd your-repo
- Install the dependencies:
npm install
To run all the test cases:
npm run test
To open the interactive Cypress Test Runner:
npm run cy:open
cypress/fixtures
: Contains test data files.cypress/integration
: Contains the test cases.cypress/support
: Contains custom commands and support files.cypress/reports
: Stores test reports.
Custom commands can be found in the cypress/support/commands.js
file. These commands help reduce redundancy in test cases.
Reports are automatically generated after test execution and can be found in the cypress/reports
directory.
This project is licensed under the MIT License - see the LICENSE file for details.