AletheiaFact / AletheiaFact/aletheia

Enhancement: Implementation of Visual Regression Testing with Percy

Abierto
#1,832 0 comentarios 0 reacciones 1 asignado Reclamado por @Keikonichi Ver en GitHub
tech
Lenguaje dominante
TypeScript
Estrellas
55
Forks
20
Merge medio
2 d 6 h
PR fusionados (30 d)
2

Descripción

### Background Information

To enhance the visual quality of the application and prevent unintended UI regressions, this issue focuses on the implementation of Percy to automatically capture and compare snapshots of the application during Cypress end-to-end (E2E) test execution.

Visual regression tests will ensure that code changes do not introduce unexpected UI modifications, helping to quickly identify inconsistencies.

### Steps to Reproduce

_No response_

### How

- [ ] Configure Percy in the project.
- [ ] Create the percy.yml configuration file to customize snapshot behavior.
- [ ] Integrate Percy with Cypress tests.
- [ ] Add environment variables (PERCY_TOKEN, PERCY_ENABLE) to the project.
- [ ] Update the CI/CD pipeline to execute visual regression tests only when needed.
- [ ] Create specific tests to capture snapshots of relevant pages and components.
- [ ] Document the usage and review process for snapshots in the Percy Dashboard.

### Expected Behavior

- Percy should correctly capture snapshots during Cypress test execution.
- Snapshots should be sent to the Percy Dashboard and stored for future comparisons.
- The CI/CD pipeline should allow executing visual regression tests only when necessary (e.g., stage branch).
- Documentation should be available for the team on how to use and interpret Percy results.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.