Re-enable the AppLock UI tests on iPhone only.

It was only iPad that had an issue.
This commit is contained in:
Doug
2026-05-01 15:00:10 +01:00
committed by Stefan Ceriu
parent dd559c3987
commit 31e4999a8f

View File

@@ -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