https://github.com/ecureuill/starbugs-cypress
E2E test with Cypress. Allure Reports are deployed in gh pages
https://github.com/ecureuill/starbugs-cypress
allure-report cypress cypress-io e2e testing-automation
Last synced: about 2 months ago
JSON representation
E2E test with Cypress. Allure Reports are deployed in gh pages
- Host: GitHub
- URL: https://github.com/ecureuill/starbugs-cypress
- Owner: ecureuill
- Created: 2024-03-07T15:51:16.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-07T22:18:19.000Z (about 1 year ago)
- Last Synced: 2025-01-18T01:42:45.643Z (3 months ago)
- Topics: allure-report, cypress, cypress-io, e2e, testing-automation
- Language: JavaScript
- Homepage: https://ecureuill.github.io/starbugs-cypress/
- Size: 1.44 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Starbugs Coffee e2e with Cypress
This project is an initial study on how to perform end-to-end (E2E) testing using Cypress Framework.
## Reporting
- **Junit**: Cypress generates JUnit XML test reports. These reports can be used to integrate with various third-party tools and services for further analysis and visualization.
- **Allure**: This project leverages the [cypress-allure-plugin](https://github.com/shelex/cypress-allure-plugin). This plugin integrates the Allure reporting framework with Cypress, providing a more comprehensive and interactive reporting experience.### Viewing Reports
The workflow is configured to deploy **Allure reports** to the [GitHub Project's Pages](https://ecureuill.github.io/starbugs-cypress).
The workflow also includes an action that processes the JUnit XML test reports generated during the test run and displays the results as a check with a summary and annotations.
Navigate to the project's GitHub page and access the "Actions" tab. Open the latest **Cypress Test** workflow executed.

## Evidences
- **Screenshots**: Cypress will automatically capture screenshots when a failure happens
- **Video recording**: Cypress records a video for each spec file when running tests during cypress## Running locally
To run tests locally, you will need the following
- nodejs installed
- cypress installed### Steps
1. Clone this repository
1. Navigate to the project directory
1. Install the project dependencies
```bash
npm install
```
1. Run tests from cypress from CLI
```bash
npx cypress run
```
1. Alternatively, open Interactive Cypress UI for detailed test execution and debugging
```bash
npx cypress open
```