Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 820 Bytes

run-a-sample-flow.md

File metadata and controls

38 lines (29 loc) · 820 Bytes

Run a Sample Flow

{% hint style="info" %} If you want to get started writing your own Flow right away, skip ahead to the next section. {% endhint %}

Download the Samples

Use the download-samples command to download the samples:

maestro download-samples

This will download the build-in sample Flows and app into a samples/ folder in your current directory.

Run the Sample Flow

Install the sample app and then run the associated Flow using the maestro test command.

{% tabs %} {% tab title="iOS" %}

cd ./samples
unzip sample.zip
xcrun simctl install Booted Wikipedia.app
maestro test ios-flow.yaml

{% endtab %}

{% tab title="Android" %}

cd ./samples
adb install sample.apk
maestro test android-flow.yaml

{% endtab %} {% endtabs %}