question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Test Butler unable to dismiss QuickStep ANR's in Detox 19.5.7

See original GitHub issue

What happened?

After updating to Detox 19.5.7 from Detox 19.4.5 Test Butler has been unable to dismiss QuickStep ANR Modals.

Screenshot

What was the expected behaviour?

QuickStep ANR system modal dismissed by Test Butler.

Was it tested on latest Detox?

  • 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!

Will work on creating reproduction of this issue with the DetoxTemplate this upcoming week.

In what environment did this happen?

Detox version: 19.5.7 React Native version: 0.66.4 Node version: v12.22.0 Device model: Android SDK built for x86_64 Android version: 10 Test-runner (select one): jest-circus

Detox logs

Detox Logs from CI are too long to attach - will include once able to reproduce in DetoxTemplate.

Device logs

Device Logs from CI are too long to attach - will include once able to reproduce in DetoxTemplate.

More data, please!

Will attempt to downgrade Detox 19.5.7 --> Detox 19.5.1 --> Detox 19.4.5.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
d4vidicommented, Mar 29, 2022

Well there are a few things that come to mind:

  1. It is possible that while you have test-butler installed, it’s service isn’t running. Dive deeper into the the section on test-butler in the blogpost to see what’s missing.
  2. Since it’s Quickstep that isn’t responding (the device’s launcher) and not the app itself, it is fairly possible that the emulator is a bit slow during boot-time, and hence this happens regardless of Detox or your app. In such cases, the best practice is to have test-butler preinstalled and running on your emulator’s quick-boot image.
0reactions
d4vidicommented, Apr 3, 2022

Beautiful, thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found