test(m2): mock CUPS so Print All enables on GitHub macos-14 #176

Merged
gronod merged 1 commits from fix/m2-print-all-mock-cups into develop 2026-09-14 17:35:43 +01:00
Owner

GitHub run 34867767434 on macos-14-arm64 (after #175) failed only:

Milestone2UITests.testPrinttargFixtureGalleryAndStubbedPrint at line 224 — btnPrintAll existed but was not enabled.

btnPrintAll is .disabled when selectedPrinter is empty. M2 never set ICCERY_CUPS_BIN_DIR; the Gitea Monterey host has real queues, GitHub-hosted macos-14 does not. Enumeration is also async after the gallery appears (M3 already waits 15s).

  • Add ICCERY_CUPS_BIN_DIRFixtures/bin (same as M3)
  • waitUntilEnabled for btnPrintAll / btnPrintPage-0
GitHub run [34867767434](https://github.com/Gronod/iccery-v2-mac/actions/runs/34867767434/job/104055810778) on **macos-14-arm64** (after #175) failed only: `Milestone2UITests.testPrinttargFixtureGalleryAndStubbedPrint` at line 224 — `btnPrintAll` existed but was **not enabled**. `btnPrintAll` is `.disabled` when `selectedPrinter` is empty. M2 never set `ICCERY_CUPS_BIN_DIR`; the Gitea Monterey host has real queues, GitHub-hosted macos-14 does not. Enumeration is also async after the gallery appears (M3 already waits 15s). - Add `ICCERY_CUPS_BIN_DIR` → `Fixtures/bin` (same as M3) - `waitUntilEnabled` for `btnPrintAll` / `btnPrintPage-0`
gronod added 1 commit 2026-09-14 17:33:00 +01:00
test(m2): mock CUPS so Print All enables on GitHub macos-14
macOS CI / build-and-test (push) Skipped
macOS CI / build-and-test (pull_request) Canceled after 0s
macOS CI / package (pull_request) Canceled after 0s
4af2d96294
testPrinttargFixtureGalleryAndStubbedPrint asserted btnPrintAll
immediately after the gallery appeared, without ICCERY_CUPS_BIN_DIR.
Gitea Monterey has system queues; GitHub macos-14-arm64 does not, so
selectedPrinter stays empty and the button stays disabled (run
34867767434). Point M2 at Fixtures/bin like M3, and wait for enable.
gronod merged commit d2466d9a66 into develop 2026-09-14 17:35:43 +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#176