Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#218 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
56/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
electron, playwright, typescript
Domain
desktop, testing

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
TypeScript
Stars
2
Forks
2
Avg merge
5h 28m
Merged PRs (30d)
24

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PierrunoYT/patch

All issues in PierrunoYT/patch

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.