Intermittent timeout saving a header profile edit in E2E

Abierto
#2,125 0 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@Wikid82 ya está trabajando en esto.

Desde el 2/12/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

bug low security

Description

In one run out of roughly six, saving an edit to a custom header profile from its card did not produce the expected request within the test's timeout. It did not reproduce in 5 follow-up runs (1 isolated, 4 repeated).

Where

tests/security/security-headers.spec.ts, the profile card-edit case (~line 282).

Knock-on effect

When the case times out, it skips its cleanup step and leaves a profile behind, which can then make the page-load heading check (security-headers.spec.ts:48, an /headers/i regex) fail on the next run because the regex also matches leftover profile card headings.

Suggested approach

  • If this recurs, capture a Playwright trace before changing anything.
  • Consider tightening the page-load heading assertion to an exact name so stray profile cards can't collide with it.
  • Consider making cleanup robust to a timed-out save (e.g. a broader afterEach sweep) so residue doesn't cascade into later test failures.

Priority

Low — rare, self-resolved on retry, not reproduced since.

Found during B8-02 E2E work.

Lenguaje dominante
Go
Estrellas
17
Forks
2
Merge medio
1 h 42 min
PR fusionados (30 d)
173

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 Wikid82/Charon

Todos los issues de Wikid82/Charon

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.