Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

e2e: macOS UI and project-tab tests time out intermittently on CI

Aperta
#218 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
56/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, playwright, typescript
Ambito
desktop, testing

Direzione di ricerca

Start with the named end-to-end tests in tests/e2e/ui.test.ts and tests/e2e/projects.test.ts, then inspect the macOS CI job and how it captures Electron main-process and mock-server logs. On a failing run, retain Playwright traces and check whether the mock server received the request. Done when the intermittent failures can be diagnosed from the captured evidence and the underlying cause is identified.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug platform: macos priority: low severity: low tests

Two PR runs on macOS failed in end-to-end tests that the PRs did not touch, and both passed on a re-run of the failed job with no code change. Unit tests passed in both runs.

Run 1 — PR #215, CI run 37687243401, attempt 1, test (macos-latest):

  • tests/e2e/ui.test.ts > renders hostile model output inert: waiting for .message.assistant with done
  • tests/e2e/ui.test.ts > removes SVG images and MathML while preserving HTML markdown and literal code: waiting for Namespace payload complete.
  • tests/e2e/ui.test.ts > strips model CSS overlays while preserving markdown and syntax highlighting: waiting for CSS payload complete.
  • tests/e2e/ui.test.ts > shows a diff for approval and applies the edit when Approve is clicked: waiting for .tool-card.awaiting

All four failed with TimeoutError: locator.waitFor: Timeout 30000ms exceeded. The four failures finished within about 50 ms of each other (21:12:16), which points to one stalled app or mock server rather than four separate bugs.

Run 2 — PR #216, CI run 37690975427, attempt 1, test (macos-latest):

  • tests/e2e/projects.test.ts > multiple open projects > keeps chats, drafts and workspace file reads separate when switching tabs

In both cases the mock assistant's reply or tool card never appeared. #125 tracks a different intermittent failure (transcript_view) and may share a cause.

To settle it: capture the Electron main-process log and the mock server's request log on failure (or retain Playwright traces for macOS), and check whether the mock server received the request.

Lingua principale
TypeScript
Stelle
2
Fork
2
Merge medio
5h 28m
PR unite (30g)
24

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 PierrunoYT/patch

Tutte le issue di PierrunoYT/patch

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.