From 84e5ad7c4ca6d75e7c7dfe19116582f950208212 Mon Sep 17 00:00:00 2001 From: Valery Yatsynovich Date: Mon, 23 Jan 2023 15:10:18 +0300 Subject: [PATCH] test: Fix test broken by updates in `appium-xcuitest-driver` Changes affecting the behavior of the test: - https://github.com/appium/appium-xcuitest-driver/pull/1487 - https://github.com/appium/appium/pull/18037 --- src/test/java/io/appium/java_client/ios/IOSDriverTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/appium/java_client/ios/IOSDriverTest.java b/src/test/java/io/appium/java_client/ios/IOSDriverTest.java index ba62dcf34..43d296d55 100644 --- a/src/test/java/io/appium/java_client/ios/IOSDriverTest.java +++ b/src/test/java/io/appium/java_client/ios/IOSDriverTest.java @@ -73,7 +73,7 @@ public void addCustomCommandWithElementIdTest() { String.format("/session/%s/appium/element/%s/value", driver.getSessionId(), ((RemoteWebElement) intA).getId()), "setNewValue"); final Response setNewValue = driver.execute("setNewValue", - ImmutableMap.of("id", ((RemoteWebElement) intA).getId(), "value", "8")); + ImmutableMap.of("id", ((RemoteWebElement) intA).getId(), "text", "8")); assertNotNull(setNewValue.getSessionId()); }