Intermittent timeout saving a header profile edit in E2E

Aperta
#2,125 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@Wikid82 ci sta già lavorando.

Dal 2/12/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Go
Stelle
17
Fork
2
Merge medio
1h 42m
PR unite (30g)
173

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Wikid82/Charon

Tutte le issue di Wikid82/Charon

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.