You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get my tests running on android, getting stuck on an issue where a tap doesn't have an effect on the emulator, making the next expectation fail. What's strange is that I can't reproduce the issue when I only run the affected test suite (with mocha describe.only). The bug only happens when I run all the test suites. I reload RN between each suite.
Since the unresponsive element triggers a navigation transition, I thought the issue might be the synchronization not waiting long enough, but disabling it doesn't help. Only thing that worked so far is extending the whileElement api with a tap action, so that I can keep tapping the button until the next screen is visible.
So my questions are
Would you accept adding tap on whileElement?
How can I debug it to get a better understanding of why the tap silently fails?
Steps to Reproduce
Since I can only reproduce the bug as part of a bigger test suite making a demo project would be very difficult.
Description
I'm trying to get my tests running on android, getting stuck on an issue where a tap doesn't have an effect on the emulator, making the next expectation fail. What's strange is that I can't reproduce the issue when I only run the affected test suite (with mocha
describe.only
). The bug only happens when I run all the test suites. I reload RN between each suite.Since the unresponsive element triggers a navigation transition, I thought the issue might be the synchronization not waiting long enough, but disabling it doesn't help. Only thing that worked so far is extending the
whileElement
api with a tap action, so that I can keep tapping the button until the next screen is visible.So my questions are
tap
onwhileElement
?Steps to Reproduce
Since I can only reproduce the bug as part of a bigger test suite making a demo project would be very difficult.
Detox, Node, Device, Xcode and macOS Versions
Device and verbose Detox logs
Detox verbose log.txt
logcat.txt
The text was updated successfully, but these errors were encountered: