Skip to content

Commit 74e3020

Browse files
committed
Add Android Camera Check Test to feature workflow
1 parent 22f6100 commit 74e3020

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/feature-tests.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,12 @@ jobs:
154154
env: |
155155
BUNDLEID=org.wikimedia.wikipedia
156156
name: Run iOS Environment Variables Test
157+
158+
- name: Run Android Camera Check Test
159+
uses: devicecloud-dev/device-cloud-for-maestro@v1
160+
with:
161+
api-key: ${{ github.event.inputs.environment == 'dev' && secrets.DCD_DEV_API_KEY || secrets.DCD_API_KEY }}
162+
api-url: ${{ github.event.inputs.environment == 'dev' && 'https://api.dev.devicecloud.dev' || '' }}
163+
app-file: ./binaries/sample.apk
164+
workspace: ./flows/check-cam.yaml
165+
name: Run Android Camera Check Test

flows/check-cam.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
appId: org.wikipedia
2+
---
3+
- swipe:
4+
direction: 'UP'
5+
- tapOn:
6+
text: 'Camera'
7+
- tapOn:
8+
id: 'com.android.camera2:id/confirm_button'
9+
- tapOn:
10+
id: 'com.android.permissioncontroller:id/permission_allow_foreground_only_button'
11+
- tapOn:
12+
id: 'com.android.camera2:id/three_dots'
13+
- tapOn:
14+
id: 'com.android.camera2:id/camera_toggle_button'

0 commit comments

Comments
 (0)