Disable continueAfterFailure for the AppLock UI tests

This commit is contained in:
Stefan Ceriu
2025-01-31 10:02:08 +02:00
committed by Stefan Ceriu
parent 54701564fa
commit b814472bad
2 changed files with 10 additions and 0 deletions

View File

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

View File

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