Make Touchable* work with Detox 17#1104
Conversation
|
@jakub-gonet Is it possible to merge this PR? |
|
Sure, I don't see any blockers. Next release should be out in the next few weeks. |
|
@jakub-gonet Any chance we can do this sooner than "a few weeks"? This prevents users from updating to RN 0.63 and Detox 0.17 (which are related). |
|
If that's a blocker I can prepare a release tomorrow. |
|
1.7.0 has been released |
|
@todorone With 1.7.0 i'm still getting this issue, did it work for you?
|
|
@Guuz Hm, it fixed the issue for me, but I done it locally, I'll check new release tomorrow and let You know... |
|
@todorone yeah. i'm digging deeper into this. You probably do |
|
Also see the discussion here with Detox: wix/Detox#2156 |
|
As I mentioned in the issue, there is likely some pointer events set for the text view, or its parent, which is making it decline touch events. Detox 17 and above ensures that elements can be interacted with before actually performing the interaction. |
|
I've created a sample project that shows the issue: https://github.com/Guuz/detox-rngh |
All
Touchable*are broken when trying to run e2e tests using recently released Detox 17. It's becausetestIDprops are attached toAnimated.Viewcomponent instead ofBaseButton. This PR fix it making e2e tests using Detox working again.