test(m10): combine gamut layer toggle AX; harden gallery wait on macOS 12 #159

Merged
gronod merged 1 commits from fix/m10-ci-ui-macos12 into milestone/m10-studio 2026-09-13 15:53:50 +01:00
Owner

Follow-up to #158 — run 33803 proved the layer toggles never report enabled on macOS 12 even after a real wait: the identifier lands on the Toggle's container element (type Any, never CheckBox), which always reports isEnabled == false.

  • GamutView.layerToggle: .accessibilityElement(children: .combine) so the a11y leaf is the checkbox itself. .checkbox style and the disabled condition are unchanged.
  • testPrinttargFixtureGalleryAndStubbedPrint flaked once on 33803 (galleryPage-0 never appeared — passed on 33718): wait for btnCreateLayout to be enabled before clicking, retry the click once if the gallery never materialises, widen the gallery window to 30s.

Local: targeted suites 26/26 pass (incl. Milestone2 12/12).

Refs #147 #149 #146

Generated with Devin

Follow-up to #158 — run 33803 proved the layer toggles never report enabled on macOS 12 even after a real wait: the identifier lands on the Toggle's container element (type `Any`, never `CheckBox`), which always reports `isEnabled == false`. - `GamutView.layerToggle`: `.accessibilityElement(children: .combine)` so the a11y leaf is the checkbox itself. `.checkbox` style and the `disabled` condition are unchanged. - `testPrinttargFixtureGalleryAndStubbedPrint` flaked once on 33803 (`galleryPage-0` never appeared — passed on 33718): wait for `btnCreateLayout` to be enabled before clicking, retry the click once if the gallery never materialises, widen the gallery window to 30s. Local: targeted suites 26/26 pass (incl. Milestone2 12/12). Refs #147 #149 #146 Generated with [Devin](https://devin.ai)
gronod added 1 commit 2026-09-13 15:53:27 +01:00
Run 33803 still reported the layer toggles disabled after a real
waitUntilEnabled: on macOS 12 the identifier lands on the Toggle's
container element, which never reports isEnabled — combine the
Toggle's children so the a11y leaf is the checkbox itself (checkbox
style unchanged). testPrinttargFixtureGalleryAndStubbedPrint flaked
once on the same runner: wait for btnCreateLayout enabled before
clicking and retry once when the gallery never materialises.

Refs #147 #149 #146

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gronod self-assigned this 2026-09-13 15:53:37 +01:00
gronod added this to the M10 — Studio workflow (media library, gamut compare, spot-read, projects) milestone 2026-09-13 15:53:37 +01:00
gronod added the Kind/Bug
Priority
High
2
Project/ICCery-v2Feature/UI
labels 2026-09-13 15:53:37 +01:00
gronod merged commit 9fcd21dc2d into milestone/m10-studio 2026-09-13 15:53:50 +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#159