Add workflow to perform e2e tests against staging environment

Abierto
#4,277 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 4 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github-actions, javascript, playwright

Línea de trabajo

Empieza por localizar el workflow de e2e existente y la documentación de release referenciada en la issue. Lee cómo se ejecuta actualmente la suite contra un codebase descargado, y luego sigue la configuración de staging y la gestión de secrets antes de separar la ejecución de pruebas reutilizable de la configuración del workflow. Se considerará terminado cuando un workflow de staging activado por un maintainer se ejecute de forma segura sin ejecuciones solapadas, mantenga los secrets ocultos y esté enlazado desde la documentación de release.

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

Descripción

Enhancement Needs Discussion On Hold
Increasing Access

Unsure

Feature enhancement details

Following work by @Geethegreat for his GSOC project, there is now an e2e test suite that runs on a checked-out copy of the codebase, upon maintainer approval, for PR's pointing towards develop

Current during the weekly release process, there is a step to 'manual regression check on the staging site', but this can be automated by running e2e test suite against staging instead.

We should:

  1. Refactor the e2e test suite so that the running of the test suite is a re-usable action
  2. Add a new workflow that has:
    - has some setup steps to configure variables to enable the playwright bot to test on the staging site
    - should include some way to ensure that test runs do not collide with one another if one is triggered before a previous one is completed
    - ensure that secrets to access staging remain invisible
    - triggers the test suite with the re-usable action from step 1
    - has a manual trigger & is only able to be triggered by maintainers
  3. Add a link to the new workflow in the release docs
Lenguaje dominante
JavaScript
Estrellas
1.7k
Forks
1.7k
Merge medio
8 d 22 h
PR fusionados (30 d)
14

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 processing/p5.js-web-editor

Todos los issues de processing/p5.js-web-editor

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.