diff --git a/UITests/Sources/AppLockSetupUITests.swift b/UITests/Sources/AppLockSetupUITests.swift index bcd212322a..5a3a96411c 100644 --- a/UITests/Sources/AppLockSetupUITests.swift +++ b/UITests/Sources/AppLockSetupUITests.swift @@ -11,6 +11,11 @@ import XCTest class AppLockSetupUITests: XCTestCase { var app: XCUIApplication! + override func setUpWithError() throws { + try super.setUpWithError() + continueAfterFailure = false + } + @MainActor enum Step { static let createPIN = 0 static let confirmPIN = 1 diff --git a/UITests/Sources/AppLockUITests.swift b/UITests/Sources/AppLockUITests.swift index 5c7370692a..26f920d5a5 100644 --- a/UITests/Sources/AppLockUITests.swift +++ b/UITests/Sources/AppLockUITests.swift @@ -20,6 +20,11 @@ class AppLockUITests: XCTestCase { static let unlocked = 99 } + override func setUpWithError() throws { + try super.setUpWithError() + continueAfterFailure = false + } + func testFlowEnabled() async throws { // Given an app with screen lock enabled. let client = try UITestsSignalling.Client(mode: .tests)