A recent updateto react-navigation increases the SafeAreaView size a small amount.
This means all tests that use the scroll('down') function now break because the scroll begins on the safe area view so the scroll view doesn't scroll at all.
For example, I have this helper function that will infinitely try to scroll:
await waitFor(element(by.id(testID))).toBeVisible().whileElement(by.id(scrollView)).scroll(150, 'down');
Probably related to https://github.com/google/EarlGrey/issues/619 which is not fixed.
We don't use React Navigation, so I'm not sure when I will be able to check this.
if this appeared together with tab navigator, it was probably fixed here https://github.com/react-navigation/react-navigation-tabs/pull/110
Thanks for the info @vonovak. I will test this when i get a chance.
Thanks, guys
Most helpful comment
if this appeared together with tab navigator, it was probably fixed here https://github.com/react-navigation/react-navigation-tabs/pull/110