@autifyhq/autify-cli 0.73.0 → 0.73.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +40 -40
- package/dist/autify/connect/client-manager/ClientManager.d.ts +1 -0
- package/dist/autify/connect/client-manager/ClientManager.js +1 -1
- package/dist/autify/connect/client-manager/StateMachine.d.ts +1 -1
- package/dist/autify/connect/client-manager/StateMachine.js +10 -3
- package/dist/autify/connect/getConnectClientStartupTimeoutMs.d.ts +1 -0
- package/dist/autify/connect/getConnectClientStartupTimeoutMs.js +17 -0
- package/dist/autify/mobile/mobilelink/getMobileLinkStartupTimeoutMs.d.ts +1 -0
- package/dist/autify/mobile/mobilelink/getMobileLinkStartupTimeoutMs.js +17 -0
- package/dist/autify/mobile/mobilelink/mobile-link-manager/MobileLinkManager.d.ts +1 -0
- package/dist/autify/mobile/mobilelink/mobile-link-manager/MobileLinkManager.js +3 -1
- package/dist/autify/mobile/mobilelink/mobile-link-manager/StateMachine.d.ts +1 -1
- package/dist/autify/mobile/mobilelink/mobile-link-manager/StateMachine.js +6 -2
- package/dist/autify/mobile/mobilelink/mobilelink.json +2 -2
- package/dist/commands/connect/client/start.js +2 -0
- package/dist/commands/mobile/link/doctor.js +2 -0
- package/dist/commands/mobile/link/exec.js +2 -0
- package/dist/commands/mobile/link/setup.js +2 -0
- package/dist/commands/mobile/link/start.js +2 -0
- package/dist/commands/web/test/run.js +2 -0
- package/dist/config.d.ts +1 -1
- package/oclif.manifest.json +729 -729
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -169,25 +169,25 @@
|
|
|
169
169
|
"start.js"
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
-
"
|
|
172
|
+
"web:api:create-access-point": {
|
|
173
173
|
"aliases": [],
|
|
174
174
|
"args": {},
|
|
175
|
-
"description": "
|
|
175
|
+
"description": "You can generate a new access point by passing in its name.",
|
|
176
176
|
"examples": [
|
|
177
177
|
"<%= config.bin %> <%= command.id %>"
|
|
178
178
|
],
|
|
179
179
|
"flags": {
|
|
180
180
|
"project-id": {
|
|
181
|
-
"description": "
|
|
181
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
182
182
|
"name": "project-id",
|
|
183
183
|
"required": true,
|
|
184
184
|
"hasDynamicHelp": false,
|
|
185
185
|
"multiple": false,
|
|
186
186
|
"type": "option"
|
|
187
187
|
},
|
|
188
|
-
"
|
|
189
|
-
"description": "
|
|
190
|
-
"name": "
|
|
188
|
+
"create-access-point-request": {
|
|
189
|
+
"description": "A JSON object with the name of the access point to be created e.g. {\"name\":\"string\"}",
|
|
190
|
+
"name": "create-access-point-request",
|
|
191
191
|
"required": true,
|
|
192
192
|
"hasDynamicHelp": false,
|
|
193
193
|
"multiple": false,
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
},
|
|
197
197
|
"hasDynamicHelp": false,
|
|
198
198
|
"hiddenAliases": [],
|
|
199
|
-
"id": "
|
|
199
|
+
"id": "web:api:create-access-point",
|
|
200
200
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
201
201
|
"pluginName": "@autifyhq/autify-cli",
|
|
202
202
|
"pluginType": "core",
|
|
@@ -206,47 +206,31 @@
|
|
|
206
206
|
"relativePath": [
|
|
207
207
|
"dist",
|
|
208
208
|
"commands",
|
|
209
|
-
"
|
|
209
|
+
"web",
|
|
210
210
|
"api",
|
|
211
|
-
"
|
|
211
|
+
"create-access-point.js"
|
|
212
212
|
]
|
|
213
213
|
},
|
|
214
|
-
"
|
|
214
|
+
"web:api:create-test-plan-variable": {
|
|
215
215
|
"aliases": [],
|
|
216
216
|
"args": {},
|
|
217
|
-
"description": "
|
|
217
|
+
"description": "Create a new variable for the test plan",
|
|
218
218
|
"examples": [
|
|
219
219
|
"<%= config.bin %> <%= command.id %>"
|
|
220
220
|
],
|
|
221
221
|
"flags": {
|
|
222
|
-
"
|
|
223
|
-
"description": "
|
|
224
|
-
"name": "
|
|
222
|
+
"test-plan-id": {
|
|
223
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
224
|
+
"name": "test-plan-id",
|
|
225
225
|
"required": true,
|
|
226
226
|
"hasDynamicHelp": false,
|
|
227
227
|
"multiple": false,
|
|
228
228
|
"type": "option"
|
|
229
229
|
},
|
|
230
|
-
"
|
|
231
|
-
"description": "
|
|
232
|
-
"name": "
|
|
233
|
-
"required":
|
|
234
|
-
"hasDynamicHelp": false,
|
|
235
|
-
"multiple": false,
|
|
236
|
-
"type": "option"
|
|
237
|
-
},
|
|
238
|
-
"per-page": {
|
|
239
|
-
"description": "Number of test results per page.",
|
|
240
|
-
"name": "per-page",
|
|
241
|
-
"required": false,
|
|
242
|
-
"hasDynamicHelp": false,
|
|
243
|
-
"multiple": false,
|
|
244
|
-
"type": "option"
|
|
245
|
-
},
|
|
246
|
-
"test-plan-id": {
|
|
247
|
-
"description": "ID of the test plan.",
|
|
248
|
-
"name": "test-plan-id",
|
|
249
|
-
"required": false,
|
|
230
|
+
"create-test-plan-variable-request": {
|
|
231
|
+
"description": "A JSON object with the new variable key and default value to use in the test plan e.g. {\"key\":\"string\",\"default_value\":\"string\"}",
|
|
232
|
+
"name": "create-test-plan-variable-request",
|
|
233
|
+
"required": true,
|
|
250
234
|
"hasDynamicHelp": false,
|
|
251
235
|
"multiple": false,
|
|
252
236
|
"type": "option"
|
|
@@ -254,7 +238,7 @@
|
|
|
254
238
|
},
|
|
255
239
|
"hasDynamicHelp": false,
|
|
256
240
|
"hiddenAliases": [],
|
|
257
|
-
"id": "
|
|
241
|
+
"id": "web:api:create-test-plan-variable",
|
|
258
242
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
259
243
|
"pluginName": "@autifyhq/autify-cli",
|
|
260
244
|
"pluginType": "core",
|
|
@@ -264,30 +248,30 @@
|
|
|
264
248
|
"relativePath": [
|
|
265
249
|
"dist",
|
|
266
250
|
"commands",
|
|
267
|
-
"
|
|
251
|
+
"web",
|
|
268
252
|
"api",
|
|
269
|
-
"
|
|
253
|
+
"create-test-plan-variable.js"
|
|
270
254
|
]
|
|
271
255
|
},
|
|
272
|
-
"
|
|
256
|
+
"web:api:create-url-replacement": {
|
|
273
257
|
"aliases": [],
|
|
274
258
|
"args": {},
|
|
275
|
-
"description": "
|
|
259
|
+
"description": "Create a new url replacement for the test plan",
|
|
276
260
|
"examples": [
|
|
277
261
|
"<%= config.bin %> <%= command.id %>"
|
|
278
262
|
],
|
|
279
263
|
"flags": {
|
|
280
264
|
"test-plan-id": {
|
|
281
|
-
"description": "
|
|
265
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
282
266
|
"name": "test-plan-id",
|
|
283
267
|
"required": true,
|
|
284
268
|
"hasDynamicHelp": false,
|
|
285
269
|
"multiple": false,
|
|
286
270
|
"type": "option"
|
|
287
271
|
},
|
|
288
|
-
"
|
|
289
|
-
"description": "A JSON object with the
|
|
290
|
-
"name": "
|
|
272
|
+
"create-url-replacement-request": {
|
|
273
|
+
"description": "A JSON object with the url to replace e.g. {\"pattern_url\":\"string\",\"replacement_url\":\"string\"}",
|
|
274
|
+
"name": "create-url-replacement-request",
|
|
291
275
|
"required": true,
|
|
292
276
|
"hasDynamicHelp": false,
|
|
293
277
|
"multiple": false,
|
|
@@ -296,7 +280,7 @@
|
|
|
296
280
|
},
|
|
297
281
|
"hasDynamicHelp": false,
|
|
298
282
|
"hiddenAliases": [],
|
|
299
|
-
"id": "
|
|
283
|
+
"id": "web:api:create-url-replacement",
|
|
300
284
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
301
285
|
"pluginName": "@autifyhq/autify-cli",
|
|
302
286
|
"pluginType": "core",
|
|
@@ -306,30 +290,30 @@
|
|
|
306
290
|
"relativePath": [
|
|
307
291
|
"dist",
|
|
308
292
|
"commands",
|
|
309
|
-
"
|
|
293
|
+
"web",
|
|
310
294
|
"api",
|
|
311
|
-
"
|
|
295
|
+
"create-url-replacement.js"
|
|
312
296
|
]
|
|
313
297
|
},
|
|
314
|
-
"
|
|
298
|
+
"web:api:delete-access-point": {
|
|
315
299
|
"aliases": [],
|
|
316
300
|
"args": {},
|
|
317
|
-
"description": "
|
|
301
|
+
"description": "You can delete an access point by passing in its name.",
|
|
318
302
|
"examples": [
|
|
319
303
|
"<%= config.bin %> <%= command.id %>"
|
|
320
304
|
],
|
|
321
305
|
"flags": {
|
|
322
306
|
"project-id": {
|
|
323
|
-
"description": "
|
|
307
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
324
308
|
"name": "project-id",
|
|
325
309
|
"required": true,
|
|
326
310
|
"hasDynamicHelp": false,
|
|
327
311
|
"multiple": false,
|
|
328
312
|
"type": "option"
|
|
329
313
|
},
|
|
330
|
-
"
|
|
331
|
-
"description": "
|
|
332
|
-
"name": "
|
|
314
|
+
"delete-access-point-request": {
|
|
315
|
+
"description": "A JSON object with the name of the access point to be deleted e.g. {\"name\":\"string\"}",
|
|
316
|
+
"name": "delete-access-point-request",
|
|
333
317
|
"required": true,
|
|
334
318
|
"hasDynamicHelp": false,
|
|
335
319
|
"multiple": false,
|
|
@@ -338,7 +322,7 @@
|
|
|
338
322
|
},
|
|
339
323
|
"hasDynamicHelp": false,
|
|
340
324
|
"hiddenAliases": [],
|
|
341
|
-
"id": "
|
|
325
|
+
"id": "web:api:delete-access-point",
|
|
342
326
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
343
327
|
"pluginName": "@autifyhq/autify-cli",
|
|
344
328
|
"pluginType": "core",
|
|
@@ -348,38 +332,30 @@
|
|
|
348
332
|
"relativePath": [
|
|
349
333
|
"dist",
|
|
350
334
|
"commands",
|
|
351
|
-
"
|
|
335
|
+
"web",
|
|
352
336
|
"api",
|
|
353
|
-
"
|
|
337
|
+
"delete-access-point.js"
|
|
354
338
|
]
|
|
355
339
|
},
|
|
356
|
-
"
|
|
340
|
+
"web:api:delete-test-plan-variable": {
|
|
357
341
|
"aliases": [],
|
|
358
|
-
"args": {
|
|
359
|
-
|
|
360
|
-
"description": "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
|
|
361
|
-
"name": "build-path",
|
|
362
|
-
"required": true
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
"description": "Upload a build file",
|
|
342
|
+
"args": {},
|
|
343
|
+
"description": "Delete an existing test plan variable for the test plan",
|
|
366
344
|
"examples": [
|
|
367
|
-
"<%= config.bin %> <%= command.id %>"
|
|
368
|
-
"Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app",
|
|
369
|
-
"Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"
|
|
345
|
+
"<%= config.bin %> <%= command.id %>"
|
|
370
346
|
],
|
|
371
347
|
"flags": {
|
|
372
|
-
"
|
|
373
|
-
"description": "
|
|
374
|
-
"
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
348
|
+
"test-plan-id": {
|
|
349
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/",
|
|
350
|
+
"name": "test-plan-id",
|
|
351
|
+
"required": true,
|
|
352
|
+
"hasDynamicHelp": false,
|
|
353
|
+
"multiple": false,
|
|
354
|
+
"type": "option"
|
|
378
355
|
},
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"name": "workspace-id",
|
|
356
|
+
"test-plan-variable-id": {
|
|
357
|
+
"description": "test_plan_variable id",
|
|
358
|
+
"name": "test-plan-variable-id",
|
|
383
359
|
"required": true,
|
|
384
360
|
"hasDynamicHelp": false,
|
|
385
361
|
"multiple": false,
|
|
@@ -388,33 +364,49 @@
|
|
|
388
364
|
},
|
|
389
365
|
"hasDynamicHelp": false,
|
|
390
366
|
"hiddenAliases": [],
|
|
391
|
-
"id": "
|
|
367
|
+
"id": "web:api:delete-test-plan-variable",
|
|
392
368
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
393
369
|
"pluginName": "@autifyhq/autify-cli",
|
|
394
370
|
"pluginType": "core",
|
|
395
371
|
"strict": true,
|
|
396
|
-
"enableJsonFlag":
|
|
372
|
+
"enableJsonFlag": false,
|
|
397
373
|
"isESM": false,
|
|
398
374
|
"relativePath": [
|
|
399
375
|
"dist",
|
|
400
376
|
"commands",
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
"
|
|
377
|
+
"web",
|
|
378
|
+
"api",
|
|
379
|
+
"delete-test-plan-variable.js"
|
|
404
380
|
]
|
|
405
381
|
},
|
|
406
|
-
"
|
|
382
|
+
"web:api:delete-url-replacement": {
|
|
407
383
|
"aliases": [],
|
|
408
384
|
"args": {},
|
|
409
|
-
"description": "
|
|
385
|
+
"description": "Delete a url replacement for the test plan",
|
|
410
386
|
"examples": [
|
|
411
|
-
"
|
|
412
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
387
|
+
"<%= config.bin %> <%= command.id %>"
|
|
413
388
|
],
|
|
414
|
-
"flags": {
|
|
389
|
+
"flags": {
|
|
390
|
+
"test-plan-id": {
|
|
391
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
392
|
+
"name": "test-plan-id",
|
|
393
|
+
"required": true,
|
|
394
|
+
"hasDynamicHelp": false,
|
|
395
|
+
"multiple": false,
|
|
396
|
+
"type": "option"
|
|
397
|
+
},
|
|
398
|
+
"url-replacement-id": {
|
|
399
|
+
"description": "url_replacement id",
|
|
400
|
+
"name": "url-replacement-id",
|
|
401
|
+
"required": true,
|
|
402
|
+
"hasDynamicHelp": false,
|
|
403
|
+
"multiple": false,
|
|
404
|
+
"type": "option"
|
|
405
|
+
}
|
|
406
|
+
},
|
|
415
407
|
"hasDynamicHelp": false,
|
|
416
408
|
"hiddenAliases": [],
|
|
417
|
-
"id": "
|
|
409
|
+
"id": "web:api:delete-url-replacement",
|
|
418
410
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
419
411
|
"pluginName": "@autifyhq/autify-cli",
|
|
420
412
|
"pluginType": "core",
|
|
@@ -424,22 +416,39 @@
|
|
|
424
416
|
"relativePath": [
|
|
425
417
|
"dist",
|
|
426
418
|
"commands",
|
|
427
|
-
"
|
|
428
|
-
"
|
|
429
|
-
"
|
|
419
|
+
"web",
|
|
420
|
+
"api",
|
|
421
|
+
"delete-url-replacement.js"
|
|
430
422
|
]
|
|
431
423
|
},
|
|
432
|
-
"
|
|
424
|
+
"web:api:describe-result": {
|
|
433
425
|
"aliases": [],
|
|
434
426
|
"args": {},
|
|
435
|
-
"description": "
|
|
427
|
+
"description": "Get a test result.",
|
|
436
428
|
"examples": [
|
|
437
|
-
"
|
|
429
|
+
"<%= config.bin %> <%= command.id %>"
|
|
438
430
|
],
|
|
439
431
|
"flags": {
|
|
440
|
-
"
|
|
441
|
-
"description": "
|
|
442
|
-
"name": "
|
|
432
|
+
"project-id": {
|
|
433
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
434
|
+
"name": "project-id",
|
|
435
|
+
"required": true,
|
|
436
|
+
"hasDynamicHelp": false,
|
|
437
|
+
"multiple": false,
|
|
438
|
+
"type": "option"
|
|
439
|
+
},
|
|
440
|
+
"result-id": {
|
|
441
|
+
"description": "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
442
|
+
"name": "result-id",
|
|
443
|
+
"required": true,
|
|
444
|
+
"hasDynamicHelp": false,
|
|
445
|
+
"multiple": false,
|
|
446
|
+
"type": "option"
|
|
447
|
+
},
|
|
448
|
+
"get-details": {
|
|
449
|
+
"description": "The flag to get details of the test case result.",
|
|
450
|
+
"name": "get-details",
|
|
451
|
+
"required": false,
|
|
443
452
|
"hasDynamicHelp": false,
|
|
444
453
|
"multiple": false,
|
|
445
454
|
"type": "option"
|
|
@@ -447,7 +456,7 @@
|
|
|
447
456
|
},
|
|
448
457
|
"hasDynamicHelp": false,
|
|
449
458
|
"hiddenAliases": [],
|
|
450
|
-
"id": "
|
|
459
|
+
"id": "web:api:describe-result",
|
|
451
460
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
452
461
|
"pluginName": "@autifyhq/autify-cli",
|
|
453
462
|
"pluginType": "core",
|
|
@@ -457,51 +466,81 @@
|
|
|
457
466
|
"relativePath": [
|
|
458
467
|
"dist",
|
|
459
468
|
"commands",
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
469
|
+
"web",
|
|
470
|
+
"api",
|
|
471
|
+
"describe-result.js"
|
|
463
472
|
]
|
|
464
473
|
},
|
|
465
|
-
"
|
|
474
|
+
"web:api:describe-scenario": {
|
|
466
475
|
"aliases": [],
|
|
467
|
-
"args": {
|
|
468
|
-
|
|
469
|
-
"name": "things"
|
|
470
|
-
}
|
|
471
|
-
},
|
|
472
|
-
"description": "Execute arbitrary MobileLink subcommand",
|
|
476
|
+
"args": {},
|
|
477
|
+
"description": "Get a scenario.",
|
|
473
478
|
"examples": [
|
|
474
|
-
"
|
|
479
|
+
"<%= config.bin %> <%= command.id %>"
|
|
475
480
|
],
|
|
476
|
-
"flags": {
|
|
481
|
+
"flags": {
|
|
482
|
+
"project-id": {
|
|
483
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
484
|
+
"name": "project-id",
|
|
485
|
+
"required": true,
|
|
486
|
+
"hasDynamicHelp": false,
|
|
487
|
+
"multiple": false,
|
|
488
|
+
"type": "option"
|
|
489
|
+
},
|
|
490
|
+
"scenario-id": {
|
|
491
|
+
"description": "For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
492
|
+
"name": "scenario-id",
|
|
493
|
+
"required": true,
|
|
494
|
+
"hasDynamicHelp": false,
|
|
495
|
+
"multiple": false,
|
|
496
|
+
"type": "option"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
477
499
|
"hasDynamicHelp": false,
|
|
478
500
|
"hiddenAliases": [],
|
|
479
|
-
"id": "
|
|
501
|
+
"id": "web:api:describe-scenario",
|
|
480
502
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
481
503
|
"pluginName": "@autifyhq/autify-cli",
|
|
482
504
|
"pluginType": "core",
|
|
483
|
-
"strict":
|
|
505
|
+
"strict": true,
|
|
484
506
|
"enableJsonFlag": false,
|
|
485
507
|
"isESM": false,
|
|
486
508
|
"relativePath": [
|
|
487
509
|
"dist",
|
|
488
510
|
"commands",
|
|
489
|
-
"
|
|
490
|
-
"
|
|
491
|
-
"
|
|
511
|
+
"web",
|
|
512
|
+
"api",
|
|
513
|
+
"describe-scenario.js"
|
|
492
514
|
]
|
|
493
515
|
},
|
|
494
|
-
"
|
|
516
|
+
"web:api:execute-scenarios": {
|
|
495
517
|
"aliases": [],
|
|
496
518
|
"args": {},
|
|
497
|
-
"description": "
|
|
519
|
+
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
498
520
|
"examples": [
|
|
499
|
-
"
|
|
521
|
+
"<%= config.bin %> <%= command.id %>"
|
|
500
522
|
],
|
|
501
|
-
"flags": {
|
|
523
|
+
"flags": {
|
|
524
|
+
"project-id": {
|
|
525
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
526
|
+
"name": "project-id",
|
|
527
|
+
"required": true,
|
|
528
|
+
"hasDynamicHelp": false,
|
|
529
|
+
"multiple": false,
|
|
530
|
+
"type": "option"
|
|
531
|
+
},
|
|
532
|
+
"execute-scenarios-request": {
|
|
533
|
+
"description": "A JSON object with the scenarios and settings to execute e.g. {\"name\":\"string\",\"execution_type\":\"parallel\",\"capabilities\":[{\"os\":\"string\",\"os_type\":\"macos\",\"os_version\":\"string\",\"device\":\"string\",\"browser\":\"string\",\"browser_type\":\"chrome\",\"browser_version\":\"string\"}],\"url_replacements\":[{\"pattern_url\":\"string\",\"replacement_url\":\"string\"}],\"scenarios\":[{\"id\":0}],\"autify_connect\":{\"name\":\"string\"}}",
|
|
534
|
+
"name": "execute-scenarios-request",
|
|
535
|
+
"required": true,
|
|
536
|
+
"hasDynamicHelp": false,
|
|
537
|
+
"multiple": false,
|
|
538
|
+
"type": "option"
|
|
539
|
+
}
|
|
540
|
+
},
|
|
502
541
|
"hasDynamicHelp": false,
|
|
503
542
|
"hiddenAliases": [],
|
|
504
|
-
"id": "
|
|
543
|
+
"id": "web:api:execute-scenarios",
|
|
505
544
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
506
545
|
"pluginName": "@autifyhq/autify-cli",
|
|
507
546
|
"pluginType": "core",
|
|
@@ -511,52 +550,31 @@
|
|
|
511
550
|
"relativePath": [
|
|
512
551
|
"dist",
|
|
513
552
|
"commands",
|
|
514
|
-
"
|
|
515
|
-
"
|
|
516
|
-
"
|
|
553
|
+
"web",
|
|
554
|
+
"api",
|
|
555
|
+
"execute-scenarios.js"
|
|
517
556
|
]
|
|
518
557
|
},
|
|
519
|
-
"
|
|
558
|
+
"web:api:execute-schedule": {
|
|
520
559
|
"aliases": [],
|
|
521
560
|
"args": {},
|
|
522
|
-
"description": "
|
|
523
|
-
"examples": [
|
|
524
|
-
"Set up MobileLink configuration:\n<%= config.bin %> <%= command.id %>"
|
|
525
|
-
],
|
|
526
|
-
"flags": {},
|
|
527
|
-
"hasDynamicHelp": false,
|
|
528
|
-
"hiddenAliases": [],
|
|
529
|
-
"id": "mobile:link:setup",
|
|
530
|
-
"pluginAlias": "@autifyhq/autify-cli",
|
|
531
|
-
"pluginName": "@autifyhq/autify-cli",
|
|
532
|
-
"pluginType": "core",
|
|
533
|
-
"strict": true,
|
|
534
|
-
"enableJsonFlag": false,
|
|
535
|
-
"isESM": false,
|
|
536
|
-
"relativePath": [
|
|
537
|
-
"dist",
|
|
538
|
-
"commands",
|
|
539
|
-
"mobile",
|
|
540
|
-
"link",
|
|
541
|
-
"setup.js"
|
|
542
|
-
]
|
|
543
|
-
},
|
|
544
|
-
"mobile:link:start": {
|
|
545
|
-
"aliases": [],
|
|
546
|
-
"args": {
|
|
547
|
-
"workspaceId": {
|
|
548
|
-
"description": "Specify the target version of Autify Connect Client.",
|
|
549
|
-
"name": "workspaceId"
|
|
550
|
-
}
|
|
551
|
-
},
|
|
552
|
-
"description": "Start MobileLink session",
|
|
561
|
+
"description": "\"Schedule\" is called as \"Test Plan\" now. If you want to run a test plan, use this endpoint.",
|
|
553
562
|
"examples": [
|
|
554
|
-
"
|
|
563
|
+
"<%= config.bin %> <%= command.id %>"
|
|
555
564
|
],
|
|
556
565
|
"flags": {
|
|
557
|
-
"
|
|
558
|
-
"description": "
|
|
559
|
-
"name": "
|
|
566
|
+
"schedule-id": {
|
|
567
|
+
"description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
|
|
568
|
+
"name": "schedule-id",
|
|
569
|
+
"required": true,
|
|
570
|
+
"hasDynamicHelp": false,
|
|
571
|
+
"multiple": false,
|
|
572
|
+
"type": "option"
|
|
573
|
+
},
|
|
574
|
+
"execute-schedule-request": {
|
|
575
|
+
"description": "A JSON object with the options to execute a test plan. e.g. {\"autify_connect\":{\"name\":\"string\"}}",
|
|
576
|
+
"name": "execute-schedule-request",
|
|
577
|
+
"required": false,
|
|
560
578
|
"hasDynamicHelp": false,
|
|
561
579
|
"multiple": false,
|
|
562
580
|
"type": "option"
|
|
@@ -564,91 +582,73 @@
|
|
|
564
582
|
},
|
|
565
583
|
"hasDynamicHelp": false,
|
|
566
584
|
"hiddenAliases": [],
|
|
567
|
-
"id": "
|
|
585
|
+
"id": "web:api:execute-schedule",
|
|
568
586
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
569
587
|
"pluginName": "@autifyhq/autify-cli",
|
|
570
588
|
"pluginType": "core",
|
|
571
|
-
"strict":
|
|
589
|
+
"strict": true,
|
|
572
590
|
"enableJsonFlag": false,
|
|
573
591
|
"isESM": false,
|
|
574
592
|
"relativePath": [
|
|
575
593
|
"dist",
|
|
576
594
|
"commands",
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
595
|
+
"web",
|
|
596
|
+
"api",
|
|
597
|
+
"execute-schedule.js"
|
|
580
598
|
]
|
|
581
599
|
},
|
|
582
|
-
"
|
|
600
|
+
"web:api:get-credit-usage": {
|
|
583
601
|
"aliases": [],
|
|
584
|
-
"args": {
|
|
585
|
-
|
|
586
|
-
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
587
|
-
"name": "test-plan-url",
|
|
588
|
-
"required": true
|
|
589
|
-
}
|
|
590
|
-
},
|
|
591
|
-
"description": "Run a test plan.",
|
|
602
|
+
"args": {},
|
|
603
|
+
"description": "Get the number of credits used in the project Notes: This endpoint works only for organizations on credit-based plans. It always returns 0 for `credits_consumed` and `credit_consumption_event_count` if your organization is on a run-based plan.",
|
|
592
604
|
"examples": [
|
|
593
|
-
"
|
|
594
|
-
"Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
595
|
-
"Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"
|
|
605
|
+
"<%= config.bin %> <%= command.id %>"
|
|
596
606
|
],
|
|
597
607
|
"flags": {
|
|
598
|
-
"
|
|
599
|
-
"description": "
|
|
600
|
-
"
|
|
601
|
-
|
|
602
|
-
],
|
|
603
|
-
"name": "build-id",
|
|
608
|
+
"project-id": {
|
|
609
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
610
|
+
"name": "project-id",
|
|
611
|
+
"required": true,
|
|
604
612
|
"hasDynamicHelp": false,
|
|
605
613
|
"multiple": false,
|
|
606
614
|
"type": "option"
|
|
607
615
|
},
|
|
608
|
-
"
|
|
609
|
-
"description": "
|
|
610
|
-
"
|
|
611
|
-
|
|
612
|
-
],
|
|
613
|
-
"name": "build-path",
|
|
616
|
+
"date-from": {
|
|
617
|
+
"description": "The date to start counting used credits from. If not specified, the date will be set to 1 week ago. Up to 90 days in advance can be specified. If the specified date is more than 90 days in the past, the date will be set to 90 days ago. Date must follow the format YYYY-MM-DD (example: \"2023-09-21\").",
|
|
618
|
+
"name": "date-from",
|
|
619
|
+
"required": false,
|
|
614
620
|
"hasDynamicHelp": false,
|
|
615
621
|
"multiple": false,
|
|
616
622
|
"type": "option"
|
|
617
623
|
},
|
|
618
|
-
"
|
|
619
|
-
"description": "
|
|
620
|
-
"name": "
|
|
624
|
+
"date-to": {
|
|
625
|
+
"description": "The date to end counting used credits from. If not specified, the date will be set to today. Date must follow the format YYYY-MM-DD (example: \"2023-09-28\").",
|
|
626
|
+
"name": "date-to",
|
|
627
|
+
"required": false,
|
|
621
628
|
"hasDynamicHelp": false,
|
|
622
629
|
"multiple": false,
|
|
623
630
|
"type": "option"
|
|
624
631
|
},
|
|
625
|
-
"
|
|
626
|
-
"
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"allowNo": false,
|
|
630
|
-
"type": "boolean"
|
|
631
|
-
},
|
|
632
|
-
"timeout": {
|
|
633
|
-
"char": "t",
|
|
634
|
-
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
635
|
-
"name": "timeout",
|
|
636
|
-
"default": 300,
|
|
632
|
+
"scenario-id": {
|
|
633
|
+
"description": "The scenario ID to filter used credits by.",
|
|
634
|
+
"name": "scenario-id",
|
|
635
|
+
"required": false,
|
|
637
636
|
"hasDynamicHelp": false,
|
|
638
637
|
"multiple": false,
|
|
639
638
|
"type": "option"
|
|
640
639
|
},
|
|
641
|
-
"
|
|
642
|
-
"
|
|
643
|
-
"
|
|
644
|
-
"
|
|
645
|
-
"
|
|
646
|
-
"
|
|
640
|
+
"test-plan-id": {
|
|
641
|
+
"description": "The test plan ID to filter used credits by.",
|
|
642
|
+
"name": "test-plan-id",
|
|
643
|
+
"required": false,
|
|
644
|
+
"hasDynamicHelp": false,
|
|
645
|
+
"multiple": false,
|
|
646
|
+
"type": "option"
|
|
647
647
|
},
|
|
648
|
-
"
|
|
649
|
-
"description": "
|
|
650
|
-
"name": "
|
|
651
|
-
"
|
|
648
|
+
"user-id": {
|
|
649
|
+
"description": "The user ID that executed tests to filter used credits by.",
|
|
650
|
+
"name": "user-id",
|
|
651
|
+
"required": false,
|
|
652
652
|
"hasDynamicHelp": false,
|
|
653
653
|
"multiple": false,
|
|
654
654
|
"type": "option"
|
|
@@ -656,7 +656,7 @@
|
|
|
656
656
|
},
|
|
657
657
|
"hasDynamicHelp": false,
|
|
658
658
|
"hiddenAliases": [],
|
|
659
|
-
"id": "
|
|
659
|
+
"id": "web:api:get-credit-usage",
|
|
660
660
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
661
661
|
"pluginName": "@autifyhq/autify-cli",
|
|
662
662
|
"pluginType": "core",
|
|
@@ -666,45 +666,31 @@
|
|
|
666
666
|
"relativePath": [
|
|
667
667
|
"dist",
|
|
668
668
|
"commands",
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"
|
|
669
|
+
"web",
|
|
670
|
+
"api",
|
|
671
|
+
"get-credit-usage.js"
|
|
672
672
|
]
|
|
673
673
|
},
|
|
674
|
-
"
|
|
674
|
+
"web:api:get-project-info": {
|
|
675
675
|
"aliases": [],
|
|
676
|
-
"args": {
|
|
677
|
-
|
|
678
|
-
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
679
|
-
"name": "test-result-url",
|
|
680
|
-
"required": true
|
|
681
|
-
}
|
|
682
|
-
},
|
|
683
|
-
"description": "Wait a test result until it finishes.",
|
|
676
|
+
"args": {},
|
|
677
|
+
"description": "Get project information.",
|
|
684
678
|
"examples": [
|
|
685
|
-
"<%= config.bin %> <%= command.id %>
|
|
679
|
+
"<%= config.bin %> <%= command.id %>"
|
|
686
680
|
],
|
|
687
681
|
"flags": {
|
|
688
|
-
"
|
|
689
|
-
"
|
|
690
|
-
"
|
|
691
|
-
"
|
|
692
|
-
"default": 300,
|
|
682
|
+
"project-id": {
|
|
683
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/project_info",
|
|
684
|
+
"name": "project-id",
|
|
685
|
+
"required": true,
|
|
693
686
|
"hasDynamicHelp": false,
|
|
694
687
|
"multiple": false,
|
|
695
688
|
"type": "option"
|
|
696
|
-
},
|
|
697
|
-
"verbose": {
|
|
698
|
-
"char": "v",
|
|
699
|
-
"description": "Verbose output",
|
|
700
|
-
"name": "verbose",
|
|
701
|
-
"allowNo": false,
|
|
702
|
-
"type": "boolean"
|
|
703
689
|
}
|
|
704
690
|
},
|
|
705
691
|
"hasDynamicHelp": false,
|
|
706
692
|
"hiddenAliases": [],
|
|
707
|
-
"id": "
|
|
693
|
+
"id": "web:api:get-project-info",
|
|
708
694
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
709
695
|
"pluginName": "@autifyhq/autify-cli",
|
|
710
696
|
"pluginType": "core",
|
|
@@ -714,15 +700,15 @@
|
|
|
714
700
|
"relativePath": [
|
|
715
701
|
"dist",
|
|
716
702
|
"commands",
|
|
717
|
-
"
|
|
718
|
-
"
|
|
719
|
-
"
|
|
703
|
+
"web",
|
|
704
|
+
"api",
|
|
705
|
+
"get-project-info.js"
|
|
720
706
|
]
|
|
721
707
|
},
|
|
722
|
-
"web:api:
|
|
708
|
+
"web:api:list-access-points": {
|
|
723
709
|
"aliases": [],
|
|
724
710
|
"args": {},
|
|
725
|
-
"description": "
|
|
711
|
+
"description": "List access points for the project.",
|
|
726
712
|
"examples": [
|
|
727
713
|
"<%= config.bin %> <%= command.id %>"
|
|
728
714
|
],
|
|
@@ -735,10 +721,10 @@
|
|
|
735
721
|
"multiple": false,
|
|
736
722
|
"type": "option"
|
|
737
723
|
},
|
|
738
|
-
"
|
|
739
|
-
"description": "
|
|
740
|
-
"name": "
|
|
741
|
-
"required":
|
|
724
|
+
"page": {
|
|
725
|
+
"description": "The number of page returns.",
|
|
726
|
+
"name": "page",
|
|
727
|
+
"required": false,
|
|
742
728
|
"hasDynamicHelp": false,
|
|
743
729
|
"multiple": false,
|
|
744
730
|
"type": "option"
|
|
@@ -746,7 +732,7 @@
|
|
|
746
732
|
},
|
|
747
733
|
"hasDynamicHelp": false,
|
|
748
734
|
"hiddenAliases": [],
|
|
749
|
-
"id": "web:api:
|
|
735
|
+
"id": "web:api:list-access-points",
|
|
750
736
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
751
737
|
"pluginName": "@autifyhq/autify-cli",
|
|
752
738
|
"pluginType": "core",
|
|
@@ -758,38 +744,70 @@
|
|
|
758
744
|
"commands",
|
|
759
745
|
"web",
|
|
760
746
|
"api",
|
|
761
|
-
"
|
|
747
|
+
"list-access-points.js"
|
|
762
748
|
]
|
|
763
749
|
},
|
|
764
|
-
"web:api:
|
|
750
|
+
"web:api:list-capabilities": {
|
|
765
751
|
"aliases": [],
|
|
766
752
|
"args": {},
|
|
767
|
-
"description": "
|
|
753
|
+
"description": "List available Capabilities.",
|
|
768
754
|
"examples": [
|
|
769
755
|
"<%= config.bin %> <%= command.id %>"
|
|
770
756
|
],
|
|
771
757
|
"flags": {
|
|
772
|
-
"
|
|
773
|
-
"description": "For example,
|
|
774
|
-
"name": "
|
|
758
|
+
"project-id": {
|
|
759
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
|
|
760
|
+
"name": "project-id",
|
|
775
761
|
"required": true,
|
|
776
762
|
"hasDynamicHelp": false,
|
|
777
763
|
"multiple": false,
|
|
778
764
|
"type": "option"
|
|
779
765
|
},
|
|
780
|
-
"
|
|
781
|
-
"description": "
|
|
782
|
-
"name": "
|
|
783
|
-
"required":
|
|
766
|
+
"os": {
|
|
767
|
+
"description": "os name to filter (deprecated)",
|
|
768
|
+
"name": "os",
|
|
769
|
+
"required": false,
|
|
784
770
|
"hasDynamicHelp": false,
|
|
785
771
|
"multiple": false,
|
|
786
772
|
"type": "option"
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
773
|
+
},
|
|
774
|
+
"os-type": {
|
|
775
|
+
"description": "Type of the os to filter",
|
|
776
|
+
"name": "os-type",
|
|
777
|
+
"required": false,
|
|
778
|
+
"hasDynamicHelp": false,
|
|
779
|
+
"multiple": false,
|
|
780
|
+
"type": "option"
|
|
781
|
+
},
|
|
782
|
+
"browser": {
|
|
783
|
+
"description": "browser name to filter (deprecated)",
|
|
784
|
+
"name": "browser",
|
|
785
|
+
"required": false,
|
|
786
|
+
"hasDynamicHelp": false,
|
|
787
|
+
"multiple": false,
|
|
788
|
+
"type": "option"
|
|
789
|
+
},
|
|
790
|
+
"browser-type": {
|
|
791
|
+
"description": "Type of the browser to filter",
|
|
792
|
+
"name": "browser-type",
|
|
793
|
+
"required": false,
|
|
794
|
+
"hasDynamicHelp": false,
|
|
795
|
+
"multiple": false,
|
|
796
|
+
"type": "option"
|
|
797
|
+
},
|
|
798
|
+
"device-type": {
|
|
799
|
+
"description": "device_type name to filter (mobile is deprecated)",
|
|
800
|
+
"name": "device-type",
|
|
801
|
+
"required": false,
|
|
802
|
+
"hasDynamicHelp": false,
|
|
803
|
+
"multiple": false,
|
|
804
|
+
"type": "option"
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"hasDynamicHelp": false,
|
|
808
|
+
"hiddenAliases": [],
|
|
809
|
+
"id": "web:api:list-capabilities",
|
|
810
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
793
811
|
"pluginName": "@autifyhq/autify-cli",
|
|
794
812
|
"pluginType": "core",
|
|
795
813
|
"strict": true,
|
|
@@ -800,29 +818,45 @@
|
|
|
800
818
|
"commands",
|
|
801
819
|
"web",
|
|
802
820
|
"api",
|
|
803
|
-
"
|
|
821
|
+
"list-capabilities.js"
|
|
804
822
|
]
|
|
805
823
|
},
|
|
806
|
-
"web:api:
|
|
824
|
+
"web:api:list-results": {
|
|
807
825
|
"aliases": [],
|
|
808
826
|
"args": {},
|
|
809
|
-
"description": "
|
|
827
|
+
"description": "List test results.",
|
|
810
828
|
"examples": [
|
|
811
829
|
"<%= config.bin %> <%= command.id %>"
|
|
812
830
|
],
|
|
813
831
|
"flags": {
|
|
814
|
-
"
|
|
815
|
-
"description": "For example,
|
|
816
|
-
"name": "
|
|
832
|
+
"project-id": {
|
|
833
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
834
|
+
"name": "project-id",
|
|
817
835
|
"required": true,
|
|
818
836
|
"hasDynamicHelp": false,
|
|
819
837
|
"multiple": false,
|
|
820
838
|
"type": "option"
|
|
821
839
|
},
|
|
822
|
-
"
|
|
823
|
-
"description": "
|
|
824
|
-
"name": "
|
|
825
|
-
"required":
|
|
840
|
+
"page": {
|
|
841
|
+
"description": "The number of page returns.",
|
|
842
|
+
"name": "page",
|
|
843
|
+
"required": false,
|
|
844
|
+
"hasDynamicHelp": false,
|
|
845
|
+
"multiple": false,
|
|
846
|
+
"type": "option"
|
|
847
|
+
},
|
|
848
|
+
"per-page": {
|
|
849
|
+
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
850
|
+
"name": "per-page",
|
|
851
|
+
"required": false,
|
|
852
|
+
"hasDynamicHelp": false,
|
|
853
|
+
"multiple": false,
|
|
854
|
+
"type": "option"
|
|
855
|
+
},
|
|
856
|
+
"test-plan-id": {
|
|
857
|
+
"description": "Test plan ID used to filter results.",
|
|
858
|
+
"name": "test-plan-id",
|
|
859
|
+
"required": false,
|
|
826
860
|
"hasDynamicHelp": false,
|
|
827
861
|
"multiple": false,
|
|
828
862
|
"type": "option"
|
|
@@ -830,7 +864,7 @@
|
|
|
830
864
|
},
|
|
831
865
|
"hasDynamicHelp": false,
|
|
832
866
|
"hiddenAliases": [],
|
|
833
|
-
"id": "web:api:
|
|
867
|
+
"id": "web:api:list-results",
|
|
834
868
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
835
869
|
"pluginName": "@autifyhq/autify-cli",
|
|
836
870
|
"pluginType": "core",
|
|
@@ -842,13 +876,13 @@
|
|
|
842
876
|
"commands",
|
|
843
877
|
"web",
|
|
844
878
|
"api",
|
|
845
|
-
"
|
|
879
|
+
"list-results.js"
|
|
846
880
|
]
|
|
847
881
|
},
|
|
848
|
-
"web:api:
|
|
882
|
+
"web:api:list-scenarios": {
|
|
849
883
|
"aliases": [],
|
|
850
884
|
"args": {},
|
|
851
|
-
"description": "
|
|
885
|
+
"description": "List scenarios.",
|
|
852
886
|
"examples": [
|
|
853
887
|
"<%= config.bin %> <%= command.id %>"
|
|
854
888
|
],
|
|
@@ -861,10 +895,10 @@
|
|
|
861
895
|
"multiple": false,
|
|
862
896
|
"type": "option"
|
|
863
897
|
},
|
|
864
|
-
"
|
|
865
|
-
"description": "
|
|
866
|
-
"name": "
|
|
867
|
-
"required":
|
|
898
|
+
"page": {
|
|
899
|
+
"description": "The number of page returns.",
|
|
900
|
+
"name": "page",
|
|
901
|
+
"required": false,
|
|
868
902
|
"hasDynamicHelp": false,
|
|
869
903
|
"multiple": false,
|
|
870
904
|
"type": "option"
|
|
@@ -872,7 +906,7 @@
|
|
|
872
906
|
},
|
|
873
907
|
"hasDynamicHelp": false,
|
|
874
908
|
"hiddenAliases": [],
|
|
875
|
-
"id": "web:api:
|
|
909
|
+
"id": "web:api:list-scenarios",
|
|
876
910
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
877
911
|
"pluginName": "@autifyhq/autify-cli",
|
|
878
912
|
"pluginType": "core",
|
|
@@ -884,37 +918,29 @@
|
|
|
884
918
|
"commands",
|
|
885
919
|
"web",
|
|
886
920
|
"api",
|
|
887
|
-
"
|
|
921
|
+
"list-scenarios.js"
|
|
888
922
|
]
|
|
889
923
|
},
|
|
890
|
-
"web:api:
|
|
924
|
+
"web:api:list-test-plan-variable": {
|
|
891
925
|
"aliases": [],
|
|
892
926
|
"args": {},
|
|
893
|
-
"description": "
|
|
927
|
+
"description": "List the test plan's variables",
|
|
894
928
|
"examples": [
|
|
895
929
|
"<%= config.bin %> <%= command.id %>"
|
|
896
930
|
],
|
|
897
931
|
"flags": {
|
|
898
932
|
"test-plan-id": {
|
|
899
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15
|
|
933
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
900
934
|
"name": "test-plan-id",
|
|
901
935
|
"required": true,
|
|
902
936
|
"hasDynamicHelp": false,
|
|
903
937
|
"multiple": false,
|
|
904
938
|
"type": "option"
|
|
905
|
-
},
|
|
906
|
-
"test-plan-variable-id": {
|
|
907
|
-
"description": "test_plan_variable id",
|
|
908
|
-
"name": "test-plan-variable-id",
|
|
909
|
-
"required": true,
|
|
910
|
-
"hasDynamicHelp": false,
|
|
911
|
-
"multiple": false,
|
|
912
|
-
"type": "option"
|
|
913
939
|
}
|
|
914
940
|
},
|
|
915
941
|
"hasDynamicHelp": false,
|
|
916
942
|
"hiddenAliases": [],
|
|
917
|
-
"id": "web:api:
|
|
943
|
+
"id": "web:api:list-test-plan-variable",
|
|
918
944
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
919
945
|
"pluginName": "@autifyhq/autify-cli",
|
|
920
946
|
"pluginType": "core",
|
|
@@ -926,13 +952,13 @@
|
|
|
926
952
|
"commands",
|
|
927
953
|
"web",
|
|
928
954
|
"api",
|
|
929
|
-
"
|
|
955
|
+
"list-test-plan-variable.js"
|
|
930
956
|
]
|
|
931
957
|
},
|
|
932
|
-
"web:api:
|
|
958
|
+
"web:api:list-url-replacements": {
|
|
933
959
|
"aliases": [],
|
|
934
960
|
"args": {},
|
|
935
|
-
"description": "
|
|
961
|
+
"description": "List url replacements for the test plan",
|
|
936
962
|
"examples": [
|
|
937
963
|
"<%= config.bin %> <%= command.id %>"
|
|
938
964
|
],
|
|
@@ -944,19 +970,11 @@
|
|
|
944
970
|
"hasDynamicHelp": false,
|
|
945
971
|
"multiple": false,
|
|
946
972
|
"type": "option"
|
|
947
|
-
},
|
|
948
|
-
"url-replacement-id": {
|
|
949
|
-
"description": "url_replacement id",
|
|
950
|
-
"name": "url-replacement-id",
|
|
951
|
-
"required": true,
|
|
952
|
-
"hasDynamicHelp": false,
|
|
953
|
-
"multiple": false,
|
|
954
|
-
"type": "option"
|
|
955
973
|
}
|
|
956
974
|
},
|
|
957
975
|
"hasDynamicHelp": false,
|
|
958
976
|
"hiddenAliases": [],
|
|
959
|
-
"id": "web:api:
|
|
977
|
+
"id": "web:api:list-url-replacements",
|
|
960
978
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
961
979
|
"pluginName": "@autifyhq/autify-cli",
|
|
962
980
|
"pluginType": "core",
|
|
@@ -968,37 +986,37 @@
|
|
|
968
986
|
"commands",
|
|
969
987
|
"web",
|
|
970
988
|
"api",
|
|
971
|
-
"
|
|
989
|
+
"list-url-replacements.js"
|
|
972
990
|
]
|
|
973
991
|
},
|
|
974
|
-
"web:api:
|
|
992
|
+
"web:api:update-test-plan-variable": {
|
|
975
993
|
"aliases": [],
|
|
976
994
|
"args": {},
|
|
977
|
-
"description": "
|
|
995
|
+
"description": "Update a url replacement for the test plan",
|
|
978
996
|
"examples": [
|
|
979
997
|
"<%= config.bin %> <%= command.id %>"
|
|
980
998
|
],
|
|
981
999
|
"flags": {
|
|
982
|
-
"
|
|
983
|
-
"description": "For example,
|
|
984
|
-
"name": "
|
|
1000
|
+
"test-plan-id": {
|
|
1001
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1002
|
+
"name": "test-plan-id",
|
|
985
1003
|
"required": true,
|
|
986
1004
|
"hasDynamicHelp": false,
|
|
987
1005
|
"multiple": false,
|
|
988
1006
|
"type": "option"
|
|
989
1007
|
},
|
|
990
|
-
"
|
|
991
|
-
"description": "
|
|
992
|
-
"name": "
|
|
1008
|
+
"test-plan-variable-id": {
|
|
1009
|
+
"description": "test_plan_variable id",
|
|
1010
|
+
"name": "test-plan-variable-id",
|
|
993
1011
|
"required": true,
|
|
994
1012
|
"hasDynamicHelp": false,
|
|
995
1013
|
"multiple": false,
|
|
996
1014
|
"type": "option"
|
|
997
1015
|
},
|
|
998
|
-
"
|
|
999
|
-
"description": "
|
|
1000
|
-
"name": "
|
|
1001
|
-
"required":
|
|
1016
|
+
"update-test-plan-variable-request": {
|
|
1017
|
+
"description": "A JSON object with the variable's new key and/or default_value's value to register e.g. {\"key\":\"string\",\"default_value\":\"string\"}",
|
|
1018
|
+
"name": "update-test-plan-variable-request",
|
|
1019
|
+
"required": true,
|
|
1002
1020
|
"hasDynamicHelp": false,
|
|
1003
1021
|
"multiple": false,
|
|
1004
1022
|
"type": "option"
|
|
@@ -1006,7 +1024,7 @@
|
|
|
1006
1024
|
},
|
|
1007
1025
|
"hasDynamicHelp": false,
|
|
1008
1026
|
"hiddenAliases": [],
|
|
1009
|
-
"id": "web:api:
|
|
1027
|
+
"id": "web:api:update-test-plan-variable",
|
|
1010
1028
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1011
1029
|
"pluginName": "@autifyhq/autify-cli",
|
|
1012
1030
|
"pluginType": "core",
|
|
@@ -1018,28 +1036,36 @@
|
|
|
1018
1036
|
"commands",
|
|
1019
1037
|
"web",
|
|
1020
1038
|
"api",
|
|
1021
|
-
"
|
|
1039
|
+
"update-test-plan-variable.js"
|
|
1022
1040
|
]
|
|
1023
1041
|
},
|
|
1024
|
-
"web:api:
|
|
1042
|
+
"web:api:update-url-replacement": {
|
|
1025
1043
|
"aliases": [],
|
|
1026
1044
|
"args": {},
|
|
1027
|
-
"description": "
|
|
1045
|
+
"description": "Update a url replacement for the test plan",
|
|
1028
1046
|
"examples": [
|
|
1029
1047
|
"<%= config.bin %> <%= command.id %>"
|
|
1030
1048
|
],
|
|
1031
1049
|
"flags": {
|
|
1032
|
-
"
|
|
1033
|
-
"description": "For example,
|
|
1034
|
-
"name": "
|
|
1050
|
+
"test-plan-id": {
|
|
1051
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1052
|
+
"name": "test-plan-id",
|
|
1035
1053
|
"required": true,
|
|
1036
1054
|
"hasDynamicHelp": false,
|
|
1037
1055
|
"multiple": false,
|
|
1038
1056
|
"type": "option"
|
|
1039
1057
|
},
|
|
1040
|
-
"
|
|
1041
|
-
"description": "
|
|
1042
|
-
"name": "
|
|
1058
|
+
"url-replacement-id": {
|
|
1059
|
+
"description": "url_replacement id",
|
|
1060
|
+
"name": "url-replacement-id",
|
|
1061
|
+
"required": true,
|
|
1062
|
+
"hasDynamicHelp": false,
|
|
1063
|
+
"multiple": false,
|
|
1064
|
+
"type": "option"
|
|
1065
|
+
},
|
|
1066
|
+
"update-url-replacement-request": {
|
|
1067
|
+
"description": "A JSON object with the url to replace. Either pattern_url or replacement_url is required. e.g. {\"pattern_url\":\"string\",\"replacement_url\":\"string\"}",
|
|
1068
|
+
"name": "update-url-replacement-request",
|
|
1043
1069
|
"required": true,
|
|
1044
1070
|
"hasDynamicHelp": false,
|
|
1045
1071
|
"multiple": false,
|
|
@@ -1048,7 +1074,7 @@
|
|
|
1048
1074
|
},
|
|
1049
1075
|
"hasDynamicHelp": false,
|
|
1050
1076
|
"hiddenAliases": [],
|
|
1051
|
-
"id": "web:api:
|
|
1077
|
+
"id": "web:api:update-url-replacement",
|
|
1052
1078
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1053
1079
|
"pluginName": "@autifyhq/autify-cli",
|
|
1054
1080
|
"pluginType": "core",
|
|
@@ -1060,37 +1086,21 @@
|
|
|
1060
1086
|
"commands",
|
|
1061
1087
|
"web",
|
|
1062
1088
|
"api",
|
|
1063
|
-
"
|
|
1089
|
+
"update-url-replacement.js"
|
|
1064
1090
|
]
|
|
1065
1091
|
},
|
|
1066
|
-
"web:
|
|
1092
|
+
"web:auth:login": {
|
|
1067
1093
|
"aliases": [],
|
|
1068
1094
|
"args": {},
|
|
1069
|
-
"description": "
|
|
1095
|
+
"description": "Login to Autify for Web",
|
|
1070
1096
|
"examples": [
|
|
1071
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1097
|
+
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1098
|
+
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1072
1099
|
],
|
|
1073
|
-
"flags": {
|
|
1074
|
-
"project-id": {
|
|
1075
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
1076
|
-
"name": "project-id",
|
|
1077
|
-
"required": true,
|
|
1078
|
-
"hasDynamicHelp": false,
|
|
1079
|
-
"multiple": false,
|
|
1080
|
-
"type": "option"
|
|
1081
|
-
},
|
|
1082
|
-
"execute-scenarios-request": {
|
|
1083
|
-
"description": "A JSON object with the scenarios and settings to execute e.g. {\"name\":\"string\",\"execution_type\":\"parallel\",\"capabilities\":[{\"os\":\"string\",\"os_type\":\"macos\",\"os_version\":\"string\",\"device\":\"string\",\"browser\":\"string\",\"browser_type\":\"chrome\",\"browser_version\":\"string\"}],\"url_replacements\":[{\"pattern_url\":\"string\",\"replacement_url\":\"string\"}],\"scenarios\":[{\"id\":0}],\"autify_connect\":{\"name\":\"string\"}}",
|
|
1084
|
-
"name": "execute-scenarios-request",
|
|
1085
|
-
"required": true,
|
|
1086
|
-
"hasDynamicHelp": false,
|
|
1087
|
-
"multiple": false,
|
|
1088
|
-
"type": "option"
|
|
1089
|
-
}
|
|
1090
|
-
},
|
|
1100
|
+
"flags": {},
|
|
1091
1101
|
"hasDynamicHelp": false,
|
|
1092
1102
|
"hiddenAliases": [],
|
|
1093
|
-
"id": "web:
|
|
1103
|
+
"id": "web:auth:login",
|
|
1094
1104
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1095
1105
|
"pluginName": "@autifyhq/autify-cli",
|
|
1096
1106
|
"pluginType": "core",
|
|
@@ -1101,104 +1111,169 @@
|
|
|
1101
1111
|
"dist",
|
|
1102
1112
|
"commands",
|
|
1103
1113
|
"web",
|
|
1104
|
-
"
|
|
1105
|
-
"
|
|
1114
|
+
"auth",
|
|
1115
|
+
"login.js"
|
|
1106
1116
|
]
|
|
1107
1117
|
},
|
|
1108
|
-
"web:
|
|
1118
|
+
"web:test:run": {
|
|
1109
1119
|
"aliases": [],
|
|
1110
|
-
"args": {
|
|
1111
|
-
|
|
1120
|
+
"args": {
|
|
1121
|
+
"scenario-or-test-plan-url": {
|
|
1122
|
+
"description": "Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>",
|
|
1123
|
+
"name": "scenario-or-test-plan-url",
|
|
1124
|
+
"required": true
|
|
1125
|
+
}
|
|
1126
|
+
},
|
|
1127
|
+
"description": "Run a scenario or test plan.",
|
|
1112
1128
|
"examples": [
|
|
1113
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1129
|
+
"Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000",
|
|
1130
|
+
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
1131
|
+
"Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600",
|
|
1132
|
+
"Run a test scenario with a specific capability:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --os \"Windows Server\" --browser Edge",
|
|
1133
|
+
"With URL replacements:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 -r \"http://example.com http://example.net\" -r \"http://example.org http://example.net\"",
|
|
1134
|
+
"Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"",
|
|
1135
|
+
"Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME",
|
|
1136
|
+
"Run a test scenario with Autify Connect Client:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client"
|
|
1114
1137
|
],
|
|
1115
1138
|
"flags": {
|
|
1116
|
-
"
|
|
1117
|
-
"
|
|
1118
|
-
"
|
|
1119
|
-
"
|
|
1139
|
+
"name": {
|
|
1140
|
+
"char": "n",
|
|
1141
|
+
"description": "[Only for test scenario] Name of the test execution.",
|
|
1142
|
+
"name": "name",
|
|
1120
1143
|
"hasDynamicHelp": false,
|
|
1121
1144
|
"multiple": false,
|
|
1122
1145
|
"type": "option"
|
|
1123
1146
|
},
|
|
1124
|
-
"
|
|
1125
|
-
"
|
|
1126
|
-
"
|
|
1127
|
-
"
|
|
1147
|
+
"url-replacements": {
|
|
1148
|
+
"char": "r",
|
|
1149
|
+
"description": "URL replacements. Example: \"http://example.com http://example.net\"",
|
|
1150
|
+
"name": "url-replacements",
|
|
1151
|
+
"hasDynamicHelp": false,
|
|
1152
|
+
"multiple": true,
|
|
1153
|
+
"type": "option"
|
|
1154
|
+
},
|
|
1155
|
+
"autify-connect": {
|
|
1156
|
+
"description": "Name of the Autify Connect Access Point.",
|
|
1157
|
+
"exclusive": [
|
|
1158
|
+
"autify-connect-client"
|
|
1159
|
+
],
|
|
1160
|
+
"name": "autify-connect",
|
|
1128
1161
|
"hasDynamicHelp": false,
|
|
1129
1162
|
"multiple": false,
|
|
1130
1163
|
"type": "option"
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
"
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
"
|
|
1160
|
-
"
|
|
1161
|
-
|
|
1164
|
+
},
|
|
1165
|
+
"autify-connect-client": {
|
|
1166
|
+
"dependsOn": [
|
|
1167
|
+
"wait"
|
|
1168
|
+
],
|
|
1169
|
+
"description": "Start Autify Connect Client",
|
|
1170
|
+
"exclusive": [
|
|
1171
|
+
"autify-connect"
|
|
1172
|
+
],
|
|
1173
|
+
"name": "autify-connect-client",
|
|
1174
|
+
"allowNo": false,
|
|
1175
|
+
"type": "boolean"
|
|
1176
|
+
},
|
|
1177
|
+
"autify-connect-client-verbose": {
|
|
1178
|
+
"dependsOn": [
|
|
1179
|
+
"autify-connect-client"
|
|
1180
|
+
],
|
|
1181
|
+
"description": "Verbose output for Autify Connect Client.",
|
|
1182
|
+
"name": "autify-connect-client-verbose",
|
|
1183
|
+
"allowNo": false,
|
|
1184
|
+
"type": "boolean"
|
|
1185
|
+
},
|
|
1186
|
+
"autify-connect-client-file-logging": {
|
|
1187
|
+
"dependsOn": [
|
|
1188
|
+
"autify-connect-client"
|
|
1189
|
+
],
|
|
1190
|
+
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1191
|
+
"name": "autify-connect-client-file-logging",
|
|
1192
|
+
"allowNo": false,
|
|
1193
|
+
"type": "boolean"
|
|
1194
|
+
},
|
|
1195
|
+
"autify-connect-client-debug-server-port": {
|
|
1196
|
+
"dependsOn": [
|
|
1197
|
+
"autify-connect-client"
|
|
1198
|
+
],
|
|
1199
|
+
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1200
|
+
"name": "autify-connect-client-debug-server-port",
|
|
1162
1201
|
"hasDynamicHelp": false,
|
|
1163
1202
|
"multiple": false,
|
|
1164
1203
|
"type": "option"
|
|
1165
1204
|
},
|
|
1166
|
-
"
|
|
1167
|
-
"
|
|
1168
|
-
|
|
1169
|
-
|
|
1205
|
+
"autify-connect-client-extra-arguments": {
|
|
1206
|
+
"dependsOn": [
|
|
1207
|
+
"autify-connect-client"
|
|
1208
|
+
],
|
|
1209
|
+
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1210
|
+
"name": "autify-connect-client-extra-arguments",
|
|
1170
1211
|
"hasDynamicHelp": false,
|
|
1171
1212
|
"multiple": false,
|
|
1172
1213
|
"type": "option"
|
|
1173
1214
|
},
|
|
1174
|
-
"
|
|
1175
|
-
"description": "
|
|
1176
|
-
"name": "
|
|
1177
|
-
"required": false,
|
|
1215
|
+
"os": {
|
|
1216
|
+
"description": "[Only for test scenario] OS to run the test",
|
|
1217
|
+
"name": "os",
|
|
1178
1218
|
"hasDynamicHelp": false,
|
|
1179
1219
|
"multiple": false,
|
|
1180
1220
|
"type": "option"
|
|
1181
1221
|
},
|
|
1182
|
-
"
|
|
1183
|
-
"description": "
|
|
1184
|
-
"name": "
|
|
1185
|
-
"required": false,
|
|
1222
|
+
"os-version": {
|
|
1223
|
+
"description": "[Only for test scenario] OS version to run the test",
|
|
1224
|
+
"name": "os-version",
|
|
1186
1225
|
"hasDynamicHelp": false,
|
|
1187
1226
|
"multiple": false,
|
|
1188
1227
|
"type": "option"
|
|
1189
1228
|
},
|
|
1190
|
-
"
|
|
1191
|
-
"description": "
|
|
1192
|
-
"name": "
|
|
1193
|
-
"required": false,
|
|
1229
|
+
"browser": {
|
|
1230
|
+
"description": "[Only for test scenario] Browser to run the test",
|
|
1231
|
+
"name": "browser",
|
|
1194
1232
|
"hasDynamicHelp": false,
|
|
1195
1233
|
"multiple": false,
|
|
1196
1234
|
"type": "option"
|
|
1197
1235
|
},
|
|
1198
|
-
"
|
|
1199
|
-
"description": "
|
|
1200
|
-
"name": "
|
|
1201
|
-
"
|
|
1236
|
+
"device": {
|
|
1237
|
+
"description": "[Only for test scenario] Device to run the test",
|
|
1238
|
+
"name": "device",
|
|
1239
|
+
"hasDynamicHelp": false,
|
|
1240
|
+
"multiple": false,
|
|
1241
|
+
"type": "option"
|
|
1242
|
+
},
|
|
1243
|
+
"device-type": {
|
|
1244
|
+
"description": "[Only for test scenario] Device type to run the test",
|
|
1245
|
+
"name": "device-type",
|
|
1246
|
+
"hasDynamicHelp": false,
|
|
1247
|
+
"multiple": false,
|
|
1248
|
+
"type": "option"
|
|
1249
|
+
},
|
|
1250
|
+
"wait": {
|
|
1251
|
+
"char": "w",
|
|
1252
|
+
"description": "Wait until the test finishes.",
|
|
1253
|
+
"name": "wait",
|
|
1254
|
+
"allowNo": false,
|
|
1255
|
+
"type": "boolean"
|
|
1256
|
+
},
|
|
1257
|
+
"timeout": {
|
|
1258
|
+
"char": "t",
|
|
1259
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1260
|
+
"name": "timeout",
|
|
1261
|
+
"default": 300,
|
|
1262
|
+
"hasDynamicHelp": false,
|
|
1263
|
+
"multiple": false,
|
|
1264
|
+
"type": "option"
|
|
1265
|
+
},
|
|
1266
|
+
"verbose": {
|
|
1267
|
+
"char": "v",
|
|
1268
|
+
"description": "Verbose output",
|
|
1269
|
+
"name": "verbose",
|
|
1270
|
+
"allowNo": false,
|
|
1271
|
+
"type": "boolean"
|
|
1272
|
+
},
|
|
1273
|
+
"max-retry-count": {
|
|
1274
|
+
"description": "Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.",
|
|
1275
|
+
"name": "max-retry-count",
|
|
1276
|
+
"default": 0,
|
|
1202
1277
|
"hasDynamicHelp": false,
|
|
1203
1278
|
"multiple": false,
|
|
1204
1279
|
"type": "option"
|
|
@@ -1206,7 +1281,7 @@
|
|
|
1206
1281
|
},
|
|
1207
1282
|
"hasDynamicHelp": false,
|
|
1208
1283
|
"hiddenAliases": [],
|
|
1209
|
-
"id": "web:
|
|
1284
|
+
"id": "web:test:run",
|
|
1210
1285
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1211
1286
|
"pluginName": "@autifyhq/autify-cli",
|
|
1212
1287
|
"pluginType": "core",
|
|
@@ -1217,30 +1292,44 @@
|
|
|
1217
1292
|
"dist",
|
|
1218
1293
|
"commands",
|
|
1219
1294
|
"web",
|
|
1220
|
-
"
|
|
1221
|
-
"
|
|
1295
|
+
"test",
|
|
1296
|
+
"run.js"
|
|
1222
1297
|
]
|
|
1223
1298
|
},
|
|
1224
|
-
"web:
|
|
1299
|
+
"web:test:wait": {
|
|
1225
1300
|
"aliases": [],
|
|
1226
|
-
"args": {
|
|
1227
|
-
|
|
1301
|
+
"args": {
|
|
1302
|
+
"test-result-url": {
|
|
1303
|
+
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1304
|
+
"name": "test-result-url",
|
|
1305
|
+
"required": true
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"description": "Wait a test result until it finishes.",
|
|
1228
1309
|
"examples": [
|
|
1229
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1310
|
+
"<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/results/0000"
|
|
1230
1311
|
],
|
|
1231
|
-
"flags": {
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1312
|
+
"flags": {
|
|
1313
|
+
"timeout": {
|
|
1314
|
+
"char": "t",
|
|
1315
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1316
|
+
"name": "timeout",
|
|
1317
|
+
"default": 300,
|
|
1236
1318
|
"hasDynamicHelp": false,
|
|
1237
1319
|
"multiple": false,
|
|
1238
1320
|
"type": "option"
|
|
1321
|
+
},
|
|
1322
|
+
"verbose": {
|
|
1323
|
+
"char": "v",
|
|
1324
|
+
"description": "Verbose output",
|
|
1325
|
+
"name": "verbose",
|
|
1326
|
+
"allowNo": false,
|
|
1327
|
+
"type": "boolean"
|
|
1239
1328
|
}
|
|
1240
1329
|
},
|
|
1241
1330
|
"hasDynamicHelp": false,
|
|
1242
1331
|
"hiddenAliases": [],
|
|
1243
|
-
"id": "web:
|
|
1332
|
+
"id": "web:test:wait",
|
|
1244
1333
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1245
1334
|
"pluginName": "@autifyhq/autify-cli",
|
|
1246
1335
|
"pluginType": "core",
|
|
@@ -1251,30 +1340,30 @@
|
|
|
1251
1340
|
"dist",
|
|
1252
1341
|
"commands",
|
|
1253
1342
|
"web",
|
|
1254
|
-
"
|
|
1255
|
-
"
|
|
1343
|
+
"test",
|
|
1344
|
+
"wait.js"
|
|
1256
1345
|
]
|
|
1257
1346
|
},
|
|
1258
|
-
"
|
|
1347
|
+
"mobile:api:describe-test-result": {
|
|
1259
1348
|
"aliases": [],
|
|
1260
1349
|
"args": {},
|
|
1261
|
-
"description": "
|
|
1350
|
+
"description": "Get a test result.",
|
|
1262
1351
|
"examples": [
|
|
1263
1352
|
"<%= config.bin %> <%= command.id %>"
|
|
1264
1353
|
],
|
|
1265
1354
|
"flags": {
|
|
1266
1355
|
"project-id": {
|
|
1267
|
-
"description": "
|
|
1356
|
+
"description": "ID of the project from which the test results will be obtained.",
|
|
1268
1357
|
"name": "project-id",
|
|
1269
1358
|
"required": true,
|
|
1270
1359
|
"hasDynamicHelp": false,
|
|
1271
1360
|
"multiple": false,
|
|
1272
1361
|
"type": "option"
|
|
1273
1362
|
},
|
|
1274
|
-
"
|
|
1275
|
-
"description": "
|
|
1276
|
-
"name": "
|
|
1277
|
-
"required":
|
|
1363
|
+
"id": {
|
|
1364
|
+
"description": "Test Result ID.",
|
|
1365
|
+
"name": "id",
|
|
1366
|
+
"required": true,
|
|
1278
1367
|
"hasDynamicHelp": false,
|
|
1279
1368
|
"multiple": false,
|
|
1280
1369
|
"type": "option"
|
|
@@ -1282,7 +1371,7 @@
|
|
|
1282
1371
|
},
|
|
1283
1372
|
"hasDynamicHelp": false,
|
|
1284
1373
|
"hiddenAliases": [],
|
|
1285
|
-
"id": "
|
|
1374
|
+
"id": "mobile:api:describe-test-result",
|
|
1286
1375
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1287
1376
|
"pluginName": "@autifyhq/autify-cli",
|
|
1288
1377
|
"pluginType": "core",
|
|
@@ -1292,62 +1381,46 @@
|
|
|
1292
1381
|
"relativePath": [
|
|
1293
1382
|
"dist",
|
|
1294
1383
|
"commands",
|
|
1295
|
-
"
|
|
1384
|
+
"mobile",
|
|
1296
1385
|
"api",
|
|
1297
|
-
"
|
|
1386
|
+
"describe-test-result.js"
|
|
1298
1387
|
]
|
|
1299
1388
|
},
|
|
1300
|
-
"
|
|
1389
|
+
"mobile:api:list-test-results": {
|
|
1301
1390
|
"aliases": [],
|
|
1302
1391
|
"args": {},
|
|
1303
|
-
"description": "List
|
|
1392
|
+
"description": "List test results.",
|
|
1304
1393
|
"examples": [
|
|
1305
1394
|
"<%= config.bin %> <%= command.id %>"
|
|
1306
1395
|
],
|
|
1307
1396
|
"flags": {
|
|
1308
1397
|
"project-id": {
|
|
1309
|
-
"description": "
|
|
1398
|
+
"description": "ID of the project from which the list of test results will be retrieved.",
|
|
1310
1399
|
"name": "project-id",
|
|
1311
1400
|
"required": true,
|
|
1312
1401
|
"hasDynamicHelp": false,
|
|
1313
1402
|
"multiple": false,
|
|
1314
1403
|
"type": "option"
|
|
1315
1404
|
},
|
|
1316
|
-
"
|
|
1317
|
-
"description": "
|
|
1318
|
-
"name": "
|
|
1319
|
-
"required": false,
|
|
1320
|
-
"hasDynamicHelp": false,
|
|
1321
|
-
"multiple": false,
|
|
1322
|
-
"type": "option"
|
|
1323
|
-
},
|
|
1324
|
-
"os-type": {
|
|
1325
|
-
"description": "Type of the os to filter",
|
|
1326
|
-
"name": "os-type",
|
|
1327
|
-
"required": false,
|
|
1328
|
-
"hasDynamicHelp": false,
|
|
1329
|
-
"multiple": false,
|
|
1330
|
-
"type": "option"
|
|
1331
|
-
},
|
|
1332
|
-
"browser": {
|
|
1333
|
-
"description": "browser name to filter (deprecated)",
|
|
1334
|
-
"name": "browser",
|
|
1405
|
+
"page": {
|
|
1406
|
+
"description": "Page number to be retrieved.",
|
|
1407
|
+
"name": "page",
|
|
1335
1408
|
"required": false,
|
|
1336
1409
|
"hasDynamicHelp": false,
|
|
1337
1410
|
"multiple": false,
|
|
1338
1411
|
"type": "option"
|
|
1339
1412
|
},
|
|
1340
|
-
"
|
|
1341
|
-
"description": "
|
|
1342
|
-
"name": "
|
|
1413
|
+
"per-page": {
|
|
1414
|
+
"description": "Number of test results per page.",
|
|
1415
|
+
"name": "per-page",
|
|
1343
1416
|
"required": false,
|
|
1344
1417
|
"hasDynamicHelp": false,
|
|
1345
1418
|
"multiple": false,
|
|
1346
1419
|
"type": "option"
|
|
1347
1420
|
},
|
|
1348
|
-
"
|
|
1349
|
-
"description": "
|
|
1350
|
-
"name": "
|
|
1421
|
+
"test-plan-id": {
|
|
1422
|
+
"description": "ID of the test plan.",
|
|
1423
|
+
"name": "test-plan-id",
|
|
1351
1424
|
"required": false,
|
|
1352
1425
|
"hasDynamicHelp": false,
|
|
1353
1426
|
"multiple": false,
|
|
@@ -1356,7 +1429,7 @@
|
|
|
1356
1429
|
},
|
|
1357
1430
|
"hasDynamicHelp": false,
|
|
1358
1431
|
"hiddenAliases": [],
|
|
1359
|
-
"id": "
|
|
1432
|
+
"id": "mobile:api:list-test-results",
|
|
1360
1433
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1361
1434
|
"pluginName": "@autifyhq/autify-cli",
|
|
1362
1435
|
"pluginType": "core",
|
|
@@ -1366,47 +1439,31 @@
|
|
|
1366
1439
|
"relativePath": [
|
|
1367
1440
|
"dist",
|
|
1368
1441
|
"commands",
|
|
1369
|
-
"
|
|
1442
|
+
"mobile",
|
|
1370
1443
|
"api",
|
|
1371
|
-
"list-
|
|
1444
|
+
"list-test-results.js"
|
|
1372
1445
|
]
|
|
1373
1446
|
},
|
|
1374
|
-
"
|
|
1447
|
+
"mobile:api:run-test-plan": {
|
|
1375
1448
|
"aliases": [],
|
|
1376
1449
|
"args": {},
|
|
1377
|
-
"description": "
|
|
1450
|
+
"description": "Run a test plan",
|
|
1378
1451
|
"examples": [
|
|
1379
1452
|
"<%= config.bin %> <%= command.id %>"
|
|
1380
1453
|
],
|
|
1381
1454
|
"flags": {
|
|
1382
|
-
"
|
|
1383
|
-
"description": "
|
|
1384
|
-
"name": "
|
|
1455
|
+
"test-plan-id": {
|
|
1456
|
+
"description": "The ID of the test plan to run.",
|
|
1457
|
+
"name": "test-plan-id",
|
|
1385
1458
|
"required": true,
|
|
1386
1459
|
"hasDynamicHelp": false,
|
|
1387
1460
|
"multiple": false,
|
|
1388
1461
|
"type": "option"
|
|
1389
1462
|
},
|
|
1390
|
-
"
|
|
1391
|
-
"description": "
|
|
1392
|
-
"name": "
|
|
1393
|
-
"required":
|
|
1394
|
-
"hasDynamicHelp": false,
|
|
1395
|
-
"multiple": false,
|
|
1396
|
-
"type": "option"
|
|
1397
|
-
},
|
|
1398
|
-
"per-page": {
|
|
1399
|
-
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
1400
|
-
"name": "per-page",
|
|
1401
|
-
"required": false,
|
|
1402
|
-
"hasDynamicHelp": false,
|
|
1403
|
-
"multiple": false,
|
|
1404
|
-
"type": "option"
|
|
1405
|
-
},
|
|
1406
|
-
"test-plan-id": {
|
|
1407
|
-
"description": "Test plan ID used to filter results.",
|
|
1408
|
-
"name": "test-plan-id",
|
|
1409
|
-
"required": false,
|
|
1463
|
+
"run-test-plan-request": {
|
|
1464
|
+
"description": "A JSON object with the build_id to execute the test plan. e.g. {\"build_id\":\"string\"}",
|
|
1465
|
+
"name": "run-test-plan-request",
|
|
1466
|
+
"required": true,
|
|
1410
1467
|
"hasDynamicHelp": false,
|
|
1411
1468
|
"multiple": false,
|
|
1412
1469
|
"type": "option"
|
|
@@ -1414,7 +1471,7 @@
|
|
|
1414
1471
|
},
|
|
1415
1472
|
"hasDynamicHelp": false,
|
|
1416
1473
|
"hiddenAliases": [],
|
|
1417
|
-
"id": "
|
|
1474
|
+
"id": "mobile:api:run-test-plan",
|
|
1418
1475
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1419
1476
|
"pluginName": "@autifyhq/autify-cli",
|
|
1420
1477
|
"pluginType": "core",
|
|
@@ -1424,31 +1481,31 @@
|
|
|
1424
1481
|
"relativePath": [
|
|
1425
1482
|
"dist",
|
|
1426
1483
|
"commands",
|
|
1427
|
-
"
|
|
1484
|
+
"mobile",
|
|
1428
1485
|
"api",
|
|
1429
|
-
"
|
|
1486
|
+
"run-test-plan.js"
|
|
1430
1487
|
]
|
|
1431
1488
|
},
|
|
1432
|
-
"
|
|
1489
|
+
"mobile:api:upload-build": {
|
|
1433
1490
|
"aliases": [],
|
|
1434
1491
|
"args": {},
|
|
1435
|
-
"description": "
|
|
1492
|
+
"description": "Upload the build file.",
|
|
1436
1493
|
"examples": [
|
|
1437
1494
|
"<%= config.bin %> <%= command.id %>"
|
|
1438
1495
|
],
|
|
1439
1496
|
"flags": {
|
|
1440
1497
|
"project-id": {
|
|
1441
|
-
"description": "
|
|
1498
|
+
"description": "The ID of the project to upload the build file to.",
|
|
1442
1499
|
"name": "project-id",
|
|
1443
1500
|
"required": true,
|
|
1444
1501
|
"hasDynamicHelp": false,
|
|
1445
1502
|
"multiple": false,
|
|
1446
1503
|
"type": "option"
|
|
1447
1504
|
},
|
|
1448
|
-
"
|
|
1449
|
-
"description": "
|
|
1450
|
-
"name": "
|
|
1451
|
-
"required":
|
|
1505
|
+
"file": {
|
|
1506
|
+
"description": "Build file.",
|
|
1507
|
+
"name": "file",
|
|
1508
|
+
"required": true,
|
|
1452
1509
|
"hasDynamicHelp": false,
|
|
1453
1510
|
"multiple": false,
|
|
1454
1511
|
"type": "option"
|
|
@@ -1456,7 +1513,7 @@
|
|
|
1456
1513
|
},
|
|
1457
1514
|
"hasDynamicHelp": false,
|
|
1458
1515
|
"hiddenAliases": [],
|
|
1459
|
-
"id": "
|
|
1516
|
+
"id": "mobile:api:upload-build",
|
|
1460
1517
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1461
1518
|
"pluginName": "@autifyhq/autify-cli",
|
|
1462
1519
|
"pluginType": "core",
|
|
@@ -1466,31 +1523,23 @@
|
|
|
1466
1523
|
"relativePath": [
|
|
1467
1524
|
"dist",
|
|
1468
1525
|
"commands",
|
|
1469
|
-
"
|
|
1526
|
+
"mobile",
|
|
1470
1527
|
"api",
|
|
1471
|
-
"
|
|
1528
|
+
"upload-build.js"
|
|
1472
1529
|
]
|
|
1473
1530
|
},
|
|
1474
|
-
"
|
|
1531
|
+
"mobile:auth:login": {
|
|
1475
1532
|
"aliases": [],
|
|
1476
1533
|
"args": {},
|
|
1477
|
-
"description": "
|
|
1534
|
+
"description": "Login to Autify for Mobile",
|
|
1478
1535
|
"examples": [
|
|
1479
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1536
|
+
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1537
|
+
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1480
1538
|
],
|
|
1481
|
-
"flags": {
|
|
1482
|
-
"test-plan-id": {
|
|
1483
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1484
|
-
"name": "test-plan-id",
|
|
1485
|
-
"required": true,
|
|
1486
|
-
"hasDynamicHelp": false,
|
|
1487
|
-
"multiple": false,
|
|
1488
|
-
"type": "option"
|
|
1489
|
-
}
|
|
1490
|
-
},
|
|
1539
|
+
"flags": {},
|
|
1491
1540
|
"hasDynamicHelp": false,
|
|
1492
1541
|
"hiddenAliases": [],
|
|
1493
|
-
"id": "
|
|
1542
|
+
"id": "mobile:auth:login",
|
|
1494
1543
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1495
1544
|
"pluginName": "@autifyhq/autify-cli",
|
|
1496
1545
|
"pluginType": "core",
|
|
@@ -1500,22 +1549,38 @@
|
|
|
1500
1549
|
"relativePath": [
|
|
1501
1550
|
"dist",
|
|
1502
1551
|
"commands",
|
|
1503
|
-
"
|
|
1504
|
-
"
|
|
1505
|
-
"
|
|
1552
|
+
"mobile",
|
|
1553
|
+
"auth",
|
|
1554
|
+
"login.js"
|
|
1506
1555
|
]
|
|
1507
1556
|
},
|
|
1508
|
-
"
|
|
1557
|
+
"mobile:build:upload": {
|
|
1509
1558
|
"aliases": [],
|
|
1510
|
-
"args": {
|
|
1511
|
-
|
|
1559
|
+
"args": {
|
|
1560
|
+
"build-path": {
|
|
1561
|
+
"description": "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
|
|
1562
|
+
"name": "build-path",
|
|
1563
|
+
"required": true
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"description": "Upload a build file",
|
|
1512
1567
|
"examples": [
|
|
1513
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1568
|
+
"<%= config.bin %> <%= command.id %>",
|
|
1569
|
+
"Upload build file\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app",
|
|
1570
|
+
"Upload build file (JSON output)\n<%= config.bin %> <%= command.id %> --workspace-id AAA ./my.app --json"
|
|
1514
1571
|
],
|
|
1515
1572
|
"flags": {
|
|
1516
|
-
"
|
|
1517
|
-
"description": "
|
|
1518
|
-
"
|
|
1573
|
+
"json": {
|
|
1574
|
+
"description": "Format output as json.",
|
|
1575
|
+
"helpGroup": "GLOBAL",
|
|
1576
|
+
"name": "json",
|
|
1577
|
+
"allowNo": false,
|
|
1578
|
+
"type": "boolean"
|
|
1579
|
+
},
|
|
1580
|
+
"workspace-id": {
|
|
1581
|
+
"char": "w",
|
|
1582
|
+
"description": "Workspace ID to upload the build file",
|
|
1583
|
+
"name": "workspace-id",
|
|
1519
1584
|
"required": true,
|
|
1520
1585
|
"hasDynamicHelp": false,
|
|
1521
1586
|
"multiple": false,
|
|
@@ -1524,49 +1589,32 @@
|
|
|
1524
1589
|
},
|
|
1525
1590
|
"hasDynamicHelp": false,
|
|
1526
1591
|
"hiddenAliases": [],
|
|
1527
|
-
"id": "
|
|
1592
|
+
"id": "mobile:build:upload",
|
|
1528
1593
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1529
1594
|
"pluginName": "@autifyhq/autify-cli",
|
|
1530
1595
|
"pluginType": "core",
|
|
1531
1596
|
"strict": true,
|
|
1532
|
-
"enableJsonFlag":
|
|
1597
|
+
"enableJsonFlag": true,
|
|
1533
1598
|
"isESM": false,
|
|
1534
1599
|
"relativePath": [
|
|
1535
1600
|
"dist",
|
|
1536
1601
|
"commands",
|
|
1537
|
-
"
|
|
1538
|
-
"
|
|
1539
|
-
"
|
|
1602
|
+
"mobile",
|
|
1603
|
+
"build",
|
|
1604
|
+
"upload.js"
|
|
1540
1605
|
]
|
|
1541
1606
|
},
|
|
1542
|
-
"
|
|
1607
|
+
"mobile:link:doctor": {
|
|
1543
1608
|
"aliases": [],
|
|
1544
1609
|
"args": {},
|
|
1545
|
-
"description": "
|
|
1610
|
+
"description": "Check MobileLink configuration",
|
|
1546
1611
|
"examples": [
|
|
1547
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1612
|
+
"Check MobileLink configuration:\n<%= config.bin %> <%= command.id %>"
|
|
1548
1613
|
],
|
|
1549
1614
|
"flags": {
|
|
1550
|
-
"
|
|
1551
|
-
"description": "
|
|
1552
|
-
"name": "
|
|
1553
|
-
"required": true,
|
|
1554
|
-
"hasDynamicHelp": false,
|
|
1555
|
-
"multiple": false,
|
|
1556
|
-
"type": "option"
|
|
1557
|
-
},
|
|
1558
|
-
"test-plan-variable-id": {
|
|
1559
|
-
"description": "test_plan_variable id",
|
|
1560
|
-
"name": "test-plan-variable-id",
|
|
1561
|
-
"required": true,
|
|
1562
|
-
"hasDynamicHelp": false,
|
|
1563
|
-
"multiple": false,
|
|
1564
|
-
"type": "option"
|
|
1565
|
-
},
|
|
1566
|
-
"update-test-plan-variable-request": {
|
|
1567
|
-
"description": "A JSON object with the variable's new key and/or default_value's value to register e.g. {\"key\":\"string\",\"default_value\":\"string\"}",
|
|
1568
|
-
"name": "update-test-plan-variable-request",
|
|
1569
|
-
"required": true,
|
|
1615
|
+
"extra-arguments": {
|
|
1616
|
+
"description": "Extra args for Autify Connect Client e.g. \"--tunnel-proxy http://proxy\"",
|
|
1617
|
+
"name": "extra-arguments",
|
|
1570
1618
|
"hasDynamicHelp": false,
|
|
1571
1619
|
"multiple": false,
|
|
1572
1620
|
"type": "option"
|
|
@@ -1574,57 +1622,61 @@
|
|
|
1574
1622
|
},
|
|
1575
1623
|
"hasDynamicHelp": false,
|
|
1576
1624
|
"hiddenAliases": [],
|
|
1577
|
-
"id": "
|
|
1625
|
+
"id": "mobile:link:doctor",
|
|
1626
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1627
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1628
|
+
"pluginType": "core",
|
|
1629
|
+
"strict": true,
|
|
1630
|
+
"enableJsonFlag": false,
|
|
1631
|
+
"isESM": false,
|
|
1632
|
+
"relativePath": [
|
|
1633
|
+
"dist",
|
|
1634
|
+
"commands",
|
|
1635
|
+
"mobile",
|
|
1636
|
+
"link",
|
|
1637
|
+
"doctor.js"
|
|
1638
|
+
]
|
|
1639
|
+
},
|
|
1640
|
+
"mobile:link:exec": {
|
|
1641
|
+
"aliases": [],
|
|
1642
|
+
"args": {
|
|
1643
|
+
"things": {
|
|
1644
|
+
"name": "things"
|
|
1645
|
+
}
|
|
1646
|
+
},
|
|
1647
|
+
"description": "Execute arbitrary MobileLink subcommand",
|
|
1648
|
+
"examples": [
|
|
1649
|
+
"Pass subcommand arguments to mobilelink:\n<%= config.bin %> <%= command.id %> ABC XYZ"
|
|
1650
|
+
],
|
|
1651
|
+
"flags": {},
|
|
1652
|
+
"hasDynamicHelp": false,
|
|
1653
|
+
"hiddenAliases": [],
|
|
1654
|
+
"id": "mobile:link:exec",
|
|
1578
1655
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1579
1656
|
"pluginName": "@autifyhq/autify-cli",
|
|
1580
1657
|
"pluginType": "core",
|
|
1581
|
-
"strict":
|
|
1658
|
+
"strict": false,
|
|
1582
1659
|
"enableJsonFlag": false,
|
|
1583
1660
|
"isESM": false,
|
|
1584
1661
|
"relativePath": [
|
|
1585
1662
|
"dist",
|
|
1586
1663
|
"commands",
|
|
1587
|
-
"
|
|
1588
|
-
"
|
|
1589
|
-
"
|
|
1664
|
+
"mobile",
|
|
1665
|
+
"link",
|
|
1666
|
+
"exec.js"
|
|
1590
1667
|
]
|
|
1591
1668
|
},
|
|
1592
|
-
"
|
|
1669
|
+
"mobile:link:install": {
|
|
1593
1670
|
"aliases": [],
|
|
1594
1671
|
"args": {},
|
|
1595
|
-
"description": "
|
|
1672
|
+
"description": "Install MobileLink",
|
|
1596
1673
|
"examples": [
|
|
1597
|
-
"<%= config.bin %> <%= command.id %>"
|
|
1674
|
+
"Install the stable version:\n<%= config.bin %> <%= command.id %>"
|
|
1598
1675
|
],
|
|
1599
|
-
"flags": {
|
|
1600
|
-
"test-plan-id": {
|
|
1601
|
-
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1602
|
-
"name": "test-plan-id",
|
|
1603
|
-
"required": true,
|
|
1604
|
-
"hasDynamicHelp": false,
|
|
1605
|
-
"multiple": false,
|
|
1606
|
-
"type": "option"
|
|
1607
|
-
},
|
|
1608
|
-
"url-replacement-id": {
|
|
1609
|
-
"description": "url_replacement id",
|
|
1610
|
-
"name": "url-replacement-id",
|
|
1611
|
-
"required": true,
|
|
1612
|
-
"hasDynamicHelp": false,
|
|
1613
|
-
"multiple": false,
|
|
1614
|
-
"type": "option"
|
|
1615
|
-
},
|
|
1616
|
-
"update-url-replacement-request": {
|
|
1617
|
-
"description": "A JSON object with the url to replace. Either pattern_url or replacement_url is required. e.g. {\"pattern_url\":\"string\",\"replacement_url\":\"string\"}",
|
|
1618
|
-
"name": "update-url-replacement-request",
|
|
1619
|
-
"required": true,
|
|
1620
|
-
"hasDynamicHelp": false,
|
|
1621
|
-
"multiple": false,
|
|
1622
|
-
"type": "option"
|
|
1623
|
-
}
|
|
1624
|
-
},
|
|
1676
|
+
"flags": {},
|
|
1625
1677
|
"hasDynamicHelp": false,
|
|
1626
1678
|
"hiddenAliases": [],
|
|
1627
|
-
"id": "
|
|
1679
|
+
"id": "mobile:link:install",
|
|
1628
1680
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1629
1681
|
"pluginName": "@autifyhq/autify-cli",
|
|
1630
1682
|
"pluginType": "core",
|
|
@@ -1634,23 +1686,22 @@
|
|
|
1634
1686
|
"relativePath": [
|
|
1635
1687
|
"dist",
|
|
1636
1688
|
"commands",
|
|
1637
|
-
"
|
|
1638
|
-
"
|
|
1639
|
-
"
|
|
1689
|
+
"mobile",
|
|
1690
|
+
"link",
|
|
1691
|
+
"install.js"
|
|
1640
1692
|
]
|
|
1641
1693
|
},
|
|
1642
|
-
"
|
|
1694
|
+
"mobile:link:setup": {
|
|
1643
1695
|
"aliases": [],
|
|
1644
1696
|
"args": {},
|
|
1645
|
-
"description": "
|
|
1697
|
+
"description": "Set up MobileLink",
|
|
1646
1698
|
"examples": [
|
|
1647
|
-
"
|
|
1648
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1699
|
+
"Set up MobileLink configuration:\n<%= config.bin %> <%= command.id %>"
|
|
1649
1700
|
],
|
|
1650
1701
|
"flags": {},
|
|
1651
1702
|
"hasDynamicHelp": false,
|
|
1652
1703
|
"hiddenAliases": [],
|
|
1653
|
-
"id": "
|
|
1704
|
+
"id": "mobile:link:setup",
|
|
1654
1705
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1655
1706
|
"pluginName": "@autifyhq/autify-cli",
|
|
1656
1707
|
"pluginType": "core",
|
|
@@ -1660,139 +1711,88 @@
|
|
|
1660
1711
|
"relativePath": [
|
|
1661
1712
|
"dist",
|
|
1662
1713
|
"commands",
|
|
1663
|
-
"
|
|
1664
|
-
"
|
|
1665
|
-
"
|
|
1714
|
+
"mobile",
|
|
1715
|
+
"link",
|
|
1716
|
+
"setup.js"
|
|
1666
1717
|
]
|
|
1667
1718
|
},
|
|
1668
|
-
"
|
|
1719
|
+
"mobile:link:start": {
|
|
1669
1720
|
"aliases": [],
|
|
1670
1721
|
"args": {
|
|
1671
|
-
"
|
|
1672
|
-
"description": "
|
|
1673
|
-
"name": "
|
|
1674
|
-
"required": true
|
|
1722
|
+
"workspaceId": {
|
|
1723
|
+
"description": "Specify the target version of Autify Connect Client.",
|
|
1724
|
+
"name": "workspaceId"
|
|
1675
1725
|
}
|
|
1676
1726
|
},
|
|
1677
|
-
"description": "
|
|
1727
|
+
"description": "Start MobileLink session",
|
|
1678
1728
|
"examples": [
|
|
1679
|
-
"
|
|
1680
|
-
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
1681
|
-
"Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600",
|
|
1682
|
-
"Run a test scenario with a specific capability:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --os \"Windows Server\" --browser Edge",
|
|
1683
|
-
"With URL replacements:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 -r \"http://example.com http://example.net\" -r \"http://example.org http://example.net\"",
|
|
1684
|
-
"Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"",
|
|
1685
|
-
"Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME",
|
|
1686
|
-
"Run a test scenario with Autify Connect Client:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client"
|
|
1729
|
+
"Pass subcommand arguments to mobilelink:\n<%= config.bin %> <%= command.id %> ABC XYZ"
|
|
1687
1730
|
],
|
|
1688
1731
|
"flags": {
|
|
1689
|
-
"
|
|
1690
|
-
"
|
|
1691
|
-
"
|
|
1692
|
-
"name": "name",
|
|
1732
|
+
"extra-arguments": {
|
|
1733
|
+
"description": "Extra args for Autify Connect Client e.g. \"--tunnel-proxy http://proxy\"",
|
|
1734
|
+
"name": "extra-arguments",
|
|
1693
1735
|
"hasDynamicHelp": false,
|
|
1694
1736
|
"multiple": false,
|
|
1695
1737
|
"type": "option"
|
|
1696
|
-
}
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1738
|
+
}
|
|
1739
|
+
},
|
|
1740
|
+
"hasDynamicHelp": false,
|
|
1741
|
+
"hiddenAliases": [],
|
|
1742
|
+
"id": "mobile:link:start",
|
|
1743
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1744
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1745
|
+
"pluginType": "core",
|
|
1746
|
+
"strict": false,
|
|
1747
|
+
"enableJsonFlag": false,
|
|
1748
|
+
"isESM": false,
|
|
1749
|
+
"relativePath": [
|
|
1750
|
+
"dist",
|
|
1751
|
+
"commands",
|
|
1752
|
+
"mobile",
|
|
1753
|
+
"link",
|
|
1754
|
+
"start.js"
|
|
1755
|
+
]
|
|
1756
|
+
},
|
|
1757
|
+
"mobile:test:run": {
|
|
1758
|
+
"aliases": [],
|
|
1759
|
+
"args": {
|
|
1760
|
+
"test-plan-url": {
|
|
1761
|
+
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
1762
|
+
"name": "test-plan-url",
|
|
1763
|
+
"required": true
|
|
1764
|
+
}
|
|
1765
|
+
},
|
|
1766
|
+
"description": "Run a test plan.",
|
|
1767
|
+
"examples": [
|
|
1768
|
+
"Run a test plan with a build ID:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
1769
|
+
"Run a test plan with a new build file:\n<%= config.bin %> <%= command.id %> --build-path ./my.[app|apk] https://mobile-app.autify.com/projects/AAA/test_plans/BBB",
|
|
1770
|
+
"Run and wait a test plan:\n<%= config.bin %> <%= command.id %> --build-id CCC https://mobile-app.autify.com/projects/AAA/test_plans/BBB --wait --timeout 600"
|
|
1771
|
+
],
|
|
1772
|
+
"flags": {
|
|
1773
|
+
"build-id": {
|
|
1774
|
+
"description": "ID of the already uploaded build.",
|
|
1707
1775
|
"exclusive": [
|
|
1708
|
-
"
|
|
1776
|
+
"build-path"
|
|
1709
1777
|
],
|
|
1710
|
-
"name": "
|
|
1778
|
+
"name": "build-id",
|
|
1711
1779
|
"hasDynamicHelp": false,
|
|
1712
1780
|
"multiple": false,
|
|
1713
1781
|
"type": "option"
|
|
1714
1782
|
},
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1717
|
-
"wait"
|
|
1718
|
-
],
|
|
1719
|
-
"description": "Start Autify Connect Client",
|
|
1783
|
+
"build-path": {
|
|
1784
|
+
"description": "File path to the iOS app (*.app, *.ipa) or Android app (*.apk).",
|
|
1720
1785
|
"exclusive": [
|
|
1721
|
-
"
|
|
1722
|
-
],
|
|
1723
|
-
"name": "autify-connect-client",
|
|
1724
|
-
"allowNo": false,
|
|
1725
|
-
"type": "boolean"
|
|
1726
|
-
},
|
|
1727
|
-
"autify-connect-client-verbose": {
|
|
1728
|
-
"dependsOn": [
|
|
1729
|
-
"autify-connect-client"
|
|
1730
|
-
],
|
|
1731
|
-
"description": "Verbose output for Autify Connect Client.",
|
|
1732
|
-
"name": "autify-connect-client-verbose",
|
|
1733
|
-
"allowNo": false,
|
|
1734
|
-
"type": "boolean"
|
|
1735
|
-
},
|
|
1736
|
-
"autify-connect-client-file-logging": {
|
|
1737
|
-
"dependsOn": [
|
|
1738
|
-
"autify-connect-client"
|
|
1739
|
-
],
|
|
1740
|
-
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1741
|
-
"name": "autify-connect-client-file-logging",
|
|
1742
|
-
"allowNo": false,
|
|
1743
|
-
"type": "boolean"
|
|
1744
|
-
},
|
|
1745
|
-
"autify-connect-client-debug-server-port": {
|
|
1746
|
-
"dependsOn": [
|
|
1747
|
-
"autify-connect-client"
|
|
1748
|
-
],
|
|
1749
|
-
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1750
|
-
"name": "autify-connect-client-debug-server-port",
|
|
1751
|
-
"hasDynamicHelp": false,
|
|
1752
|
-
"multiple": false,
|
|
1753
|
-
"type": "option"
|
|
1754
|
-
},
|
|
1755
|
-
"autify-connect-client-extra-arguments": {
|
|
1756
|
-
"dependsOn": [
|
|
1757
|
-
"autify-connect-client"
|
|
1786
|
+
"build-id"
|
|
1758
1787
|
],
|
|
1759
|
-
"
|
|
1760
|
-
"name": "autify-connect-client-extra-arguments",
|
|
1761
|
-
"hasDynamicHelp": false,
|
|
1762
|
-
"multiple": false,
|
|
1763
|
-
"type": "option"
|
|
1764
|
-
},
|
|
1765
|
-
"os": {
|
|
1766
|
-
"description": "[Only for test scenario] OS to run the test",
|
|
1767
|
-
"name": "os",
|
|
1768
|
-
"hasDynamicHelp": false,
|
|
1769
|
-
"multiple": false,
|
|
1770
|
-
"type": "option"
|
|
1771
|
-
},
|
|
1772
|
-
"os-version": {
|
|
1773
|
-
"description": "[Only for test scenario] OS version to run the test",
|
|
1774
|
-
"name": "os-version",
|
|
1775
|
-
"hasDynamicHelp": false,
|
|
1776
|
-
"multiple": false,
|
|
1777
|
-
"type": "option"
|
|
1778
|
-
},
|
|
1779
|
-
"browser": {
|
|
1780
|
-
"description": "[Only for test scenario] Browser to run the test",
|
|
1781
|
-
"name": "browser",
|
|
1782
|
-
"hasDynamicHelp": false,
|
|
1783
|
-
"multiple": false,
|
|
1784
|
-
"type": "option"
|
|
1785
|
-
},
|
|
1786
|
-
"device": {
|
|
1787
|
-
"description": "[Only for test scenario] Device to run the test",
|
|
1788
|
-
"name": "device",
|
|
1788
|
+
"name": "build-path",
|
|
1789
1789
|
"hasDynamicHelp": false,
|
|
1790
1790
|
"multiple": false,
|
|
1791
1791
|
"type": "option"
|
|
1792
1792
|
},
|
|
1793
|
-
"device-
|
|
1794
|
-
"description": "
|
|
1795
|
-
"name": "device-
|
|
1793
|
+
"device-ids": {
|
|
1794
|
+
"description": "Comma-separated device IDs to run the test plan.",
|
|
1795
|
+
"name": "device-ids",
|
|
1796
1796
|
"hasDynamicHelp": false,
|
|
1797
1797
|
"multiple": false,
|
|
1798
1798
|
"type": "option"
|
|
@@ -1821,7 +1821,7 @@
|
|
|
1821
1821
|
"type": "boolean"
|
|
1822
1822
|
},
|
|
1823
1823
|
"max-retry-count": {
|
|
1824
|
-
"description": "Maximum retry count
|
|
1824
|
+
"description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1).",
|
|
1825
1825
|
"name": "max-retry-count",
|
|
1826
1826
|
"default": 0,
|
|
1827
1827
|
"hasDynamicHelp": false,
|
|
@@ -1831,7 +1831,7 @@
|
|
|
1831
1831
|
},
|
|
1832
1832
|
"hasDynamicHelp": false,
|
|
1833
1833
|
"hiddenAliases": [],
|
|
1834
|
-
"id": "
|
|
1834
|
+
"id": "mobile:test:run",
|
|
1835
1835
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1836
1836
|
"pluginName": "@autifyhq/autify-cli",
|
|
1837
1837
|
"pluginType": "core",
|
|
@@ -1841,23 +1841,23 @@
|
|
|
1841
1841
|
"relativePath": [
|
|
1842
1842
|
"dist",
|
|
1843
1843
|
"commands",
|
|
1844
|
-
"
|
|
1844
|
+
"mobile",
|
|
1845
1845
|
"test",
|
|
1846
1846
|
"run.js"
|
|
1847
1847
|
]
|
|
1848
1848
|
},
|
|
1849
|
-
"
|
|
1849
|
+
"mobile:test:wait": {
|
|
1850
1850
|
"aliases": [],
|
|
1851
1851
|
"args": {
|
|
1852
1852
|
"test-result-url": {
|
|
1853
|
-
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1853
|
+
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
1854
1854
|
"name": "test-result-url",
|
|
1855
1855
|
"required": true
|
|
1856
1856
|
}
|
|
1857
1857
|
},
|
|
1858
1858
|
"description": "Wait a test result until it finishes.",
|
|
1859
1859
|
"examples": [
|
|
1860
|
-
"<%= config.bin %> <%= command.id %> https://app.autify.com/projects/
|
|
1860
|
+
"<%= config.bin %> <%= command.id %> https://mobile-app.autify.com/projects/AAA/results/BBB"
|
|
1861
1861
|
],
|
|
1862
1862
|
"flags": {
|
|
1863
1863
|
"timeout": {
|
|
@@ -1879,7 +1879,7 @@
|
|
|
1879
1879
|
},
|
|
1880
1880
|
"hasDynamicHelp": false,
|
|
1881
1881
|
"hiddenAliases": [],
|
|
1882
|
-
"id": "
|
|
1882
|
+
"id": "mobile:test:wait",
|
|
1883
1883
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1884
1884
|
"pluginName": "@autifyhq/autify-cli",
|
|
1885
1885
|
"pluginType": "core",
|
|
@@ -1889,11 +1889,11 @@
|
|
|
1889
1889
|
"relativePath": [
|
|
1890
1890
|
"dist",
|
|
1891
1891
|
"commands",
|
|
1892
|
-
"
|
|
1892
|
+
"mobile",
|
|
1893
1893
|
"test",
|
|
1894
1894
|
"wait.js"
|
|
1895
1895
|
]
|
|
1896
1896
|
}
|
|
1897
1897
|
},
|
|
1898
|
-
"version": "0.73.
|
|
1898
|
+
"version": "0.73.2"
|
|
1899
1899
|
}
|