Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android tap action fails silently #620

Closed
maartenschumacher opened this issue Mar 12, 2018 · 2 comments
Closed

Android tap action fails silently #620

maartenschumacher opened this issue Mar 12, 2018 · 2 comments

Comments

@maartenschumacher
Copy link

maartenschumacher commented Mar 12, 2018

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

  1. Would you accept adding tap on whileElement?
  2. 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.

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 7.1.0
  • React Native: 0.52.0
  • Node: 9.3.0
  • Device: Nexus_6_API_23
  • Xcode: N/A
  • macOS: 10.13.3

Device and verbose Detox logs

Detox verbose log.txt
logcat.txt

@rotemmiz
Copy link
Member

We have sync issues with Detox Android on RN>=51.
You can follow #608 for updates.

@LeoNatan
Copy link
Contributor

Closing this issue for now. Feel free to reopen if issue still reproduces after #608 is fixed

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants