From 0f2d241781d0569714a654dc25ca482e8f7d130f Mon Sep 17 00:00:00 2001 From: Krystof Woldrich <31292499+krystofwoldrich@users.noreply.github.com> Date: Tue, 29 Oct 2024 11:13:12 +0100 Subject: [PATCH] misc(tests): Remove Crash Recovery test from non-critical UI Tests (#4443) --- .../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()