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