Open plambir93kek opened 2 years ago
Hi @plambir93kek did you found any solution for this ? because i'm facing this the same issue right now
just curious, what everything is under your test?
because MenuOptions are rendered inside MenuProvider component normally
I'm facing the same issue. Even when I manually set opened={true}
, there is no menu options in the snapshot. I render menu component inside Menu Provider
in my tests.
This is still an issue. The MenuOptions component, and therefore all MenuOption components, do not appear in the screen.debug
snapshot from @testing-library/react-native.
Hi, i use Jest framework and RNTL for e2e testing, and i faced with the problem. No
MenuOption
in snapshots, also unable to find MenuOption by testID after fireEvent.press(trigger). Is there any way to have e2e tests with this library?