Skip to content

Commit

Permalink
Update utils.js.ejs
Browse files Browse the repository at this point in the history
  • Loading branch information
mshima authored Dec 19, 2023
1 parent 02fe277 commit e465372
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generators/app/templates/e2e/utils.js.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const toggleSwitchToValue = async (switchId, targetValue) => {
const scrollTo = async (fieldId, listId, size = 0.15, direction = 'up', speed = 'slow') => {
await waitFor(element(by.id(fieldId)))
.toBeVisible()
.whileElement(by.type('ABI49_0_0RCTCustomScrollView').withAncestor(by.id(listId)))
.whileElement(by.type('ABI49_0_0RCTScrollView').withAncestor(by.id(listId)))
.scroll(500, 'down');
};

Expand Down

0 comments on commit e465372

Please sign in to comment.