From a4535ebb7842b9ad669dba368b943a7c92a49e62 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Fri, 31 Jan 2025 10:02:08 +0200 Subject: [PATCH] Disable `continueAfterFailure` for the AppLock UI tests --- UITests/Sources/AppLockSetupUITests.swift | 5 +++++ UITests/Sources/AppLockUITests.swift | 5 +++++ 2 files changed, 10 insertions(+) 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)