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

@@ -45,10 +45,12 @@ final class AppLaunchTests: BaseUITestCase {
// Background the app
XCUIDevice.shared.press(.home)
sleep(2)
// Foreground
app.activate()
waitUntil(timeout: BaseUITestCase.longTimeout, "App should return to the foreground") {
self.app.state == .runningForeground
}
// Assert: Home still loaded, no re-bootstrap
XCTAssertTrue(