test(m9): replace full-timeout negative waits with dwell assertion #143

Merged
gronod merged 1 commits from feat/140-ui-test-absence-waits into milestone/m9-monterey 2026-09-12 17:00:41 +01:00
Owner

Closes #140

Two XCTAssertFalse(el.waitForExistence(timeout: 3)) sites in Milestone2UITests always burned the full 3s on the expected-absent path. Add assertAbsent(_:dwell:) (0.5s dwell + .exists) and use it at both sites — same coverage, ~6s back per suite run.

An audit confirmed these are the only two full-timeout negative waits; the rest of the UI suite already uses the instant .exists form.

Verification

  • testSaveAndDeleteCustomPreset and testPresetExportImport pass locally with the new helper (2 tests, 0 failures).
  • Both .click() lines preserved; only the assertions changed.

Stacked on #142 — retarget to milestone/m9-monterey once that lands.

Closes #140 Two `XCTAssertFalse(el.waitForExistence(timeout: 3))` sites in `Milestone2UITests` always burned the full 3s on the expected-absent path. Add `assertAbsent(_:dwell:)` (0.5s dwell + `.exists`) and use it at both sites — same coverage, ~6s back per suite run. An audit confirmed these are the only two full-timeout negative waits; the rest of the UI suite already uses the instant `.exists` form. ## Verification - `testSaveAndDeleteCustomPreset` and `testPresetExportImport` pass locally with the new helper (2 tests, 0 failures). - Both `.click()` lines preserved; only the assertions changed. Stacked on #142 — retarget to `milestone/m9-monterey` once that lands.
gronod added the Kind/Testing
Priority
Low
4
Project/ICCery-v2Feature/UI
labels 2026-09-12 16:53:36 +01:00
gronod changed target branch from feat/139-skip-probe-rerun to main 2026-09-12 17:00:36 +01:00
gronod changed target branch from main to milestone/m9-monterey 2026-09-12 17:00:37 +01:00
gronod added 1 commit 2026-09-12 17:00:37 +01:00
Two XCTAssertFalse(el.waitForExistence(timeout: 3)) sites in
Milestone2UITests always burned the full 3s on the expected-absent
path. Add assertAbsent(_:dwell:) (0.5s dwell + .exists) and use it at
both sites — same coverage, ~6s back per suite run.

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

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
gronod merged commit eb1503aba9 into milestone/m9-monterey 2026-09-12 17:00:41 +01:00
gronod deleted branch feat/140-ui-test-absence-waits 2026-09-12 17:00:41 +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#143