maestro
maestro copied to clipboard
Landscape support for iOS
iOS testing currently does not support landscape mode. (I am not sure about the current status of landscape support with Android)
As a quick test, download the samples:
maestro download-samples
cd ./samples
unzip sample.zip
xcrun simctl install Booted Wikipedia.app
And update the iOS flow to:
appId: org.wikimedia.wikipedia
---
- launchApp
- tapOn: "Search Wikipedia"
- inputText: "tacos"
Launch the simulator and rotate into landscape mode, and then run:
maestro test ios-flow.yaml
The test reports that it passes, but it does not navigate into the search screen to type into the text.
Running maestro studio
shows a mismatch where the overlay content appears to be laid out in landscape, but the image of the app's screen is rotated 90 degrees:

NOTE: This was discussed in a couple of slack threads, but I'm adding a ticket here so myself and anyone else interested can follow along for status updates or to be notified when support is available.
- https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1671032621327279
- https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1671642307201909