Run Cypress tests on PRs that modify the main English translation

Abierto Apto para principiantes
#7,261 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
68/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Tranquilo
Stack tecnológico
cypress, github-actions
Área
ci-cd, testing

Línea de trabajo

Inspecciona .github/workflows/pull_request_e2e.yml, especialmente sus filtros de rutas, y compáralos con los cambios en main/webapp/modules/core/langs/translation-en.json. Confirma cómo se activa el workflow para las pull requests y, a continuación, verifica que los cambios en la traducción al inglés hagan que se ejecute el trabajo end-to-end de Cypress sin eliminar las exclusiones previstas para otros archivos de traducción.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

CI/CD maintainability Type: Bug

The end-to-end frontend tests should be run whenever the English translations are updated.

To Reproduce

Steps to reproduce the behavior:

  1. Open a pull request with changes to the English translations (main/webapp/modules/core/langs/translation-en.json)
Current Results

No Cypress tests are run, despite those tests relying on the content of the English translations

Expected Behavior

The Cypress tests should run and confirm that no tests are broken from the content changes.

Additional context

The GitHub workflow for running end-to-end tests on pull requests explicitly ignores the translation files, which makes sense given that most of them do not impact the automated tests. However, the English translation specifically is used as part of the automated frontend tests.

Lenguaje dominante
Java
Estrellas
12.1k
Forks
2.2k
Merge medio
2 d 3 h
PR fusionados (30 d)
18

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de OpenRefine/OpenRefine

Todos los issues de OpenRefine/OpenRefine

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.