From c6b707516d9951b666afbb7a2d73bc5d191a94e5 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Wed, 5 Feb 2025 10:37:13 +0200 Subject: [PATCH] Revert "Attempt to fix the every flakey app lock setup test" This reverts commit 54701564fa1a0303368916377243409554875eab. --- UITests/Sources/AppLockSetupUITests.swift | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/UITests/Sources/AppLockSetupUITests.swift b/UITests/Sources/AppLockSetupUITests.swift index 06dd7fd13..5a3a96411 100644 --- a/UITests/Sources/AppLockSetupUITests.swift +++ b/UITests/Sources/AppLockSetupUITests.swift @@ -49,17 +49,10 @@ class AppLockSetupUITests: XCTestCase { enterPIN() - // This test has been especially flakey. We noticed that confirming the PIN will - // automatically hide the keyboard which makes the whole screen shift down while - // attempting to press the allow button. We also see an `App animations complete - // notification not received, will attempt to continue.` warning which seems to - // point to the same issue. - try await Task.sleep(for: .seconds(1.0)) - // Setup biometrics screen. try await app.assertScreenshot(.appLockSetupFlow, step: Step.setupBiometrics) - app.buttons[A11yIdentifiers.appLockSetupBiometricsScreen.allow].tapCenter() + app.buttons[A11yIdentifiers.appLockSetupBiometricsScreen.allow].tap() // Settings screen. try await app.assertScreenshot(.appLockSetupFlow, step: Step.settings)