A robust and modern end-to-end test automation framework built with Cypress, offering comprehensive support for both UI and REST API testing. This framework is designed for simplicity, scalability, and easy integration into your CI/CD pipelines.
- UI & API Testing: A unified framework to test both the user interface and backend REST APIs of your application.
- JavaScript-Based: Built on JavaScript for a familiar and flexible testing environment.
- Mochawesome Reports: Generate beautiful, easy-to-read HTML reports for every test run.
- CI/CD Integration: Ready for continuous integration with pre-configured GitHub Actions workflows.
- Modular Structure: A clean, organized folder structure makes it easy to manage and scale your tests.
Follow these steps to get the framework up and running on your local machine.
You need to have Node.js and npm installed.
-
Clone the repository:
git clone [https://github.com/mishalalex/cypress-e2e-framework.git](https://github.com/mishalalex/cypress-e2e-framework.git)
-
Navigate into the project directory:
cd cypress-e2e-framework
-
Install the dependencies:
npm install
To run all tests in headless mode:
npx cypress run
The package.json file includes a set of pre-defined scripts to make running tests even easier.
Run all tests:
npm test
Open the Cypress Test Runner:
npm run cypress:open
The project is organized to be intuitive and easy to navigate:

Test reports are generated by Mochawesome and can be found in the cypress/reports folder after a test run. Simply open the index.html file in your browser to view the detailed results.
Crafted by Mishal