Intermittent timeout saving a header profile edit in E2E

Offen
#2,125 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@Wikid82 arbeitet bereits daran.

Seit 02.12.2026.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Beschreibung

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.

Vorherrschende Sprache
Go
Sterne
17
Forks
2
Ø Merge
1 Std. 42 Min.
Gemergte PRs (30 T.)
173

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Wikid82/Charon

Alle Issues in Wikid82/Charon

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.