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