From b7ad1925384cd2564657444024144d34119439de Mon Sep 17 00:00:00 2001 From: Krystof Woldrich Date: Tue, 15 Oct 2024 14:34:08 +0200 Subject: [PATCH] misc(tests): Remove Crash Recovery test from non-critical UI Tests --- .../iOS-Swift-UITests/LaunchUITests.swift | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift b/Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift index 4091f8c584e..102c16de3b5 100644 --- a/Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift +++ b/Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift @@ -2,23 +2,6 @@ import XCTest class LaunchUITests: BaseUITest { - func testCrashRecovery() throws { - //We will be removing this test from iOS 12 because it fails during CI, which looks like a bug that we cannot reproduce. - //If we introduce a bug in the crash report process we will catch it with tests for iOS 13 or above. - //For some reason is not possible to use @available(iOS 13, *) in the test function. - if #available(iOS 13, *) { - app.buttons["crashTheApp"].tap() - if app.buttons["crashTheApp"].exists { - XCTFail("App did not crashed") - } - - app.launch() - waitForExistenceOfMainScreen() - } else { - throw XCTSkip("Only run on iOS 13 or later.") - } - } - func testBreadcrumbData() { app.buttons["Extra"].tap()