You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test run with the following CLI command: maestro test -e APP_ID=[app id] ./acceptance/maestro-poc/test.flow.yml
Tests run against the following simulator/emulator:
iOS: iPhone 15 Pro, iOS 17.5
Android: Google Pixel 8, API 35
Actual results
Maestro starts up and begins to run through the flow, however when it reaches a scroll or scrollUntilVisible command it will either pass or skip the step and move onto the next command, meanwhile the screen will remain stationary, before failing due to the test relying on the scrolling to make particular elements visible.
This applies to both Android and iOS.
The test failed debug report does not seem to allude to any issues.
Using Maestro studio I have tried to target the ScrollView but it does not seem to be available, this is also when adding a testID and also an accessible prop too.
Expected results
Once the test flow reaches the scroll and scrollUntilVisible commands within the test I would expect the screen to scroll and the desired elements to become visible.
About app
This is a closed source eCommerce app built using React Native 0.74.
I had the same issue. Worked around it by selecting a text input on the view I wanted to scroll and then dragging on it. In my case, the issue was that the view I wanted to scroll was a modal on top of the base one and it looks like Maestro was trying to scroll the base layer until I did this workaround.
Is there an existing issue for this?
Steps to reproduce
Main test flow file
Product search test file
Test run with the following CLI command:
maestro test -e APP_ID=[app id] ./acceptance/maestro-poc/test.flow.yml
Tests run against the following simulator/emulator:
iOS: iPhone 15 Pro, iOS 17.5
Android: Google Pixel 8, API 35
Actual results
Maestro starts up and begins to run through the flow, however when it reaches a
scroll
orscrollUntilVisible
command it will either pass or skip the step and move onto the next command, meanwhile the screen will remain stationary, before failing due to the test relying on the scrolling to make particular elements visible.This applies to both Android and iOS.
The test failed debug report does not seem to allude to any issues.
Using Maestro studio I have tried to target the
ScrollView
but it does not seem to be available, this is also when adding atestID
and also anaccessible
prop too.Expected results
Once the test flow reaches the
scroll
andscrollUntilVisible
commands within the test I would expect the screen to scroll and the desired elements to become visible.About app
This is a closed source eCommerce app built using React Native 0.74.
Android target SDK: 34, minimum SDK: 23
iOS minimum version: 13.4
About environment
Maestro version: 1.39.5
OS: Mac OS X
OS version: 14.4.1
Architecture: aarch64
Logs
Logs
Command returned an empty logTest debug report
Maestro version
1.39.5
How did you install Maestro?
Homebrew
Anything else?
No response
The text was updated successfully, but these errors were encountered: