Detox: Android API 33 (v13) / API 34 (v14) tap fail

What happened?

Since #3762 had been fixed on Detox v20.13.1. I tested it and found some of different behavior in Android.

  1. It’s OK to tap on API 32 (v12)
  2. It was tap+hold behavior on API 33 (v13) (longPress(100) is OK to tap)
  3. It ran into error on API 34 (v14) (see error below)

What was the expected behaviour?

The actions are good in different Android version

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!

No response

In what environment did this happen?

Detox version: v20.13.1 React Native version: 0.71.4 Has Fabric (React Native’s new rendering system) enabled: (yes/no) yes Node version: v16.20 Device model: Android Simulator Android version: v12 /v13 / v14 Test-runner (select one): other

Detox logs

Detox logs
Error: Exception caught in tap: DetoxRuntimeError: Test Failed: Could't click at 917.0,2313.5 precision 16.0, 16.0 . Tapper: com.wix.detox.espresso.action.DetoxSingleTap@a50819a coordinate provider: VISIBLE_CENTER precision describer: FINGER. Tried 3 times. With Rollback? false

Device logs

Device logs
paste your device.log here!

More data, please!

No response

About this issue

  • Original URL
  • State: closed
  • Created 8 months ago
  • Comments: 21 (7 by maintainers)

Most upvoted comments

i’m facing same issue

Test Failed: Couldn't click at: 100.0,232.0 precision: 16.0, 16.0 . Tapper: com.wix.detox.espresso.action.DetoxSingleTap@ef87b7e coordinate provider: com.wix.detox.espresso.DetoxAction$1@4a7a671 precision describer: FINGER. Tried 3 times. With Rollback? false

I’m using Android API 34 and the same is happening with Android API 33

Edit: it works fine in Android API 30