Skip to content

Commit 0f2d241

Browse files
misc(tests): Remove Crash Recovery test from non-critical UI Tests (#4443)
1 parent 27bdedd commit 0f2d241

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,6 @@ import XCTest
22

33
class LaunchUITests: BaseUITest {
44

5-
func testCrashRecovery() throws {
6-
//We will be removing this test from iOS 12 because it fails during CI, which looks like a bug that we cannot reproduce.
7-
//If we introduce a bug in the crash report process we will catch it with tests for iOS 13 or above.
8-
//For some reason is not possible to use @available(iOS 13, *) in the test function.
9-
if #available(iOS 13, *) {
10-
app.buttons["crashTheApp"].tap()
11-
if app.buttons["crashTheApp"].exists {
12-
XCTFail("App did not crashed")
13-
}
14-
15-
app.launch()
16-
waitForExistenceOfMainScreen()
17-
} else {
18-
throw XCTSkip("Only run on iOS 13 or later.")
19-
}
20-
}
21-
225
func testBreadcrumbData() {
236
app.buttons["Extra"].tap()
247

0 commit comments

Comments
 (0)