From fb233b4a471943f645c234c742c20fe6500e4032 Mon Sep 17 00:00:00 2001 From: Scott Antonac Date: Tue, 23 Apr 2024 23:34:05 +1000 Subject: [PATCH] fix(ci): address flaky test (json prop order) --- Example/ExampleUITests/ExampleUITests.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Example/ExampleUITests/ExampleUITests.swift b/Example/ExampleUITests/ExampleUITests.swift index b2c3392f..e4022037 100644 --- a/Example/ExampleUITests/ExampleUITests.swift +++ b/Example/ExampleUITests/ExampleUITests.swift @@ -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""#)) } }