Repository navigation
test(macos): isolate Accessibility probes from parallel UI tests - #93
Merged
Merged
Conversation
Run the real selection probe in a test-only child application with its own AppKit event loop. Preserve deep-cell, retained-selection and non-table role coverage without initializing NSApplication in the shared SwiftUI test runner.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The selection regression fixture introduced in #92 initializes NSApplication inside the shared SwiftUI/WebKit test process. Although the PR checks passed, the main-branch macOS 15 suite subsequently terminated with SIGTRAP twice. The v0.10.6 release was cancelled before publication.
Run the real Accessibility fixture and production selection probe in a test-only child executable with its own AppKit event loop. Each invocation is bounded, reports failures to the parent test, and retains coverage for twelve nested cell wrappers, blank-space clicks with retained selections, focus-only probing, and list/outline/grid rejection. The executable is not an app product and inspects only its own AX tree. Package access allows it to call the production probe without changing selection behavior.
Validation: the AX suite passed; 532 tests across 77 suites passed on three consecutive local runs; Swift format, SwiftLint, staged and introduced-history secret scans passed. These broad local runs exclude ArtifactOpenPolicyTests, whose unrelated ODT type classification already fails on this host when run alone. Full macOS 15 and macOS 26 CI remain the release gate.
Related to #73.