Detox
Detox copied to clipboard
WaitFor is missing the swipe action on Android
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?
- [ ] I have followed the instructions under Identifying which synchronization mechanism causes us to wait too much.
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