Detox icon indicating copy to clipboard operation
Detox copied to clipboard

WaitFor is missing the swipe action on Android

Open jonathanmos opened this issue 1 year ago • 6 comments

What happened?

waitFor is missing the swipe action (probably WaitForActionInteraction), and as a result calls to swipe within waitFor return errors similar to

TypeError: waitFor(...)....swipe is not a function

for example:

await waitFor(element(by.text('sometext'))).toBeVisible().whileElement(by.id('ScrollView')).swipe('down');

What was the expected behaviour?

No response

Was it tested on latest Detox?

  • [X] I have tested this issue on the latest Detox release and it still reproduces.

Did your test throw out a timeout?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: React Native version: Node version: Device model: Android version: Test-runner (select one): jest-circus / jest+jasmine / mocha / other

Detox logs

Detox logs
paste logs here!

Device logs

Device logs
paste logs here!

More data, please!

No response

jonathanmos avatar Nov 02 '22 15:11 jonathanmos