Harden test harness and UI suite
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user