test(m4): retry Start Read until chartread is actually running #177

Merged
gronod merged 1 commits from fix/m4-twopass-start-retry into develop 2026-09-14 19:41:47 +01:00
Owner

Gitea run 35443 failed only:

Milestone4UITests.testTwoPassAverageFailurePromotesFirstPass at line 61 — Expected element btnCalibrate after 25s.

Same job: testHandheldFixtureChartreadAndAverage passed with the same driveOnePass. Both synthesized a Start click; the two-pass click did not start the session (idle returned in <1s, Calibrate never appeared). This is the 35251 class of bug: AX isEnabled is true while startRead() is still a no-op.

driveOnePass now re-clicks until btnCancel / Calibrate / Trigger exist (btnCancel is shown for the whole isChartreadRunning session), then waits for Calibrate.

Gitea run [35443](https://git.i3omb.com/gronod/iccery-v2-mac/actions/runs/35443/jobs/36785) failed only: `Milestone4UITests.testTwoPassAverageFailurePromotesFirstPass` at line 61 — `Expected element btnCalibrate` after 25s. Same job: `testHandheldFixtureChartreadAndAverage` passed with the same `driveOnePass`. Both synthesized a Start click; the two-pass click did not start the session (idle returned in <1s, Calibrate never appeared). This is the 35251 class of bug: AX `isEnabled` is true while `startRead()` is still a no-op. `driveOnePass` now re-clicks until `btnCancel` / Calibrate / Trigger exist (`btnCancel` is shown for the whole `isChartreadRunning` session), then waits for Calibrate.
gronod added 1 commit 2026-09-14 19:40:29 +01:00
test(m4): retry Start Read until the chartread session is running
macOS CI / package (pull_request) Canceled after 0s
macOS CI / build-and-test (pull_request) Canceled after 1m52s
macOS CI / build-and-test (push) Successful in 37m49s
macOS CI / package (push) Successful in 4m39s
c1c37bb7d7
testTwoPassAverageFailurePromotesFirstPass died on Gitea run 35443
waiting for btnCalibrate after a single Start click. Handheld in the
same job succeeded: AX reported enabled and synthesized the click, but
SwiftUI startRead() was still a no-op (same class as 35251).

Re-click until btnCancel/Calibrate/Trigger exist — Cancel is in the
tree for the whole session — then wait for Calibrate.
gronod merged commit c1c37bb7d7 into develop 2026-09-14 19:41:47 +01:00
gronod deleted branch fix/m4-twopass-start-retry 2026-09-14 19:41:47 +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#177