Various reliability tweaks for the UI and integration tests.

This commit is contained in:
Stefan Ceriu
2024-04-01 12:27:54 +03:00
parent 96229a6695
commit a730689b1f
2 changed files with 7 additions and 1 deletions
@@ -40,6 +40,9 @@ class AppLockSetupUITests: XCTestCase {
func testCreateFlow() async throws {
app = Application.launch(.appLockSetupFlow)
// Wait for the keyboard to push the sheet up before snapshotting
try await Task.sleep(for: .seconds(0.5))
// Create PIN screen.
try await app.assertScreenshot(.appLockSetupFlow, step: Step.createPIN)