Loading repository data…
Loading repository data…
vulgolari / repository
Automação de Testes Front-End com Cypress e BDD. O projeto inclui cenários de teste para adição, edição, exclusão e busca de clientes em uma aplicação web, utilizando Page Object Model.
Front-End Test Automation with Cypress and BDD. The project includes test scenarios for adding, editing, deleting, and searching for customers in a web application, using the Page Object Model.
Grocery CRUD is a simple, customizable, and extensible CRUD (Create, Read, Update, Delete) generator. This project focuses on automating the testing of key functionalities of the Grocery CRUD application, ensuring its reliability and correctness through comprehensive test scenarios.
The following test scenarios are implemented:
To set up and run the tests, follow these steps:
Clone the repository:
git clone https://github.com/vulgolari/grocery-crud.git
cd grocery-crud
Install dependencies:
npm install
Run the tests:
To open Cypress Test Runner:
npm run test
To run tests in headless mode:
npm run run
To generate test reports using Mochawesome:
Run the tests:
npm run mochawesome:report
Open the Mochawesome report:
npm run mochawesome:open
The report will be generated in the cypress/reports/mochawesome directory and will include detailed information about the test runs, including screenshots and videos.
cypress/integration/features: Contains the feature files written in Gherkin syntax.cypress/step_definitions: Contains the step definitions for the feature files.cypress/pageObjects: Contains the Page Object Model (POM) classes.The Cypress configuration is located in cypress.config.js. Update the configuration as needed to match your environment and requirements.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
This project is licensed under the MIT License.