-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Scrolling fails in React Native app on iOS. #1135
Comments
Hey @RhyG can you attach all the logs in the following directory?
Also if possible can you share the sample app where this is reproducible? |
Currently working on a repro as this is a company app behind a private repo, will post a repro as soon as I can get one. 🙏 |
Having the same here on certain screens in react-native. Scroll & swipe marks as completed, but nothing seems to happen. nothing special in the logs |
Same issue here on IOS. |
Hey @RhyG were you able to repro this in sample app. I need to validate one of the potential solutions. @samuelgja @dwightdhooge can you share the maestro flow and app binary where this is happening? |
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Ios can't scroll due to known issue so only test first asset mobile-dev-inc/Maestro#1135
Hey sorry for the late reply, unfortunately no luck and haven't had time to continue working on it. My testing got as far as showing that it worked up until 1.26.0. |
I upgraded from 1.26 to 1.32 and this started happening for me too. I have a test that scrolls our flatlist and it passes on iOS, but the list doesn't move at all. On Android, swipe seems to still work properly. |
Hey @plrdev can you share you flow and binary where this is reproducible and other details like is it react native or native? |
Unfortunately the app is a private one, so I cannot share it, but the flow is:
So two swipes to scroll downwards in a flatlist. It was working before on iOS and still works on Android. |
Hey @plrdev thanks for sharing can you replicate the flatlist in different app. Would need more data to reproduce this issue. |
Seeing the same issue, I have an onboarding screen with 6 different pages. The sample onboarding flow does not work: appId: org.wikimedia.wikipedia
---
- launchApp
- repeat:
times: 6
commands:
- swipe:
direction: LEFT
duration: 400
- waitForAnimationToEnd
- tapOn: Get started
The problem is that the first swipe is firing but the screen itself does not move (simulator is not receiving the input). The swipe test, however, passes... but the tapOn test fails because the "Get Started" button is not visible. |
Is anyone facing this problem in a modern Maestro version? |
@crystal-phantom That's a really interesting example, when there's working examples right next to the broken one. Any chance you've got a hierarchy and log you can share from ~/.maestro/tests? |
Describe the bug
Any scroll commands fail on React Native + iOS, causing tests to fail. This includes
scroll
,scrollUntilVisible
andswipe
. This effectively makes Maestro unusable for us on iOS. Works fine on Android however. From some tests it seems it works fine on1.25.0
but not on later versions.Similar was reported here however the solution there unfortunately didn't work in our case (removing a layer of nesting from the navigation) and isn't really an option.
Keen to find out if this has been experienced by anyone else, or if it's a known issue. Any help or suggestions are appreciated, because otherwise Maestro has been great but this is a big blocker.
To Reproduce
Currently working on a minimal repro, but so far haven't been able to produce one. Will update the report as soon as that's done.
Expected behavior
Scroll commands work on iOS.
Screenshots
Hard to demonstrate via screenshot, but on the left is a list of 25 elements, and the test has the following step:
Both of these are failing, as shown by the list still being at the top and not having scrolled to

Item 24
.Identifying sections have been blacked out.
Environment information (please complete the following information):
The text was updated successfully, but these errors were encountered: