Intermittent timeout saving a header profile edit in E2E

Aberta
#2,125 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@Wikid82 já está trabalhando nisso.

Desde 2/12/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

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.

Linguagem predominante
Go
Estrelas
17
Forks
2
Merge médio
1h 42min
PRs com merge (30d)
173

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de Wikid82/Charon

Todas as issues de Wikid82/Charon

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.