An open API service indexing awesome lists of open source software.

https://github.com/asrieldreemurrgm/e2e_testing_with_cypress

Study of end-to-end testing using Cypress, with tests written for the EBAC Jobs platform.
https://github.com/asrieldreemurrgm/e2e_testing_with_cypress

automation cypress e2e-tests ebac end-to-end end-to-end-testing javascript mochawesome

Last synced: 10 months ago
JSON representation

Study of end-to-end testing using Cypress, with tests written for the EBAC Jobs platform.

Awesome Lists containing this project

README

          

E2E Testing With Cypress



Este README também está disponível em Português



This repository contains a hands-on study of end-to-end testing using the Cypress framework, focused on the EBAC Jobs web application.
Automated tests were created to validate the home page rendering, job filtering, and the application form submission process.


🚀 Technologies Used




  • Cypress – Main framework for E2E tests;


  • JavaScript – Language used to write the tests;


  • Mochawesome – Test reporting tool;


🧪 Implemented Tests



  • Home page rendering and essential elements verification;

  • Job filtering on the Home page by different criteria;

  • Navigation to the application page;

  • Form filling and submission on the application page;

  • Use of beforeEach to avoid code repetition across tests;

  • Screenshot capture during test execution;


📂 Project Structure




  • cypress/e2e – Contains the test files, organized by page;


  • cypress/screenshots – Screenshots taken during test execution or failures;


  • .gitignore – Updated to ignore generated report folders;


📄 Test Reports



Test reports are generated with mochawesome after running the tests.
The mochawesome-report folder is ignored via .gitignore to prevent committing generated files.


📦 How to Run



  1. Clone the repository;

  2. Run npm install to install dependencies;

  3. Run npx cypress open to open the test UI, or npx cypress run to run the tests headlessly.


📌 Notes



  • This project is intended for educational purposes and local testing only;

  • The EBAC Jobs website content may change, so adjustments may be required to keep the tests valid.