Skip to content

Commit

Permalink
Fix: testCorruptEnvelope Test (#4316)
Browse files Browse the repository at this point in the history
Fixing flakiness of the test
  • Loading branch information
brustolin authored Sep 6, 2024
1 parent bec7914 commit 1b69ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class LaunchUITests: BaseUITest {
XCTAssertEqual(app.state, .notRunning)

Check failure on line 102 in Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift

View workflow job for this annotation

GitHub Actions / iOS-Swift UI Tests iPhone 8 (15.5)

testCorruptEnvelope, XCTAssertEqual failed: ("XCUIApplicationState(rawValue: 4)") is not equal to ("XCUIApplicationState(rawValue: 1)")

Check failure on line 102 in Samples/iOS-Swift/iOS-Swift-UITests/LaunchUITests.swift

View workflow job for this annotation

GitHub Actions / iOS-Swift UI Tests iPhone 14 (16.4)

testCorruptEnvelope, XCTAssertEqual failed: ("XCUIApplicationState(rawValue: 4)") is not equal to ("XCUIApplicationState(rawValue: 1)")

app.launch()
XCTAssertEqual(app.state, .runningForeground)
app.tabBars.firstMatch.waitForExistence("App did not open again")
XCTAssertEqual(app.state, .runningForeground)
}

func testCheckTotalFrames() {
Expand Down

0 comments on commit 1b69ee7

Please sign in to comment.