Skip to content

Commit

Permalink
E2E utils - Update locator to hide the keyboard on iOS to pick the fi…
Browse files Browse the repository at this point in the history
…rst element, on iPad two buttons are available and the second one makes the floating keyboard to show up
  • Loading branch information
Gerardo committed Jul 19, 2023
1 parent 92be30f commit 9ad243e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9ad243e

Please sign in to comment.