diff --git a/packages/react-native-editor/__device-tests__/pages/editor-page.js b/packages/react-native-editor/__device-tests__/pages/editor-page.js index d1abfc0c3f2b9..38368db877521 100644 --- a/packages/react-native-editor/__device-tests__/pages/editor-page.js +++ b/packages/react-native-editor/__device-tests__/pages/editor-page.js @@ -296,7 +296,7 @@ class EditorPage { 'Hide keyboard, Tap to hide the keyboard' ) : await this.waitForElementToBeDisplayedByXPath( - '//XCUIElementTypeButton[@name="Hide keyboard"]' + '(//XCUIElementTypeOther[@name="Hide keyboard"])[1]' ); await hideKeyboardButton.click();