File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,13 +100,22 @@ jobs:
100100 steps :
101101 - uses : actions/checkout@v3
102102
103+ - name : Set Flow File
104+ id : set-flow-file
105+ run : |
106+ if [[ "${{ matrix.device }}" == "iphone-16-pro" || "${{ matrix.device }}" == "iphone-16-pro-max" ]]; then
107+ echo "flow-file=./flows/ios-flow-simple.yaml" >> $GITHUB_OUTPUT
108+ else
109+ echo "flow-file=./flows/ios-flow.yaml" >> $GITHUB_OUTPUT
110+ fi
111+
103112 - name : Run iOS Device Tests
104113 uses : devicecloud-dev/device-cloud-for-maestro@v1
105114 with :
106115 api-key : ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
107116 api-url : ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
108117 app-file : ./binaries/sample.zip
109- workspace : ./flows/ios -flow.yaml
118+ workspace : ${{ steps.set -flow-file.outputs.flow-file }}
110119 ios-device : ${{ matrix.device }}
111120 ios-version : ${{ matrix.ios-version }}
112121 name : " ${{ matrix.device }} - iOS ${{ matrix.ios-version }} Test Run"
Original file line number Diff line number Diff line change 1+ appId : org.wikimedia.wikipedia
2+ ---
3+ - launchApp
4+ - assertVisible : " The Free.*"
5+
You can’t perform that action at this time.
0 commit comments