Skip to content

test(app): stabilize windows theme select e2e#21919

Draft
HaleTom wants to merge 1 commit intoanomalyco:devfrom
HaleTom:fix/windows-settings-theme-select
Draft

test(app): stabilize windows theme select e2e#21919
HaleTom wants to merge 1 commit intoanomalyco:devfrom
HaleTom:fix/windows-settings-theme-select

Conversation

@HaleTom
Copy link
Copy Markdown

@HaleTom HaleTom commented Apr 10, 2026

Issue for this PR

Closes #21915

Related: #17093
Blocked by / helping unblock: #21233, #21559

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

This stabilizes the flaky Windows Playwright interaction in packages/app/e2e/settings/settings.spec.ts for changing theme persists in localStorage.

The test now targets the resolved theme option, waits for it to be visible, and uses a forced click for that specific popup interaction instead of relying on a normal click against an element that Windows CI reports as unstable.

Why does this need a focused PR?

#17093 is the broad flaky-CI umbrella, but this timeout is specific enough to isolate: one Windows Playwright failure in one settings selector path.

That matters because the same flaky Windows e2e is blocking unrelated work, including #21233, and it has also been blocking confidence on #21559. Keeping this PR narrowly scoped makes it easier to land as an unblocker without dragging other changes along.

How did you verify your code works?

  • PLAYWRIGHT_BROWSERS_PATH="/home/ravi/code/opencode/wrap-links/.playwright-browsers" PLAYWRIGHT_WORKERS=2 bun test:e2e:local -- e2e/settings/settings.spec.ts -g "changing theme persists in localStorage" --repeat-each=5
  • Result: 5 passed

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Target the selected theme option explicitly and use a forced click in the flaky settings localStorage test so Windows Playwright does not timeout on an unstable select item.

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(app): stabilize Windows settings theme select e2e

1 participant