test(m9): collapse ArgyllRunner waits under ICCERY_UI_TESTING #144

Merged
gronod merged 1 commits from feat/141-ui-test-timing into milestone/m9-monterey 2026-09-12 17:00:48 +01:00
Owner

Closes #141

Add a DEBUG-gated testAwareDelay helper (same ICCERY_UI_TESTING=1 convention as AppPaths.testRoot) and apply it to the ensureNotRunning 100ms poll and the XY chartread 500ms pre-kill wait. Under UI tests the intervals shrink ~10x; release builds compile the #if DEBUG branch out entirely, so production timing is unchanged.

No current UI test sets MOCK_CHARTREAD_MODE=xy, so the 500ms site is future-proofing at zero risk today.

Verification

  • build-for-testing succeeds (host arch).
  • ICCeryCoreTests: 339 tests, 0 failures (unit tests don't set the flag, so behavior is identical).

Stacked on #143 — retarget to milestone/m9-monterey once #142 and #143 land.

Closes #141 Add a DEBUG-gated `testAwareDelay` helper (same `ICCERY_UI_TESTING=1` convention as `AppPaths.testRoot`) and apply it to the `ensureNotRunning` 100ms poll and the XY chartread 500ms pre-kill wait. Under UI tests the intervals shrink ~10x; release builds compile the `#if DEBUG` branch out entirely, so production timing is unchanged. No current UI test sets `MOCK_CHARTREAD_MODE=xy`, so the 500ms site is future-proofing at zero risk today. ## Verification - `build-for-testing` succeeds (host arch). - ICCeryCoreTests: 339 tests, 0 failures (unit tests don't set the flag, so behavior is identical). Stacked on #143 — retarget to `milestone/m9-monterey` once #142 and #143 land.
gronod added the Kind/Testing
Priority
Low
4
Project/ICCery-v2Feature/DevOps
labels 2026-09-12 16:56:02 +01:00
gronod changed target branch from feat/140-ui-test-absence-waits to main 2026-09-12 17:00:43 +01:00
gronod changed target branch from main to milestone/m9-monterey 2026-09-12 17:00:44 +01:00
gronod added 1 commit 2026-09-12 17:00:44 +01:00
Add a DEBUG-gated testAwareDelay helper (same ICCERY_UI_TESTING=1
convention as AppPaths.testRoot) and apply it to the ensureNotRunning
100ms poll and the XY chartread 500ms pre-kill wait. Under UI tests the
intervals shrink ~10x; release builds compile the branch out entirely,
so production timing is unchanged. No current UI test exercises XY
cancel, so the 500ms site is future-proofing at zero risk today.

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gronod merged commit 67fb3a9b37 into milestone/m9-monterey 2026-09-12 17:00:48 +01:00
gronod deleted branch feat/141-ui-test-timing 2026-09-12 17:00:48 +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#144