Skip to content

Commit

Permalink
Mobile - E2E utils - Rename selectTextFromTextInput to selectTextFrom…
Browse files Browse the repository at this point in the history
…Element
  • Loading branch information
Gerardo committed Mar 7, 2023
1 parent fd8255d commit c6cb481
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ const tapPasteAboveElement = async ( driver, element ) => {
}
};

const selectTextFromTextInput = async ( driver, element ) => {
const selectTextFromElement = async ( driver, element ) => {
if ( isAndroid() ) {
await longPressMiddleOfElement( driver, element, 0 );
} else {
Expand Down Expand Up @@ -697,7 +697,7 @@ module.exports = {
longPressMiddleOfElement,
setClipboard,
setupDriver,
selectTextFromTextInput,
selectTextFromElement,
stopDriver,
swipeDown,
swipeFromTo,
Expand Down

0 comments on commit c6cb481

Please sign in to comment.