Skip to content

test(macos): isolate Accessibility probes from parallel UI tests - #93

Merged
JUNERDD merged 1 commit into
mainfrom
fix/selection-ax-test-process
Nov 4, 2026
Merged

JUNERDD merged 1 commit into
mainfrom
fix/selection-ax-test-process

Conversation

@JUNERDD

@JUNERDD JUNERDD commented Nov 4, 2026

Copy link
Copy Markdown
Owner

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.

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.
@vercel

vercel Bot commented Nov 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
atd-agent Skipped Skipped Nov 4, 2026 1:55am UTC

@JUNERDD
JUNERDD merged commit 6b8d43c into main Nov 4, 2026
9 checks passed
@JUNERDD
JUNERDD deleted the fix/selection-ax-test-process branch November 4, 2026 02:04

This branch was previously deployed

1 inactive deployment
Preview — 29210669 Deployed Nov 4, 2026 by vercel[bot]
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