Skip to content

Commit

Permalink
fix(ci): address flaky test (json prop order)
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottAntonacAP committed Apr 23, 2024
1 parent ad52717 commit fb233b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Example/ExampleUITests/ExampleUITests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ final class ExampleUITests: XCTestCase {
textField.typeText("444")
app.buttons["Update"].tap()

XCTAssertTrue(webViewText.label.contains(#"{"amount":"444","currency":"USD"}"#))
XCTAssertTrue(webViewText.label.contains(#""amount":"444""#))
XCTAssertTrue(webViewText.label.contains(#""currency":"USD""#))
}

}

0 comments on commit fb233b4

Please sign in to comment.