Repository navigation
test(desktop): expose meeting-link copy keycap UI probes and viewport checks - #5177
Merged
Merged
Conversation
Product already rendered Mod+Shift+L chips; they were accessibility-hidden like web aria-hidden keycaps. Expose XCTest probe ids under -COMPASS_UI_TEST and add default plus 1440×960 viewport coverage for meeting copy hints. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Publish compass-native-main-window-geometry from the wide viewport policy, avoid pinning oversized min/max when the runner screen is too small, and require achieved 1440×960 plus window/screen-visible hittable link/keycaps. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Geometry probe records screen=1024×677 on GitHub macos-latest; XCTSkip wide parity instead of false-green scroll-only checks. Inventory keeps meeting-copy-keycap passing and marks meeting-link-viewport blocked. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Use audit-valid unreviewed for meeting-link-viewport; assert entire element frames inside window and scroll viewport; split wide XCTest to EventFormMeetingLinkWideViewportTests on macos-26-intel with documented vmware-resolutionSet probe when available. arm64 shards log geometry only. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Wait for grid focus before expensive form AX queries on Intel wide job. Upgrade actionlint to 1.7.12 so macos-26-intel validates without ignores. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Stop pinning min/max window size during meeting-link wide policy (AX stall). Open the UI-test event form on the main queue; skip KitTests on Intel wide rebuild. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Gate on titled grid button before targeted form and geometry identifiers. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Run wide XCTest after UI shards; restore wide window pinning from green run. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Wait for the lightweight XCTest title mirror before querying the SwiftUI form. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Avoid a second async resize racing UI-test form open; wait for geometry before title probe. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Do not skip meeting-link wide coverage after an unrelated shard failure. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Republish viewport geometry when the grid focus mirror updates; avoid window layoutChanged storms on the geometry probe; gate the wide test on window value before scoped staticText queries. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Keep product probe stability changes; drop grid window predicate that continued after timeout. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
XCTest reads 1440x960 probe fields from the Compass window value so the wide leg avoids child-tree snapshots; grid title skips the window mirror in wide mode. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Mirror NSScreen and target size on the window before contentView-dependent work; fail wide XCTest fast when geometry or form probes never appear. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Republish geometry after UITest window reset on install; surface model-init failures on the window value mirror; replace XCTWaiter predicate with the same RunLoop poll pattern NativeLaunchTests uses for window AX. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Wait for runningForeground before Compass window AX reads; existence wait triggered 148s snapshot timeout on Intel without reaching geometry polling. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Append /tmp NDJSON launch policy events without AX; CI captures screenshots, thread samples, and xcresulttool exports; simplify prior window-value layering. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Skip duplicate wide viewport resize on viewDidAppear, defer probe layoutChanged storms until the next run-loop turn, pin content size instead of decorated frame min/max, and skip Sparkle during UI tests. Watchdog samples runner via broader pgrep and records sample metadata. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Register EventFormMeetingLinkWideViewportTests under standaloneJobs and extend shard assignment tests so matrix shards plus dedicated jobs cover every UI test class without weakening the macos gate. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
This was referenced Nov 9, 2026
Bring #5177 up to date with main before macOS parity re-check. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Wide meeting-link launches still use -COMPASS_UI_TEST for fixtures and SwiftUI accessibility, but skip AppKit probe siblings beside NSHostingView that produced invalid AX geometry. Publish geometry on the window only and reapply viewport policy from viewDidAppear. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Hide the unbounded grid-focus layout container from accessibility, keep the 44pt overlay only, and skip grid focus AX mirrors during wide XCUITest while validating card accessibility screen frames. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Stop attaching unbounded frame sizes to accessibility roots for the event form and overlay toasts. Use hidden layout-only containers so XCUITest can snapshot the Compass window on the wide viewport job. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Hold the in-flight unhide PUT until the superseding hide is queued so the test matches HiddenEventsStore generation semantics instead of relying on async let scheduling order. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Re-check write generation after the remote setHiddenEvents call so an older commit returns superseded instead of applied when a newer hide was queued during the network round trip. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Post layoutChanged after syncing the focused event proxy on normal launches. Only wide-viewport UITest and mirror probes stay gated. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Publish window geometry before the demo grid mounts, defer opening the event form until stable wide layout, and resolve the main window by identifier in XCTest. Run the wide leg three times per CI job. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Merge current main (#5216 swift-packages cache). Restore main HiddenEventsStore tests, remove stress workflow/script, default wide viewport repeat to 1, keep wide Intel job on test-macos.yml. Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
Co-authored-by: Tyler Dane <tyler-dane@users.noreply.github.com>
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.
Summary
Exposes meeting-link copy keycap UI probes and wide-viewport XCTest parity with web. Fixes invalid AX geometry on Intel wide launches and stabilizes window lookup by deferring the event form until stable layout geometry is published.
Wide viewport stability (launch race)
Root cause: XCTest evaluated
app.windows["Compass"]while the demo grid + event form AX tree was still mounting, so snapshot evaluation timed out (not the 8swaitForExistencebudget).Fix: Early window geometry mirror after
installRootContent, deferOPEN_FOCUSED_EVENT_FORMuntilviewDidAppearstable geometry (WideViewportLaunchCoordination), identifier-basedwaitForMainWindowin XCTest.Wide XCTest evidence (no workflow reruns)
Six consecutive passes on macOS Intel (two green CI jobs × 3 passes each when
WIDE_VIEWPORT_UI_TEST_REPEATwas 3):9549a3f69— run 42924993958 (passes 1–3/3)1dbe09b23(passes 1–3/3)Mandatory CI now defaults to one wide pass per job (
WIDE_VIEWPORT_UI_TEST_REPEATdefault 1).Cleanup (queue-ready)
mainatcf0edff9e(fix(ci): keep swift-packages under timeout with warm SPM cache #5216 swift-packages cache).HiddenEventsStore/ tests align withmain(supersede-after-await on main).Scope
XCUIT / macOS Accessibility API UI automation on CI runners — not spoken VoiceOver or signed/notarized desktop acceptance.