Skip to content

test: pass the Windows tests and the native browser smoke - #22

Open
Alex793x wants to merge 2 commits into
devfrom
fix/windows-test-assumptions
Open

Alex793x wants to merge 2 commits into
devfrom
fix/windows-test-assumptions

Conversation

@Alex793x

@Alex793x Alex793x commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

Three test scripts failed on Windows during the beta.21 release checks. The app code is unchanged. Tests and scripts are not in the installer.

  • tests/sharing-runtime.test.ts. Both "computers" run in one process, so the "Mac" names itself after the test host's platform. On Windows, the follow-up line reads "Queued on your Windows", and the test expected "Queued on your Mac". The test now expects the host's name.
  • tests/macos-release-trust.test.ts (from fix: make notarized Mac packaging pass: sign onnxruntime, check engine notarization #21). bundledLibrariesToSign returns native paths, which have backslashes on Windows. The test now compares paths with forward slashes.
  • scripts/native-browser-smoke.mjs. A fresh profile opens on the welcome dialog, which covered the Workspace button. The smoke now closes it the way tauri-smoke.mjs does, so it reaches the card's Browser tab again.

Checks on Windows

  • npm test: 1,592 tests, 1,534 passed, 0 failed, 58 skipped. Before this change, the two tests failed. The sharing test failed 3 times out of 3 when run on its own.
  • npm run typecheck: passed.
  • The native browser smoke ran on the app extracted from the beta.21 installer and passed. It opened three browsers at once and covered typing, the clipboard, scrolling, popups, profile isolation, hidden capture, no app bridge, and shutdown.

Merge this before the beta.21 promotion from dev to main.

🤖 Generated with Claude Code

Two tests assumed they run on a Mac. On Windows:

- The "Mac" in the two-computer sharing test runs in the same process,
  so it names itself after the test host's platform and the follow-up
  reads "Queued on your Windows". The test now expects that name.
- The list of Mac libraries to sign came back with backslashes. The
  test now compares forward-slash paths.

Neither change touches the app.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@blocksorg

blocksorg Bot commented Nov 23, 2026

Copy link
Copy Markdown

Mention Blocks like a regular teammate with your question or request:

@blocks review this pull request
@blocks make the following changes ...
@blocks create an issue from what was mentioned in the following comment ...
@blocks explain the following code ...
@blocks are there any security or performance concerns?

Run @blocks /help for more information.

Workspace settings | Disable this message

A fresh profile opens on the welcome dialog, which covered the Workspace
button, so the smoke stopped before it reached the card's Browser tab.
Close it the way tauri-smoke.mjs does.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Alex793x Alex793x changed the title test: pass the sharing and Mac signing tests on Windows test: pass the Windows tests and the native browser smoke Nov 23, 2026
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