Skip to content

test: handle the desktop opened-file inbox in the release notes fake - #135

Merged
vycdev merged 1 commit into
developfrom
fix/i18n-release-notes-desktop-fake
Nov 7, 2026
Merged

vycdev merged 1 commit into
developfrom
fix/i18n-release-notes-desktop-fake

Conversation

@vycdev

@vycdev vycdev commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

The desktop release notes test in tests/e2e/i18n.spec.ts has timed out since the desktop opened-file inbox was added in 2dc843a.

The test installs its Tauri fake before the app loads, so the inbox's startup calls reach it. The fake threw on take_opened_file and the event plugin, the app showed its "Could not open file" dialog, and the modal hid the "Open settings" button. This change answers those commands the same way settings-legal-links.spec.ts does: no opened file, and event listen/unlisten succeed, with the transformCallback that event subscriptions need.

🤖 Generated with Claude Code

The desktop release notes test installs its Tauri fake before the app
loads, so the opened-file inbox added in 2dc843a runs against it. The fake
threw on take_opened_file and the event plugin, the app showed its
"Could not open file" dialog, and the modal hid the settings button until
the test timed out. Answer those commands the way
settings-legal-links.spec.ts does.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vycdev
vycdev merged commit 17dcd83 into develop Nov 7, 2026
vycdev added a commit that referenced this pull request Nov 7, 2026
Only the @smoke tests had a script that ran them all, and no workflow
ran tests on pull requests, so changes broke other areas' suites without
anyone noticing (#136, #135).

- npm run test:e2e:all runs @smoke and then every area config one
  after another on fresh servers, keeps each suite's report, and fails
  if any suite fails. It also fails if a playwright*.config.ts is not
  in the suite list or a test is not run by any suite. The @Full
  export matrix stays on demand.
- .github/workflows/ci.yml runs lint, the build, npm test, the coverage
  check, and each e2e suite as a parallel job on PRs into develop and
  main (and pushes to them, which seeds the caches). It caches npm and
  Chromium, uses a read-only token, and adds one "CI passed" check.
- Area specs fail up front under the wrong Playwright config and name
  the script to use.
- Palette Proof, the Settings legal links, and the adaptive Stack Matrix
  round trip were in no suite; they now run with @smoke.

Refs #138

Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.

1 participant