Description
Describe the Feature
I want to start acknowledging that's not RNTL
responsibility, but asking for help to improve it.
As customer (and fan) I can offer some help but I believe https://github.com/callstack/react-native-testing-library and https://github.com/software-mansion/react-native-gesture-handler would solve these issues WAY faster.
At this moment, while the app is running, the RNGH::Pressable
will deliver a very similar experience to RN::Pressable
, but if we run tests, many things start to differ.
Some items are very easy to solve (like missing a11y states) but some are trickier ( RN::Pressable
can respond to fireEvent(el, 'click')
but RNGH::Pressable
can't).
I'm creating this issue to get some help on this.
Known Differences on Testing:
RNGH::Pressable
won't work withuserEvent.press
RNGH::Pressable
won't work withfireEvent(el, 'click')
Possible Implementations
#1741
software-mansion/react-native-gesture-handler#3357