I notice the docs haven't been updated in a bit for react navigation
Does anyone have a good direction to head in implementing @testing-library/react-native with react navigation 5.0.0? Having trouble trying to translate from 4.0.0 docs and the next docs don't seem to help much either! Would be much appreciated!
Simulate a Swipe Event - React Native
Does any one know if an api is provided to test swipe events? I didn't see it documented any where. I have a list of items and each item can we swiped to the side to expose a menu to edit or delete items. I was hoping to test this functionality in my tests with…
Found multiple elements with the testID of XYZ
Hello, I am new to Testing Library and React in general so I apologize if I am missing something simple. I have searched this error and came up with a Twitter post by Kent but it did not have any hints in to 'how' to fix this. I am trying to test that when a link/button is…
Testing a disabled button
I'm using react-native-testing-library to test my RN app. I want to test that use is not able click on button which is disabled. I can confirm in UI that button is disabled but when I do fireEvent.press(getByType('button')) is doesn't recognize button is disabled and actually…
Trying to get Snackbar in render output.
Hey, I am trying to access Snackbar action within the test render object, I am using react-native-testing-library. I cannot get the object, it results in "No instances found" whatever I try, getByText, getByt A11Label, nothing seems to work. Did anyone have a similia problem? Am…