coder / coder/internal

Add Chromatic visual testing to our site/E2E tests

Abierto
#76 6 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Sin datos de lenguaje
Estrellas
3
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Chromatic has [introduced visual testing for Playwright](https://www.chromatic.com/playwright). We should explore adding this additional layer of user flow bug detection to our current E2E tests within `site/e2e`.

**Requirements:**

- [ ] Add manual snapshots to each of our E2E tests as appropriate - these can be component snapshots or full page snapshots
- [ ] Remove any redundant storybook component tests (if there are any)
- [ ] Add a NPM script to our `package.json` for running Chromatic with the `playwright` flag
- [ ] Update our CI workflow's Chromatic setup such that it also supports Playwright
- [ ] Update our FE README to make mention of this new tooling
- [ ] Establish baseline speed of our CI run and then compare after we have added this layer - it is important we don't significantly slow down the job considering these tests are run on every PR.
- [ ] Understand monthly cost of these additional snapshots as Chromatic's pricing depends on # of snapshots - is this addition going to move the needle significantly?

Guía de contribución

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

Línea de trabajo

Empieza leyendo las pruebas existentes en site/e2e y package.json; después, localiza la configuración actual de Chromatic en el flujo de trabajo de CI. Añade snapshots apropiados de Playwright, el script solicitado y compatibilidad con CI, elimina las pruebas redundantes de Storybook y actualiza la FE README. Compara la velocidad de CI antes y después, y documenta el coste esperado de los snapshots.

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

Evaluación

Stack tecnológico
playwright
Área
ci-cd, documentation, frontend, testing-qa
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
30/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.