Re-enable the AppLock UI tests on iPhone only.
It was only iPad that had an issue.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user