fix(uitest): resolve AboutHelp close button lookup on runner #75

Merged
gronod merged 2 commits from fix/m7-ci-uitest-runner-sign into develop 2026-09-10 08:07:37 +01:00
Owner

The AboutHelp UI test still failed on the self-hosted runner because the close-button query was scoped to app.sheets.firstMatch.buttons["closeAboutBtn"]. SwiftUI .sheet on macOS is not exposed as an XCUIElement sheet in this build, so the helper returned nil.

  • Use the existing waitFor(_:timeout:) helper to search the entire app hierarchy for closeAboutBtn.
  • Keep the launchApp() foreground-wait pattern that already stabilised app.activate().

This is a follow-up to the earlier UI-test fixes for run #28967.

Labels: Project/ICCery-v2, Bug/DevOps, Priority/Critical.

The AboutHelp UI test still failed on the self-hosted runner because the close-button query was scoped to `app.sheets.firstMatch.buttons["closeAboutBtn"]`. SwiftUI `.sheet` on macOS is not exposed as an XCUIElement `sheet` in this build, so the helper returned nil. - Use the existing `waitFor(_:timeout:)` helper to search the entire app hierarchy for `closeAboutBtn`. - Keep the `launchApp()` foreground-wait pattern that already stabilised `app.activate()`. This is a follow-up to the earlier UI-test fixes for run `#28967`. Labels: `Project/ICCery-v2`, `Bug/DevOps`, `Priority/Critical`.
gronod added the
Priority
Critical
1
Project/ICCery-v2Bug/DevOps
labels 2026-09-10 07:34:51 +01:00
gronod added 1 commit 2026-09-10 07:34:52 +01:00
fix(uitest): wait for closeAboutBtn in AboutHelp using app-wide identifier
macOS CI / build-and-test (pull_request) Failing after 13m25s
macOS CI / package (pull_request) Skipped
d11232813b
The previous sheet-scoped query did not resolve on the runner. Use the
existing waitFor helper to locate closeAboutBtn anywhere in the app and
remove the redundant immediate activation call.

Refs gronod/iccery-v2-mac#72
gronod added 1 commit 2026-09-10 07:50:31 +01:00
fix(about): expose closeAboutBtn in AboutView accessibility hierarchy
macOS CI / build-and-test (pull_request) Successful in 13m26s
macOS CI / package (pull_request) Skipped
0122d92f2b
The outer VStack was missing .accessibilityElement(children: .contain),
so the close button identifier was not visible to XCUITest on the runner.
Add the container modifier to match other dialog views and keep the
aboutDialog identifier usable by tests.

Refs gronod/iccery-v2-mac#75
gronod merged commit f7ba49d3d5 into develop 2026-09-10 08:07:37 +01:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: gronod/iccery-v2-mac#75