Harden test harness and UI suite

This commit is contained in:
Trey t
2026-04-03 15:30:54 -05:00
parent 87b9971714
commit 0fa3db5401
13 changed files with 319 additions and 55 deletions

View File

@@ -157,8 +157,11 @@ final class TripOptionsTests: BaseUITestCase {
"'5' cities filter button should exist")
fiveCitiesButton.tap()
// Results should update; verify no crash
sleep(1)
let firstTrip = app.buttons.matching(NSPredicate(format: "identifier BEGINSWITH 'tripOptions.trip.'")).firstMatch
XCTAssertTrue(
firstTrip.waitForExistence(timeout: BaseUITestCase.shortTimeout),
"Trip results should remain visible after applying the cities filter"
)
captureScreenshot(named: "F057-CitiesFilter-5")
}