diff --git a/UITests/Sources/AppLockSetupTests.swift b/UITests/Sources/AppLockSetupTests.swift index c4aa6fde4..339db7d62 100644 --- a/UITests/Sources/AppLockSetupTests.swift +++ b/UITests/Sources/AppLockSetupTests.swift @@ -31,7 +31,10 @@ class AppLockSetupUITests: XCTestCase { } } - func disabled_testCreateFlow() async throws { + func testCreateFlow() async throws { + // There's an issue with the number pad keyboard style on iPad. + guard UIDevice.current.userInterfaceIdiom == .phone else { return } + app = Application.launch(.appLockSetupFlow) // Wait for the keyboard to push the sheet up before snapshotting @@ -101,7 +104,10 @@ class AppLockSetupUITests: XCTestCase { try await app.assertScreenshot(step: Step.setupBiometrics) } - func disabled_testUnlockFlow() async throws { + func testUnlockFlow() async throws { + // There's an issue with the number pad keyboard style on iPad. + guard UIDevice.current.userInterfaceIdiom == .phone else { return } + app = Application.launch(.appLockSetupFlowUnlock) // Create PIN screen. @@ -119,7 +125,10 @@ class AppLockSetupUITests: XCTestCase { try await app.assertScreenshot(step: Step.clearedStack) } - func disabled_testCancel() async throws { + func testCancel() async throws { + // There's an issue with the number pad keyboard style on iPad. + guard UIDevice.current.userInterfaceIdiom == .phone else { return } + app = Application.launch(.appLockSetupFlowUnlock) app.showKeyboardIfNeeded() // The secure text field is focussed automatically