-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep.yml
More file actions
363 lines (318 loc) · 9.38 KB
/
step.yml
File metadata and controls
363 lines (318 loc) · 9.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
title: "Device Cloud for Maestro"
summary: "Uses devicecloud.dev to execute Maestro mobile tests"
description: "Executes Maestro mobile tests on devicecloud.dev with configurable parameters"
website: "https://devicecloud.dev"
source_code_url: "https://github.com/devicecloud-dev/bitrise-integration"
host_os_tags:
- osx-10.10
- ubuntu-16.04
project_type_tags:
- ios
- android
- xamarin
- react-native
- cordova
- ionic
- flutter
type_tags:
- test
is_always_run: false
is_skippable: false
run_if: ""
deps:
brew:
- name: git
- name: node
apt_get:
- name: git
- name: node
toolkit:
bash:
entry_file: step.sh
inputs:
- api_key: ""
opts:
title: "Device Cloud API Key"
summary: "devicecloud.dev API Key from your app settings"
is_expand: true
is_required: true
is_sensitive: true
- app_file: ""
opts:
title: "App File Path"
summary: "Path to the build artifact to upload"
is_expand: true
is_required: false
- app_binary_id: ""
opts:
title: "App Binary ID"
summary: "The app binary already uploaded to devicecloud.dev"
is_expand: true
is_required: false
- android_device: ""
opts:
title: "Android Device"
summary: "Android device to run your flow against"
is_expand: true
is_required: false
- ios_device: ""
opts:
title: "iOS Device"
summary: "iOS device to run your flow against"
is_expand: true
is_required: false
- workspace: ""
opts:
title: "Workspace Folder"
summary: "Path to the workspace folder containing Maestro flows"
is_expand: true
is_required: false
- env_list: ""
opts:
title: "Environment Variables"
summary: "List of environment variables to pass to the test separated by newlines (e.g. MY_VAR=my_value <newline> MY_OTHER_VAR=other_value)"
is_expand: true
is_required: false
- metadata: ""
opts:
title: "Metadata"
summary: "Arbitrary key-value metadata to include with your test run, separated by newlines (format: key=value)"
is_expand: true
is_required: false
- async: "false"
opts:
title: "Async Execution"
summary: "Run tests asynchronously (exit immediately without waiting for results)"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- dry_run: "false"
opts:
title: "Dry Run"
summary: "Simulate the run without actually triggering the upload/test, useful for debugging workflow issues"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- android_api_level: ""
opts:
title: "Android API Level"
summary: "Android API level to use for testing"
is_expand: true
is_required: false
- android_no_snapshot: "false"
opts:
title: "Android No Snapshot"
summary: "[Android only] Force cold boot instead of using snapshot boot. Automatically enabled for API 35+ but can be used to force cold boot on older API levels."
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- ios_version: ""
opts:
title: "iOS Version"
summary: "iOS version to use for testing"
is_expand: true
is_required: false
- include_tags: ""
opts:
title: "Include Tags"
summary: "Comma-separated list of tags to include in test execution"
is_expand: true
is_required: false
- exclude_tags: ""
opts:
title: "Exclude Tags"
summary: "Comma-separated list of tags to exclude from test execution"
is_expand: true
is_required: false
- exclude_flows: ""
opts:
title: "Exclude Flows"
summary: "Flows to exclude from test execution"
is_expand: true
is_required: false
- google_play: "false"
opts:
title: "Google Play"
summary: "Whether to use Google Play services"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- name: ""
opts:
title: "Test Run Name"
summary: "Custom name for the test run"
is_expand: true
is_required: false
- device_locale: ""
opts:
title: "Device Locale"
summary: "Locale to use on the device"
is_expand: true
is_required: false
- download_artifacts: ""
opts:
title: "Download Artifacts"
summary: "Which artifacts to download (ALL or FAILED)"
is_expand: true
is_required: false
- maestro_version: ""
opts:
title: "Maestro Version"
summary: "Specific version of Maestro to use"
is_expand: true
is_required: false
- orientation: ""
opts:
title: "Device Orientation"
summary: "[Android only] Device orientation (0 = portrait, 90 = landscape)"
is_expand: true
is_required: false
- show_crosshairs: "false"
opts:
title: "Show Crosshairs"
summary: "[Android only] Display crosshairs for screen interactions during test execution"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- maestro_chrome_onboarding: "false"
opts:
title: "Maestro Chrome Onboarding"
summary: "[Android only] Force Maestro-based Chrome onboarding - note: this will slow your tests but can fix browser related crashes"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- retry: ""
opts:
title: "Retry Count"
summary: "Number of times to retry failed tests"
is_expand: true
is_required: false
- runner_type: ""
opts:
title: "Runner Type"
summary: "[experimental] The type of runner to use - note: anything other than default will incur premium pricing tiers"
is_expand: true
is_required: false
- report: ""
opts:
title: "Report Format"
summary: "Generate and download test reports in the specified format (allure, junit, or html)"
is_expand: true
is_required: false
- junit_path: ""
opts:
title: "JUnit Report Path"
summary: "Custom file path for downloaded JUnit report (requires report=junit, default: ./report.xml)"
is_expand: true
is_required: false
- allure_path: ""
opts:
title: "Allure Report Path"
summary: "Custom file path for downloaded Allure report (requires report=allure, default: ./report.html)"
is_expand: true
is_required: false
- html_path: ""
opts:
title: "HTML Report Path"
summary: "Custom file path for downloaded HTML report (requires report=html, default: ./report.html)"
is_expand: true
is_required: false
- ignore_sha_check: "false"
opts:
title: "Ignore SHA Check"
summary: "Ignore the SHA hash check and upload the binary regardless of whether it already exists (not recommended)"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- api_url: ""
opts:
title: "API URL"
summary: "Custom API URL for devicecloud.dev (optional)"
is_expand: true
is_required: false
- debug: "false"
opts:
title: "Debug Mode"
summary: "Enable detailed debug logging for troubleshooting issues"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- json: "false"
opts:
title: "JSON Output"
summary: "Output results in JSON format - note: will always provide exit code 0"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- json_file: "false"
opts:
title: "JSON File Output"
summary: "Write JSON output to a file with name <run_name>_dcd.json or <upload_id>_dcd.json if no name is provided"
is_expand: true
is_required: false
default_value: "false"
value_options:
- "true"
- "false"
- json_file_name: ""
opts:
title: "JSON File Name"
summary: "Custom name for the JSON file (can also include relative path). Requires json_file to be true."
is_expand: true
is_required: false
- config: ""
opts:
title: "Config File"
summary: "Path to custom config.yaml file. If not provided, defaults to config.yaml in root flows folders."
is_expand: true
is_required: false
- artifacts_path: ""
opts:
title: "Artifacts Path"
summary: "Custom file path for downloaded artifacts (default: ./artifacts.zip)"
is_expand: true
is_required: false
outputs:
- DEVICE_CLOUD_CONSOLE_URL:
opts:
title: "Device Cloud Console URL"
summary: "URL to view the test results in the Device Cloud console"
- DEVICE_CLOUD_FLOW_RESULTS:
opts:
title: "Flow Results"
summary: "JSON array containing results for each flow, including name, status, and any errors"
- DEVICE_CLOUD_UPLOAD_STATUS:
opts:
title: "Test Run Status"
summary: "Status of the test run (PENDING, RUNNING, PASSED, FAILED, CANCELLED)"
- DEVICE_CLOUD_APP_BINARY_ID:
opts:
title: "App Binary ID"
summary: "ID of the uploaded app binary in Device Cloud"