Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Test Failed: Couldn't click at: Tapper: com.wix.detox.espresso.action.DetoxSingleTap@14b9e36 coordinate provider

Open andreasalt41 opened this issue 2 years ago • 4 comments

What happened?

Got "Test Failed: Couldn't click at: 720.0,2811.0 precision: 16.0, 16.0 . Tapper: com.wix.detox.espresso.action.DetoxSingleTap@14b9e36 coordinate provider: VISIBLE_CENTER precision describer: FINGER. Tried 3 times. With Rollback? false" . [detox test -l verbose --debug-synchronization 2000 --configuration android.emu.devel_release -l trace --record-logs all] Here is test file: `describe('Login', () => { beforeAll(async () => { await device.launchApp(); }); it('should be able to login', async () => { await expect(element(by.text('START'))).toBeVisible(); await element(by.text('START')).tap(); }); it('should be able to login b', async () => { await expect(element(by.text('START'))).toBeVisible(); await element(by.text('START')).tap(); }); it('should be able to login2', async () => { await expect(element(by.text('I already have an account'))).toBeVisible(); await element(by.text('I already have an account')).tap(); }); }); detox.log

What was the expected behaviour?

Element PushButton is visible but it is not possible to tap it.

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?

Help us reproduce this issue!

No response

In what environment did this happen?

Detox version: 20.13.0 React Native version: 0.72.4 Has Fabric (React Native's new rendering system) enabled: (yes/no) Node version: v20.8.1 Device model: Pixel_6_Pro_API_34 Android version: Test-runner (select one): jest / other

Detox logs

Detox logs
[detox.log](https://github.com/wix/Detox/files/13218762/detox.log)

Device logs

Device logs
[device.log](https://github.com/wix/Detox/files/13218738/device.log)

More data, please!

No response

andreasalt41 avatar Oct 31 '23 16:10 andreasalt41

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

stale[bot] avatar Dec 15 '23 04:12 stale[bot]

@andreasalt41 did you have more details provide? seems community maintainer would not repro the issue since lack of some key info. I also hv the same error as you reported.

aaronpliu avatar Dec 18 '23 01:12 aaronpliu

@andreasalt41 @aaronpliu Can you check please that you have the following line in your app/build.gradle file: proguardFile "${rootProject.projectDir}/../node_modules/detox/android/detox/proguard-rules-app.pro as specified in our docs https://wix.github.io/Detox/docs/introduction/project-setup/#41-patching-build-scripts. Please verify that it reproduces in debug build. A sample project that reproduces this issue will help us a lot!

gosha212 avatar Dec 18 '23 11:12 gosha212

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe the issue is still relevant, please test on the latest Detox and report back.

Thank you for your contributions!

For more information on bots in this repository, read this discussion.

stale[bot] avatar Mar 17 '24 08:03 stale[bot]

This happened after upgrading our GenyMotion launch template from genymotion-android-12 to genymotion-android-14. We solved this by updating from Detox 20.1.2 to 20.22.2.

erksch avatar Jun 02 '24 21:06 erksch