@autifyhq/autify-cli 0.46.0 → 0.47.0
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 +82 -65
- package/dist/autify/connect/client-manager/DebugServerClient.js +1 -2
- package/dist/autify/connect/installClient.js +4 -3
- package/dist/autify/web/runTest.d.ts +1 -1
- package/dist/commands/mobile/api/run-test-plan.js +1 -1
- package/dist/commands/web/api/create-access-point.js +1 -1
- package/dist/commands/web/api/create-test-plan-variable.js +1 -1
- package/dist/commands/web/api/create-url-replacement.js +1 -1
- package/dist/commands/web/api/delete-access-point.js +1 -1
- package/dist/commands/web/api/execute-scenarios.js +1 -1
- package/dist/commands/web/api/execute-schedule.js +2 -2
- package/dist/commands/web/api/get-credit-usage.js +3 -3
- package/dist/commands/web/api/list-capabilities.d.ts +2 -0
- package/dist/commands/web/api/list-capabilities.js +15 -4
- package/dist/commands/web/api/update-test-plan-variable.js +1 -1
- package/dist/commands/web/api/update-url-replacement.js +1 -1
- package/oclif.manifest.json +619 -603
- package/package.json +12 -14
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": "
|
|
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) 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,84 @@
|
|
|
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:test:run": {
|
|
425
433
|
"aliases": [],
|
|
426
|
-
"args": {
|
|
427
|
-
|
|
434
|
+
"args": {
|
|
435
|
+
"test-plan-url": {
|
|
436
|
+
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
437
|
+
"name": "test-plan-url",
|
|
438
|
+
"required": true
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
"description": "Run a test plan.",
|
|
428
442
|
"examples": [
|
|
429
|
-
"<%= config.bin %> <%= command.id %>"
|
|
443
|
+
"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",
|
|
444
|
+
"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",
|
|
445
|
+
"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"
|
|
430
446
|
],
|
|
431
447
|
"flags": {
|
|
432
|
-
"
|
|
433
|
-
"description": "
|
|
434
|
-
"
|
|
435
|
-
|
|
448
|
+
"build-id": {
|
|
449
|
+
"description": "ID of the already uploaded build.",
|
|
450
|
+
"exclusive": [
|
|
451
|
+
"build-path"
|
|
452
|
+
],
|
|
453
|
+
"name": "build-id",
|
|
436
454
|
"hasDynamicHelp": false,
|
|
437
455
|
"multiple": false,
|
|
438
456
|
"type": "option"
|
|
439
457
|
},
|
|
440
|
-
"
|
|
441
|
-
"description": "
|
|
442
|
-
"
|
|
443
|
-
|
|
458
|
+
"build-path": {
|
|
459
|
+
"description": "File path to the iOS app (*.app) or Android app (*.apk).",
|
|
460
|
+
"exclusive": [
|
|
461
|
+
"build-id"
|
|
462
|
+
],
|
|
463
|
+
"name": "build-path",
|
|
444
464
|
"hasDynamicHelp": false,
|
|
445
465
|
"multiple": false,
|
|
446
466
|
"type": "option"
|
|
447
467
|
},
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
468
|
+
"wait": {
|
|
469
|
+
"char": "w",
|
|
470
|
+
"description": "Wait until the test finishes.",
|
|
471
|
+
"name": "wait",
|
|
472
|
+
"allowNo": false,
|
|
473
|
+
"type": "boolean"
|
|
474
|
+
},
|
|
475
|
+
"timeout": {
|
|
476
|
+
"char": "t",
|
|
477
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
478
|
+
"name": "timeout",
|
|
479
|
+
"default": 300,
|
|
480
|
+
"hasDynamicHelp": false,
|
|
481
|
+
"multiple": false,
|
|
482
|
+
"type": "option"
|
|
483
|
+
},
|
|
484
|
+
"verbose": {
|
|
485
|
+
"char": "v",
|
|
486
|
+
"description": "Verbose output",
|
|
487
|
+
"name": "verbose",
|
|
488
|
+
"allowNo": false,
|
|
489
|
+
"type": "boolean"
|
|
490
|
+
},
|
|
491
|
+
"max-retry-count": {
|
|
492
|
+
"description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1).",
|
|
493
|
+
"name": "max-retry-count",
|
|
494
|
+
"default": 0,
|
|
452
495
|
"hasDynamicHelp": false,
|
|
453
496
|
"multiple": false,
|
|
454
497
|
"type": "option"
|
|
@@ -456,7 +499,7 @@
|
|
|
456
499
|
},
|
|
457
500
|
"hasDynamicHelp": false,
|
|
458
501
|
"hiddenAliases": [],
|
|
459
|
-
"id": "
|
|
502
|
+
"id": "mobile:test:run",
|
|
460
503
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
461
504
|
"pluginName": "@autifyhq/autify-cli",
|
|
462
505
|
"pluginType": "core",
|
|
@@ -466,39 +509,45 @@
|
|
|
466
509
|
"relativePath": [
|
|
467
510
|
"dist",
|
|
468
511
|
"commands",
|
|
469
|
-
"
|
|
470
|
-
"
|
|
471
|
-
"
|
|
512
|
+
"mobile",
|
|
513
|
+
"test",
|
|
514
|
+
"run.js"
|
|
472
515
|
]
|
|
473
516
|
},
|
|
474
|
-
"
|
|
517
|
+
"mobile:test:wait": {
|
|
475
518
|
"aliases": [],
|
|
476
|
-
"args": {
|
|
477
|
-
|
|
519
|
+
"args": {
|
|
520
|
+
"test-result-url": {
|
|
521
|
+
"description": "Test result URL e.g. https://mobile-app.autify.com/projects/<ID>/results/<ID>",
|
|
522
|
+
"name": "test-result-url",
|
|
523
|
+
"required": true
|
|
524
|
+
}
|
|
525
|
+
},
|
|
526
|
+
"description": "Wait a test result until it finishes.",
|
|
478
527
|
"examples": [
|
|
479
|
-
"<%= config.bin %> <%= command.id %>"
|
|
528
|
+
"<%= config.bin %> <%= command.id %> https://mobile-app.autify.com/projects/AAA/results/BBB"
|
|
480
529
|
],
|
|
481
530
|
"flags": {
|
|
482
|
-
"
|
|
483
|
-
"
|
|
484
|
-
"
|
|
485
|
-
"
|
|
531
|
+
"timeout": {
|
|
532
|
+
"char": "t",
|
|
533
|
+
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
534
|
+
"name": "timeout",
|
|
535
|
+
"default": 300,
|
|
486
536
|
"hasDynamicHelp": false,
|
|
487
537
|
"multiple": false,
|
|
488
538
|
"type": "option"
|
|
489
539
|
},
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
"
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"type": "option"
|
|
540
|
+
"verbose": {
|
|
541
|
+
"char": "v",
|
|
542
|
+
"description": "Verbose output",
|
|
543
|
+
"name": "verbose",
|
|
544
|
+
"allowNo": false,
|
|
545
|
+
"type": "boolean"
|
|
497
546
|
}
|
|
498
547
|
},
|
|
499
548
|
"hasDynamicHelp": false,
|
|
500
549
|
"hiddenAliases": [],
|
|
501
|
-
"id": "
|
|
550
|
+
"id": "mobile:test:wait",
|
|
502
551
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
503
552
|
"pluginName": "@autifyhq/autify-cli",
|
|
504
553
|
"pluginType": "core",
|
|
@@ -508,15 +557,15 @@
|
|
|
508
557
|
"relativePath": [
|
|
509
558
|
"dist",
|
|
510
559
|
"commands",
|
|
511
|
-
"
|
|
512
|
-
"
|
|
513
|
-
"
|
|
560
|
+
"mobile",
|
|
561
|
+
"test",
|
|
562
|
+
"wait.js"
|
|
514
563
|
]
|
|
515
564
|
},
|
|
516
|
-
"web:api:
|
|
565
|
+
"web:api:create-access-point": {
|
|
517
566
|
"aliases": [],
|
|
518
567
|
"args": {},
|
|
519
|
-
"description": "You can
|
|
568
|
+
"description": "You can generate a new access point by passing in its name.",
|
|
520
569
|
"examples": [
|
|
521
570
|
"<%= config.bin %> <%= command.id %>"
|
|
522
571
|
],
|
|
@@ -529,9 +578,9 @@
|
|
|
529
578
|
"multiple": false,
|
|
530
579
|
"type": "option"
|
|
531
580
|
},
|
|
532
|
-
"
|
|
533
|
-
"description": "
|
|
534
|
-
"name": "
|
|
581
|
+
"create-access-point-request": {
|
|
582
|
+
"description": "A JSON object with the name of the access point to be created e.g. {\"name\":\"string\"}",
|
|
583
|
+
"name": "create-access-point-request",
|
|
535
584
|
"required": true,
|
|
536
585
|
"hasDynamicHelp": false,
|
|
537
586
|
"multiple": false,
|
|
@@ -540,7 +589,7 @@
|
|
|
540
589
|
},
|
|
541
590
|
"hasDynamicHelp": false,
|
|
542
591
|
"hiddenAliases": [],
|
|
543
|
-
"id": "web:api:
|
|
592
|
+
"id": "web:api:create-access-point",
|
|
544
593
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
545
594
|
"pluginName": "@autifyhq/autify-cli",
|
|
546
595
|
"pluginType": "core",
|
|
@@ -552,29 +601,29 @@
|
|
|
552
601
|
"commands",
|
|
553
602
|
"web",
|
|
554
603
|
"api",
|
|
555
|
-
"
|
|
604
|
+
"create-access-point.js"
|
|
556
605
|
]
|
|
557
606
|
},
|
|
558
|
-
"web:api:
|
|
607
|
+
"web:api:create-test-plan-variable": {
|
|
559
608
|
"aliases": [],
|
|
560
609
|
"args": {},
|
|
561
|
-
"description": "
|
|
610
|
+
"description": "Create a new variable for the test plan",
|
|
562
611
|
"examples": [
|
|
563
612
|
"<%= config.bin %> <%= command.id %>"
|
|
564
613
|
],
|
|
565
614
|
"flags": {
|
|
566
|
-
"
|
|
567
|
-
"description": "For example,
|
|
568
|
-
"name": "
|
|
615
|
+
"test-plan-id": {
|
|
616
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
617
|
+
"name": "test-plan-id",
|
|
569
618
|
"required": true,
|
|
570
619
|
"hasDynamicHelp": false,
|
|
571
620
|
"multiple": false,
|
|
572
621
|
"type": "option"
|
|
573
622
|
},
|
|
574
|
-
"
|
|
575
|
-
"description": "
|
|
576
|
-
"name": "
|
|
577
|
-
"required":
|
|
623
|
+
"create-test-plan-variable-request": {
|
|
624
|
+
"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\"}",
|
|
625
|
+
"name": "create-test-plan-variable-request",
|
|
626
|
+
"required": true,
|
|
578
627
|
"hasDynamicHelp": false,
|
|
579
628
|
"multiple": false,
|
|
580
629
|
"type": "option"
|
|
@@ -582,7 +631,7 @@
|
|
|
582
631
|
},
|
|
583
632
|
"hasDynamicHelp": false,
|
|
584
633
|
"hiddenAliases": [],
|
|
585
|
-
"id": "web:api:
|
|
634
|
+
"id": "web:api:create-test-plan-variable",
|
|
586
635
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
587
636
|
"pluginName": "@autifyhq/autify-cli",
|
|
588
637
|
"pluginType": "core",
|
|
@@ -594,61 +643,29 @@
|
|
|
594
643
|
"commands",
|
|
595
644
|
"web",
|
|
596
645
|
"api",
|
|
597
|
-
"
|
|
646
|
+
"create-test-plan-variable.js"
|
|
598
647
|
]
|
|
599
648
|
},
|
|
600
|
-
"web:api:
|
|
649
|
+
"web:api:create-url-replacement": {
|
|
601
650
|
"aliases": [],
|
|
602
651
|
"args": {},
|
|
603
|
-
"description": "
|
|
652
|
+
"description": "Create a new url replacement for the test plan",
|
|
604
653
|
"examples": [
|
|
605
654
|
"<%= config.bin %> <%= command.id %>"
|
|
606
655
|
],
|
|
607
656
|
"flags": {
|
|
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,
|
|
612
|
-
"hasDynamicHelp": false,
|
|
613
|
-
"multiple": false,
|
|
614
|
-
"type": "option"
|
|
615
|
-
},
|
|
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,
|
|
620
|
-
"hasDynamicHelp": false,
|
|
621
|
-
"multiple": false,
|
|
622
|
-
"type": "option"
|
|
623
|
-
},
|
|
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,
|
|
628
|
-
"hasDynamicHelp": false,
|
|
629
|
-
"multiple": false,
|
|
630
|
-
"type": "option"
|
|
631
|
-
},
|
|
632
|
-
"scenario-id": {
|
|
633
|
-
"description": "The scenario ID to filter used credits by.",
|
|
634
|
-
"name": "scenario-id",
|
|
635
|
-
"required": false,
|
|
636
|
-
"hasDynamicHelp": false,
|
|
637
|
-
"multiple": false,
|
|
638
|
-
"type": "option"
|
|
639
|
-
},
|
|
640
657
|
"test-plan-id": {
|
|
641
|
-
"description": "
|
|
658
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
642
659
|
"name": "test-plan-id",
|
|
643
|
-
"required":
|
|
660
|
+
"required": true,
|
|
644
661
|
"hasDynamicHelp": false,
|
|
645
662
|
"multiple": false,
|
|
646
663
|
"type": "option"
|
|
647
664
|
},
|
|
648
|
-
"
|
|
649
|
-
"description": "
|
|
650
|
-
"name": "
|
|
651
|
-
"required":
|
|
665
|
+
"create-url-replacement-request": {
|
|
666
|
+
"description": "A JSON object with the url to replace e.g. {\"pattern_url\":\"string\",\"replacement_url\":\"string\"}",
|
|
667
|
+
"name": "create-url-replacement-request",
|
|
668
|
+
"required": true,
|
|
652
669
|
"hasDynamicHelp": false,
|
|
653
670
|
"multiple": false,
|
|
654
671
|
"type": "option"
|
|
@@ -656,7 +673,7 @@
|
|
|
656
673
|
},
|
|
657
674
|
"hasDynamicHelp": false,
|
|
658
675
|
"hiddenAliases": [],
|
|
659
|
-
"id": "web:api:
|
|
676
|
+
"id": "web:api:create-url-replacement",
|
|
660
677
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
661
678
|
"pluginName": "@autifyhq/autify-cli",
|
|
662
679
|
"pluginType": "core",
|
|
@@ -668,29 +685,37 @@
|
|
|
668
685
|
"commands",
|
|
669
686
|
"web",
|
|
670
687
|
"api",
|
|
671
|
-
"
|
|
688
|
+
"create-url-replacement.js"
|
|
672
689
|
]
|
|
673
690
|
},
|
|
674
|
-
"web:api:
|
|
691
|
+
"web:api:delete-access-point": {
|
|
675
692
|
"aliases": [],
|
|
676
693
|
"args": {},
|
|
677
|
-
"description": "
|
|
694
|
+
"description": "You can delete an access point by passing in its name.",
|
|
678
695
|
"examples": [
|
|
679
696
|
"<%= config.bin %> <%= command.id %>"
|
|
680
697
|
],
|
|
681
698
|
"flags": {
|
|
682
699
|
"project-id": {
|
|
683
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/
|
|
700
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
684
701
|
"name": "project-id",
|
|
685
702
|
"required": true,
|
|
686
703
|
"hasDynamicHelp": false,
|
|
687
704
|
"multiple": false,
|
|
688
705
|
"type": "option"
|
|
706
|
+
},
|
|
707
|
+
"delete-access-point-request": {
|
|
708
|
+
"description": "A JSON object with the name of the access point to be deleted e.g. {\"name\":\"string\"}",
|
|
709
|
+
"name": "delete-access-point-request",
|
|
710
|
+
"required": true,
|
|
711
|
+
"hasDynamicHelp": false,
|
|
712
|
+
"multiple": false,
|
|
713
|
+
"type": "option"
|
|
689
714
|
}
|
|
690
715
|
},
|
|
691
716
|
"hasDynamicHelp": false,
|
|
692
717
|
"hiddenAliases": [],
|
|
693
|
-
"id": "web:api:
|
|
718
|
+
"id": "web:api:delete-access-point",
|
|
694
719
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
695
720
|
"pluginName": "@autifyhq/autify-cli",
|
|
696
721
|
"pluginType": "core",
|
|
@@ -702,29 +727,29 @@
|
|
|
702
727
|
"commands",
|
|
703
728
|
"web",
|
|
704
729
|
"api",
|
|
705
|
-
"
|
|
730
|
+
"delete-access-point.js"
|
|
706
731
|
]
|
|
707
732
|
},
|
|
708
|
-
"web:api:
|
|
733
|
+
"web:api:delete-test-plan-variable": {
|
|
709
734
|
"aliases": [],
|
|
710
735
|
"args": {},
|
|
711
|
-
"description": "
|
|
736
|
+
"description": "Delete an existing test plan variable for the test plan",
|
|
712
737
|
"examples": [
|
|
713
738
|
"<%= config.bin %> <%= command.id %>"
|
|
714
739
|
],
|
|
715
740
|
"flags": {
|
|
716
|
-
"
|
|
717
|
-
"description": "For example,
|
|
718
|
-
"name": "
|
|
741
|
+
"test-plan-id": {
|
|
742
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15/",
|
|
743
|
+
"name": "test-plan-id",
|
|
719
744
|
"required": true,
|
|
720
745
|
"hasDynamicHelp": false,
|
|
721
746
|
"multiple": false,
|
|
722
747
|
"type": "option"
|
|
723
748
|
},
|
|
724
|
-
"
|
|
725
|
-
"description": "
|
|
726
|
-
"name": "
|
|
727
|
-
"required":
|
|
749
|
+
"test-plan-variable-id": {
|
|
750
|
+
"description": "test_plan_variable id",
|
|
751
|
+
"name": "test-plan-variable-id",
|
|
752
|
+
"required": true,
|
|
728
753
|
"hasDynamicHelp": false,
|
|
729
754
|
"multiple": false,
|
|
730
755
|
"type": "option"
|
|
@@ -732,7 +757,7 @@
|
|
|
732
757
|
},
|
|
733
758
|
"hasDynamicHelp": false,
|
|
734
759
|
"hiddenAliases": [],
|
|
735
|
-
"id": "web:api:
|
|
760
|
+
"id": "web:api:delete-test-plan-variable",
|
|
736
761
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
737
762
|
"pluginName": "@autifyhq/autify-cli",
|
|
738
763
|
"pluginType": "core",
|
|
@@ -744,45 +769,29 @@
|
|
|
744
769
|
"commands",
|
|
745
770
|
"web",
|
|
746
771
|
"api",
|
|
747
|
-
"
|
|
772
|
+
"delete-test-plan-variable.js"
|
|
748
773
|
]
|
|
749
774
|
},
|
|
750
|
-
"web:api:
|
|
775
|
+
"web:api:delete-url-replacement": {
|
|
751
776
|
"aliases": [],
|
|
752
777
|
"args": {},
|
|
753
|
-
"description": "
|
|
778
|
+
"description": "Delete a url replacement for the test plan",
|
|
754
779
|
"examples": [
|
|
755
780
|
"<%= config.bin %> <%= command.id %>"
|
|
756
781
|
],
|
|
757
782
|
"flags": {
|
|
758
|
-
"
|
|
759
|
-
"description": "For example,
|
|
760
|
-
"name": "
|
|
783
|
+
"test-plan-id": {
|
|
784
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
785
|
+
"name": "test-plan-id",
|
|
761
786
|
"required": true,
|
|
762
787
|
"hasDynamicHelp": false,
|
|
763
788
|
"multiple": false,
|
|
764
789
|
"type": "option"
|
|
765
790
|
},
|
|
766
|
-
"
|
|
767
|
-
"description": "
|
|
768
|
-
"name": "
|
|
769
|
-
"required":
|
|
770
|
-
"hasDynamicHelp": false,
|
|
771
|
-
"multiple": false,
|
|
772
|
-
"type": "option"
|
|
773
|
-
},
|
|
774
|
-
"browser": {
|
|
775
|
-
"description": "browser name to filter",
|
|
776
|
-
"name": "browser",
|
|
777
|
-
"required": false,
|
|
778
|
-
"hasDynamicHelp": false,
|
|
779
|
-
"multiple": false,
|
|
780
|
-
"type": "option"
|
|
781
|
-
},
|
|
782
|
-
"device-type": {
|
|
783
|
-
"description": "device_type name to filter",
|
|
784
|
-
"name": "device-type",
|
|
785
|
-
"required": false,
|
|
791
|
+
"url-replacement-id": {
|
|
792
|
+
"description": "url_replacement id",
|
|
793
|
+
"name": "url-replacement-id",
|
|
794
|
+
"required": true,
|
|
786
795
|
"hasDynamicHelp": false,
|
|
787
796
|
"multiple": false,
|
|
788
797
|
"type": "option"
|
|
@@ -790,7 +799,7 @@
|
|
|
790
799
|
},
|
|
791
800
|
"hasDynamicHelp": false,
|
|
792
801
|
"hiddenAliases": [],
|
|
793
|
-
"id": "web:api:
|
|
802
|
+
"id": "web:api:delete-url-replacement",
|
|
794
803
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
795
804
|
"pluginName": "@autifyhq/autify-cli",
|
|
796
805
|
"pluginType": "core",
|
|
@@ -802,44 +811,36 @@
|
|
|
802
811
|
"commands",
|
|
803
812
|
"web",
|
|
804
813
|
"api",
|
|
805
|
-
"
|
|
814
|
+
"delete-url-replacement.js"
|
|
806
815
|
]
|
|
807
816
|
},
|
|
808
|
-
"web:api:
|
|
817
|
+
"web:api:describe-result": {
|
|
809
818
|
"aliases": [],
|
|
810
819
|
"args": {},
|
|
811
|
-
"description": "
|
|
820
|
+
"description": "Get a test result.",
|
|
812
821
|
"examples": [
|
|
813
822
|
"<%= config.bin %> <%= command.id %>"
|
|
814
823
|
],
|
|
815
824
|
"flags": {
|
|
816
825
|
"project-id": {
|
|
817
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
826
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
818
827
|
"name": "project-id",
|
|
819
828
|
"required": true,
|
|
820
829
|
"hasDynamicHelp": false,
|
|
821
830
|
"multiple": false,
|
|
822
831
|
"type": "option"
|
|
823
832
|
},
|
|
824
|
-
"
|
|
825
|
-
"description": "
|
|
826
|
-
"name": "
|
|
827
|
-
"required":
|
|
828
|
-
"hasDynamicHelp": false,
|
|
829
|
-
"multiple": false,
|
|
830
|
-
"type": "option"
|
|
831
|
-
},
|
|
832
|
-
"per-page": {
|
|
833
|
-
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
834
|
-
"name": "per-page",
|
|
835
|
-
"required": false,
|
|
833
|
+
"result-id": {
|
|
834
|
+
"description": "For example, 4 for the following URL: https://app.autify.com/projects/1/results/4",
|
|
835
|
+
"name": "result-id",
|
|
836
|
+
"required": true,
|
|
836
837
|
"hasDynamicHelp": false,
|
|
837
838
|
"multiple": false,
|
|
838
839
|
"type": "option"
|
|
839
840
|
},
|
|
840
|
-
"
|
|
841
|
-
"description": "
|
|
842
|
-
"name": "
|
|
841
|
+
"get-details": {
|
|
842
|
+
"description": "The flag to get details of the test case result.",
|
|
843
|
+
"name": "get-details",
|
|
843
844
|
"required": false,
|
|
844
845
|
"hasDynamicHelp": false,
|
|
845
846
|
"multiple": false,
|
|
@@ -848,7 +849,7 @@
|
|
|
848
849
|
},
|
|
849
850
|
"hasDynamicHelp": false,
|
|
850
851
|
"hiddenAliases": [],
|
|
851
|
-
"id": "web:api:
|
|
852
|
+
"id": "web:api:describe-result",
|
|
852
853
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
853
854
|
"pluginName": "@autifyhq/autify-cli",
|
|
854
855
|
"pluginType": "core",
|
|
@@ -860,29 +861,29 @@
|
|
|
860
861
|
"commands",
|
|
861
862
|
"web",
|
|
862
863
|
"api",
|
|
863
|
-
"
|
|
864
|
+
"describe-result.js"
|
|
864
865
|
]
|
|
865
866
|
},
|
|
866
|
-
"web:api:
|
|
867
|
+
"web:api:describe-scenario": {
|
|
867
868
|
"aliases": [],
|
|
868
869
|
"args": {},
|
|
869
|
-
"description": "
|
|
870
|
+
"description": "Get a scenario.",
|
|
870
871
|
"examples": [
|
|
871
872
|
"<%= config.bin %> <%= command.id %>"
|
|
872
873
|
],
|
|
873
874
|
"flags": {
|
|
874
875
|
"project-id": {
|
|
875
|
-
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
876
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
876
877
|
"name": "project-id",
|
|
877
878
|
"required": true,
|
|
878
879
|
"hasDynamicHelp": false,
|
|
879
880
|
"multiple": false,
|
|
880
881
|
"type": "option"
|
|
881
882
|
},
|
|
882
|
-
"
|
|
883
|
-
"description": "
|
|
884
|
-
"name": "
|
|
885
|
-
"required":
|
|
883
|
+
"scenario-id": {
|
|
884
|
+
"description": "For example, 2 for the following URL: https://app.autify.com/projects/1/scenarios/2",
|
|
885
|
+
"name": "scenario-id",
|
|
886
|
+
"required": true,
|
|
886
887
|
"hasDynamicHelp": false,
|
|
887
888
|
"multiple": false,
|
|
888
889
|
"type": "option"
|
|
@@ -890,7 +891,7 @@
|
|
|
890
891
|
},
|
|
891
892
|
"hasDynamicHelp": false,
|
|
892
893
|
"hiddenAliases": [],
|
|
893
|
-
"id": "web:api:
|
|
894
|
+
"id": "web:api:describe-scenario",
|
|
894
895
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
895
896
|
"pluginName": "@autifyhq/autify-cli",
|
|
896
897
|
"pluginType": "core",
|
|
@@ -902,20 +903,28 @@
|
|
|
902
903
|
"commands",
|
|
903
904
|
"web",
|
|
904
905
|
"api",
|
|
905
|
-
"
|
|
906
|
+
"describe-scenario.js"
|
|
906
907
|
]
|
|
907
908
|
},
|
|
908
|
-
"web:api:
|
|
909
|
+
"web:api:execute-scenarios": {
|
|
909
910
|
"aliases": [],
|
|
910
911
|
"args": {},
|
|
911
|
-
"description": "
|
|
912
|
+
"description": "You can execute any scenarios in your workspace using any execution environments (which is called \"capabilities\" here).",
|
|
912
913
|
"examples": [
|
|
913
914
|
"<%= config.bin %> <%= command.id %>"
|
|
914
915
|
],
|
|
915
916
|
"flags": {
|
|
916
|
-
"
|
|
917
|
-
"description": "For example,
|
|
918
|
-
"name": "
|
|
917
|
+
"project-id": {
|
|
918
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
919
|
+
"name": "project-id",
|
|
920
|
+
"required": true,
|
|
921
|
+
"hasDynamicHelp": false,
|
|
922
|
+
"multiple": false,
|
|
923
|
+
"type": "option"
|
|
924
|
+
},
|
|
925
|
+
"execute-scenarios-request": {
|
|
926
|
+
"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\"}}",
|
|
927
|
+
"name": "execute-scenarios-request",
|
|
919
928
|
"required": true,
|
|
920
929
|
"hasDynamicHelp": false,
|
|
921
930
|
"multiple": false,
|
|
@@ -924,7 +933,7 @@
|
|
|
924
933
|
},
|
|
925
934
|
"hasDynamicHelp": false,
|
|
926
935
|
"hiddenAliases": [],
|
|
927
|
-
"id": "web:api:
|
|
936
|
+
"id": "web:api:execute-scenarios",
|
|
928
937
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
929
938
|
"pluginName": "@autifyhq/autify-cli",
|
|
930
939
|
"pluginType": "core",
|
|
@@ -936,29 +945,37 @@
|
|
|
936
945
|
"commands",
|
|
937
946
|
"web",
|
|
938
947
|
"api",
|
|
939
|
-
"
|
|
948
|
+
"execute-scenarios.js"
|
|
940
949
|
]
|
|
941
950
|
},
|
|
942
|
-
"web:api:
|
|
951
|
+
"web:api:execute-schedule": {
|
|
943
952
|
"aliases": [],
|
|
944
953
|
"args": {},
|
|
945
|
-
"description": "
|
|
954
|
+
"description": "\"Schedule\" is called as \"Test Plan\" now. If you want to run a test plan, use this endpoint.",
|
|
946
955
|
"examples": [
|
|
947
956
|
"<%= config.bin %> <%= command.id %>"
|
|
948
957
|
],
|
|
949
958
|
"flags": {
|
|
950
|
-
"
|
|
951
|
-
"description": "For example,
|
|
952
|
-
"name": "
|
|
959
|
+
"schedule-id": {
|
|
960
|
+
"description": "For example, 3 for the following URL: https://app.autify.com/projects/1/test_plans/3",
|
|
961
|
+
"name": "schedule-id",
|
|
953
962
|
"required": true,
|
|
954
963
|
"hasDynamicHelp": false,
|
|
955
964
|
"multiple": false,
|
|
956
965
|
"type": "option"
|
|
966
|
+
},
|
|
967
|
+
"execute-schedule-request": {
|
|
968
|
+
"description": "A JSON object with the options to execute a test plan. e.g. {\"autify_connect\":{\"name\":\"string\"}}",
|
|
969
|
+
"name": "execute-schedule-request",
|
|
970
|
+
"required": false,
|
|
971
|
+
"hasDynamicHelp": false,
|
|
972
|
+
"multiple": false,
|
|
973
|
+
"type": "option"
|
|
957
974
|
}
|
|
958
975
|
},
|
|
959
976
|
"hasDynamicHelp": false,
|
|
960
977
|
"hiddenAliases": [],
|
|
961
|
-
"id": "web:api:
|
|
978
|
+
"id": "web:api:execute-schedule",
|
|
962
979
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
963
980
|
"pluginName": "@autifyhq/autify-cli",
|
|
964
981
|
"pluginType": "core",
|
|
@@ -970,37 +987,61 @@
|
|
|
970
987
|
"commands",
|
|
971
988
|
"web",
|
|
972
989
|
"api",
|
|
973
|
-
"
|
|
990
|
+
"execute-schedule.js"
|
|
974
991
|
]
|
|
975
992
|
},
|
|
976
|
-
"web:api:
|
|
993
|
+
"web:api:get-credit-usage": {
|
|
977
994
|
"aliases": [],
|
|
978
995
|
"args": {},
|
|
979
|
-
"description": "
|
|
996
|
+
"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.",
|
|
980
997
|
"examples": [
|
|
981
998
|
"<%= config.bin %> <%= command.id %>"
|
|
982
999
|
],
|
|
983
1000
|
"flags": {
|
|
984
|
-
"
|
|
985
|
-
"description": "For example,
|
|
986
|
-
"name": "
|
|
1001
|
+
"project-id": {
|
|
1002
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/credits",
|
|
1003
|
+
"name": "project-id",
|
|
987
1004
|
"required": true,
|
|
988
1005
|
"hasDynamicHelp": false,
|
|
989
1006
|
"multiple": false,
|
|
990
1007
|
"type": "option"
|
|
991
1008
|
},
|
|
992
|
-
"
|
|
993
|
-
"description": "
|
|
994
|
-
"name": "
|
|
995
|
-
"required":
|
|
1009
|
+
"date-from": {
|
|
1010
|
+
"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\").",
|
|
1011
|
+
"name": "date-from",
|
|
1012
|
+
"required": false,
|
|
996
1013
|
"hasDynamicHelp": false,
|
|
997
1014
|
"multiple": false,
|
|
998
1015
|
"type": "option"
|
|
999
1016
|
},
|
|
1000
|
-
"
|
|
1001
|
-
"description": "The
|
|
1002
|
-
"name": "
|
|
1003
|
-
"required":
|
|
1017
|
+
"date-to": {
|
|
1018
|
+
"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\").",
|
|
1019
|
+
"name": "date-to",
|
|
1020
|
+
"required": false,
|
|
1021
|
+
"hasDynamicHelp": false,
|
|
1022
|
+
"multiple": false,
|
|
1023
|
+
"type": "option"
|
|
1024
|
+
},
|
|
1025
|
+
"scenario-id": {
|
|
1026
|
+
"description": "The scenario ID to filter used credits by.",
|
|
1027
|
+
"name": "scenario-id",
|
|
1028
|
+
"required": false,
|
|
1029
|
+
"hasDynamicHelp": false,
|
|
1030
|
+
"multiple": false,
|
|
1031
|
+
"type": "option"
|
|
1032
|
+
},
|
|
1033
|
+
"test-plan-id": {
|
|
1034
|
+
"description": "The test plan ID to filter used credits by.",
|
|
1035
|
+
"name": "test-plan-id",
|
|
1036
|
+
"required": false,
|
|
1037
|
+
"hasDynamicHelp": false,
|
|
1038
|
+
"multiple": false,
|
|
1039
|
+
"type": "option"
|
|
1040
|
+
},
|
|
1041
|
+
"user-id": {
|
|
1042
|
+
"description": "The user ID that executed tests to filter used credits by.",
|
|
1043
|
+
"name": "user-id",
|
|
1044
|
+
"required": false,
|
|
1004
1045
|
"hasDynamicHelp": false,
|
|
1005
1046
|
"multiple": false,
|
|
1006
1047
|
"type": "option"
|
|
@@ -1008,7 +1049,7 @@
|
|
|
1008
1049
|
},
|
|
1009
1050
|
"hasDynamicHelp": false,
|
|
1010
1051
|
"hiddenAliases": [],
|
|
1011
|
-
"id": "web:api:
|
|
1052
|
+
"id": "web:api:get-credit-usage",
|
|
1012
1053
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1013
1054
|
"pluginName": "@autifyhq/autify-cli",
|
|
1014
1055
|
"pluginType": "core",
|
|
@@ -1020,36 +1061,20 @@
|
|
|
1020
1061
|
"commands",
|
|
1021
1062
|
"web",
|
|
1022
1063
|
"api",
|
|
1023
|
-
"
|
|
1064
|
+
"get-credit-usage.js"
|
|
1024
1065
|
]
|
|
1025
1066
|
},
|
|
1026
|
-
"web:api:
|
|
1067
|
+
"web:api:get-project-info": {
|
|
1027
1068
|
"aliases": [],
|
|
1028
1069
|
"args": {},
|
|
1029
|
-
"description": "
|
|
1070
|
+
"description": "Get project information.",
|
|
1030
1071
|
"examples": [
|
|
1031
1072
|
"<%= config.bin %> <%= command.id %>"
|
|
1032
1073
|
],
|
|
1033
1074
|
"flags": {
|
|
1034
|
-
"
|
|
1035
|
-
"description": "For example,
|
|
1036
|
-
"name": "
|
|
1037
|
-
"required": true,
|
|
1038
|
-
"hasDynamicHelp": false,
|
|
1039
|
-
"multiple": false,
|
|
1040
|
-
"type": "option"
|
|
1041
|
-
},
|
|
1042
|
-
"url-replacement-id": {
|
|
1043
|
-
"description": "url_replacement id",
|
|
1044
|
-
"name": "url-replacement-id",
|
|
1045
|
-
"required": true,
|
|
1046
|
-
"hasDynamicHelp": false,
|
|
1047
|
-
"multiple": false,
|
|
1048
|
-
"type": "option"
|
|
1049
|
-
},
|
|
1050
|
-
"update-url-replacement-request": {
|
|
1051
|
-
"description": "The url to replace. Either pattern_url or replacement_url is required.",
|
|
1052
|
-
"name": "update-url-replacement-request",
|
|
1075
|
+
"project-id": {
|
|
1076
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/project_info",
|
|
1077
|
+
"name": "project-id",
|
|
1053
1078
|
"required": true,
|
|
1054
1079
|
"hasDynamicHelp": false,
|
|
1055
1080
|
"multiple": false,
|
|
@@ -1058,7 +1083,7 @@
|
|
|
1058
1083
|
},
|
|
1059
1084
|
"hasDynamicHelp": false,
|
|
1060
1085
|
"hiddenAliases": [],
|
|
1061
|
-
"id": "web:api:
|
|
1086
|
+
"id": "web:api:get-project-info",
|
|
1062
1087
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1063
1088
|
"pluginName": "@autifyhq/autify-cli",
|
|
1064
1089
|
"pluginType": "core",
|
|
@@ -1070,21 +1095,37 @@
|
|
|
1070
1095
|
"commands",
|
|
1071
1096
|
"web",
|
|
1072
1097
|
"api",
|
|
1073
|
-
"
|
|
1098
|
+
"get-project-info.js"
|
|
1074
1099
|
]
|
|
1075
1100
|
},
|
|
1076
|
-
"web:
|
|
1101
|
+
"web:api:list-access-points": {
|
|
1077
1102
|
"aliases": [],
|
|
1078
1103
|
"args": {},
|
|
1079
|
-
"description": "
|
|
1104
|
+
"description": "List access points for the project.",
|
|
1080
1105
|
"examples": [
|
|
1081
|
-
"
|
|
1082
|
-
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
1106
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1083
1107
|
],
|
|
1084
|
-
"flags": {
|
|
1108
|
+
"flags": {
|
|
1109
|
+
"project-id": {
|
|
1110
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
1111
|
+
"name": "project-id",
|
|
1112
|
+
"required": true,
|
|
1113
|
+
"hasDynamicHelp": false,
|
|
1114
|
+
"multiple": false,
|
|
1115
|
+
"type": "option"
|
|
1116
|
+
},
|
|
1117
|
+
"page": {
|
|
1118
|
+
"description": "The number of page returns.",
|
|
1119
|
+
"name": "page",
|
|
1120
|
+
"required": false,
|
|
1121
|
+
"hasDynamicHelp": false,
|
|
1122
|
+
"multiple": false,
|
|
1123
|
+
"type": "option"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1085
1126
|
"hasDynamicHelp": false,
|
|
1086
1127
|
"hiddenAliases": [],
|
|
1087
|
-
"id": "web:
|
|
1128
|
+
"id": "web:api:list-access-points",
|
|
1088
1129
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1089
1130
|
"pluginName": "@autifyhq/autify-cli",
|
|
1090
1131
|
"pluginType": "core",
|
|
@@ -1095,169 +1136,62 @@
|
|
|
1095
1136
|
"dist",
|
|
1096
1137
|
"commands",
|
|
1097
1138
|
"web",
|
|
1098
|
-
"
|
|
1099
|
-
"
|
|
1139
|
+
"api",
|
|
1140
|
+
"list-access-points.js"
|
|
1100
1141
|
]
|
|
1101
1142
|
},
|
|
1102
|
-
"web:
|
|
1143
|
+
"web:api:list-capabilities": {
|
|
1103
1144
|
"aliases": [],
|
|
1104
|
-
"args": {
|
|
1105
|
-
|
|
1106
|
-
"description": "Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>",
|
|
1107
|
-
"name": "scenario-or-test-plan-url",
|
|
1108
|
-
"required": true
|
|
1109
|
-
}
|
|
1110
|
-
},
|
|
1111
|
-
"description": "Run a scenario or test plan.",
|
|
1145
|
+
"args": {},
|
|
1146
|
+
"description": "List available Capabilities.",
|
|
1112
1147
|
"examples": [
|
|
1113
|
-
"
|
|
1114
|
-
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
1115
|
-
"Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600",
|
|
1116
|
-
"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",
|
|
1117
|
-
"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\"",
|
|
1118
|
-
"Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"",
|
|
1119
|
-
"Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME",
|
|
1120
|
-
"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"
|
|
1148
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1121
1149
|
],
|
|
1122
1150
|
"flags": {
|
|
1123
|
-
"
|
|
1124
|
-
"
|
|
1125
|
-
"
|
|
1126
|
-
"
|
|
1127
|
-
"hasDynamicHelp": false,
|
|
1128
|
-
"multiple": false,
|
|
1129
|
-
"type": "option"
|
|
1130
|
-
},
|
|
1131
|
-
"url-replacements": {
|
|
1132
|
-
"char": "r",
|
|
1133
|
-
"description": "URL replacements. Example: \"http://example.com http://example.net\"",
|
|
1134
|
-
"name": "url-replacements",
|
|
1135
|
-
"hasDynamicHelp": false,
|
|
1136
|
-
"multiple": true,
|
|
1137
|
-
"type": "option"
|
|
1138
|
-
},
|
|
1139
|
-
"autify-connect": {
|
|
1140
|
-
"description": "Name of the Autify Connect Access Point.",
|
|
1141
|
-
"exclusive": [
|
|
1142
|
-
"autify-connect-client"
|
|
1143
|
-
],
|
|
1144
|
-
"name": "autify-connect",
|
|
1145
|
-
"hasDynamicHelp": false,
|
|
1146
|
-
"multiple": false,
|
|
1147
|
-
"type": "option"
|
|
1148
|
-
},
|
|
1149
|
-
"autify-connect-client": {
|
|
1150
|
-
"dependsOn": [
|
|
1151
|
-
"wait"
|
|
1152
|
-
],
|
|
1153
|
-
"description": "Start Autify Connect Client",
|
|
1154
|
-
"exclusive": [
|
|
1155
|
-
"autify-connect"
|
|
1156
|
-
],
|
|
1157
|
-
"name": "autify-connect-client",
|
|
1158
|
-
"allowNo": false,
|
|
1159
|
-
"type": "boolean"
|
|
1160
|
-
},
|
|
1161
|
-
"autify-connect-client-verbose": {
|
|
1162
|
-
"dependsOn": [
|
|
1163
|
-
"autify-connect-client"
|
|
1164
|
-
],
|
|
1165
|
-
"description": "Verbose output for Autify Connect Client.",
|
|
1166
|
-
"name": "autify-connect-client-verbose",
|
|
1167
|
-
"allowNo": false,
|
|
1168
|
-
"type": "boolean"
|
|
1169
|
-
},
|
|
1170
|
-
"autify-connect-client-file-logging": {
|
|
1171
|
-
"dependsOn": [
|
|
1172
|
-
"autify-connect-client"
|
|
1173
|
-
],
|
|
1174
|
-
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1175
|
-
"name": "autify-connect-client-file-logging",
|
|
1176
|
-
"allowNo": false,
|
|
1177
|
-
"type": "boolean"
|
|
1178
|
-
},
|
|
1179
|
-
"autify-connect-client-debug-server-port": {
|
|
1180
|
-
"dependsOn": [
|
|
1181
|
-
"autify-connect-client"
|
|
1182
|
-
],
|
|
1183
|
-
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1184
|
-
"name": "autify-connect-client-debug-server-port",
|
|
1185
|
-
"hasDynamicHelp": false,
|
|
1186
|
-
"multiple": false,
|
|
1187
|
-
"type": "option"
|
|
1188
|
-
},
|
|
1189
|
-
"autify-connect-client-extra-arguments": {
|
|
1190
|
-
"dependsOn": [
|
|
1191
|
-
"autify-connect-client"
|
|
1192
|
-
],
|
|
1193
|
-
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1194
|
-
"name": "autify-connect-client-extra-arguments",
|
|
1151
|
+
"project-id": {
|
|
1152
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/capabilities",
|
|
1153
|
+
"name": "project-id",
|
|
1154
|
+
"required": true,
|
|
1195
1155
|
"hasDynamicHelp": false,
|
|
1196
1156
|
"multiple": false,
|
|
1197
1157
|
"type": "option"
|
|
1198
1158
|
},
|
|
1199
1159
|
"os": {
|
|
1200
|
-
"description": "
|
|
1160
|
+
"description": "os name to filter (deprecated)",
|
|
1201
1161
|
"name": "os",
|
|
1162
|
+
"required": false,
|
|
1202
1163
|
"hasDynamicHelp": false,
|
|
1203
1164
|
"multiple": false,
|
|
1204
1165
|
"type": "option"
|
|
1205
1166
|
},
|
|
1206
|
-
"os-
|
|
1207
|
-
"description": "
|
|
1208
|
-
"name": "os-
|
|
1167
|
+
"os-type": {
|
|
1168
|
+
"description": "Type of the os to filter",
|
|
1169
|
+
"name": "os-type",
|
|
1170
|
+
"required": false,
|
|
1209
1171
|
"hasDynamicHelp": false,
|
|
1210
1172
|
"multiple": false,
|
|
1211
1173
|
"type": "option"
|
|
1212
1174
|
},
|
|
1213
1175
|
"browser": {
|
|
1214
|
-
"description": "
|
|
1176
|
+
"description": "browser name to filter (deprecated)",
|
|
1215
1177
|
"name": "browser",
|
|
1178
|
+
"required": false,
|
|
1216
1179
|
"hasDynamicHelp": false,
|
|
1217
1180
|
"multiple": false,
|
|
1218
1181
|
"type": "option"
|
|
1219
1182
|
},
|
|
1220
|
-
"
|
|
1221
|
-
"description": "
|
|
1222
|
-
"name": "
|
|
1183
|
+
"browser-type": {
|
|
1184
|
+
"description": "Type of the browser to filter",
|
|
1185
|
+
"name": "browser-type",
|
|
1186
|
+
"required": false,
|
|
1223
1187
|
"hasDynamicHelp": false,
|
|
1224
1188
|
"multiple": false,
|
|
1225
1189
|
"type": "option"
|
|
1226
1190
|
},
|
|
1227
1191
|
"device-type": {
|
|
1228
|
-
"description": "
|
|
1192
|
+
"description": "device_type name to filter (mobile is deprecated)",
|
|
1229
1193
|
"name": "device-type",
|
|
1230
|
-
"
|
|
1231
|
-
"multiple": false,
|
|
1232
|
-
"type": "option"
|
|
1233
|
-
},
|
|
1234
|
-
"wait": {
|
|
1235
|
-
"char": "w",
|
|
1236
|
-
"description": "Wait until the test finishes.",
|
|
1237
|
-
"name": "wait",
|
|
1238
|
-
"allowNo": false,
|
|
1239
|
-
"type": "boolean"
|
|
1240
|
-
},
|
|
1241
|
-
"timeout": {
|
|
1242
|
-
"char": "t",
|
|
1243
|
-
"description": "Timeout seconds when waiting for the finish of the test execution.",
|
|
1244
|
-
"name": "timeout",
|
|
1245
|
-
"default": 300,
|
|
1246
|
-
"hasDynamicHelp": false,
|
|
1247
|
-
"multiple": false,
|
|
1248
|
-
"type": "option"
|
|
1249
|
-
},
|
|
1250
|
-
"verbose": {
|
|
1251
|
-
"char": "v",
|
|
1252
|
-
"description": "Verbose output",
|
|
1253
|
-
"name": "verbose",
|
|
1254
|
-
"allowNo": false,
|
|
1255
|
-
"type": "boolean"
|
|
1256
|
-
},
|
|
1257
|
-
"max-retry-count": {
|
|
1258
|
-
"description": "Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.",
|
|
1259
|
-
"name": "max-retry-count",
|
|
1260
|
-
"default": 0,
|
|
1194
|
+
"required": false,
|
|
1261
1195
|
"hasDynamicHelp": false,
|
|
1262
1196
|
"multiple": false,
|
|
1263
1197
|
"type": "option"
|
|
@@ -1265,7 +1199,7 @@
|
|
|
1265
1199
|
},
|
|
1266
1200
|
"hasDynamicHelp": false,
|
|
1267
1201
|
"hiddenAliases": [],
|
|
1268
|
-
"id": "web:
|
|
1202
|
+
"id": "web:api:list-capabilities",
|
|
1269
1203
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1270
1204
|
"pluginName": "@autifyhq/autify-cli",
|
|
1271
1205
|
"pluginType": "core",
|
|
@@ -1276,44 +1210,54 @@
|
|
|
1276
1210
|
"dist",
|
|
1277
1211
|
"commands",
|
|
1278
1212
|
"web",
|
|
1279
|
-
"
|
|
1280
|
-
"
|
|
1213
|
+
"api",
|
|
1214
|
+
"list-capabilities.js"
|
|
1281
1215
|
]
|
|
1282
1216
|
},
|
|
1283
|
-
"web:
|
|
1217
|
+
"web:api:list-results": {
|
|
1284
1218
|
"aliases": [],
|
|
1285
|
-
"args": {
|
|
1286
|
-
|
|
1287
|
-
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1288
|
-
"name": "test-result-url",
|
|
1289
|
-
"required": true
|
|
1290
|
-
}
|
|
1291
|
-
},
|
|
1292
|
-
"description": "Wait a test result until it finishes.",
|
|
1219
|
+
"args": {},
|
|
1220
|
+
"description": "List test results.",
|
|
1293
1221
|
"examples": [
|
|
1294
|
-
"<%= config.bin %> <%= command.id %>
|
|
1222
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1295
1223
|
],
|
|
1296
1224
|
"flags": {
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
1299
|
-
"
|
|
1300
|
-
"
|
|
1301
|
-
"default": 300,
|
|
1225
|
+
"project-id": {
|
|
1226
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/results",
|
|
1227
|
+
"name": "project-id",
|
|
1228
|
+
"required": true,
|
|
1302
1229
|
"hasDynamicHelp": false,
|
|
1303
1230
|
"multiple": false,
|
|
1304
1231
|
"type": "option"
|
|
1305
1232
|
},
|
|
1306
|
-
"
|
|
1307
|
-
"
|
|
1308
|
-
"
|
|
1309
|
-
"
|
|
1310
|
-
"
|
|
1311
|
-
"
|
|
1233
|
+
"page": {
|
|
1234
|
+
"description": "The number of page returns.",
|
|
1235
|
+
"name": "page",
|
|
1236
|
+
"required": false,
|
|
1237
|
+
"hasDynamicHelp": false,
|
|
1238
|
+
"multiple": false,
|
|
1239
|
+
"type": "option"
|
|
1240
|
+
},
|
|
1241
|
+
"per-page": {
|
|
1242
|
+
"description": "The number of items returns. Default number is 30 and up to a maximum of 100",
|
|
1243
|
+
"name": "per-page",
|
|
1244
|
+
"required": false,
|
|
1245
|
+
"hasDynamicHelp": false,
|
|
1246
|
+
"multiple": false,
|
|
1247
|
+
"type": "option"
|
|
1248
|
+
},
|
|
1249
|
+
"test-plan-id": {
|
|
1250
|
+
"description": "Test plan ID used to filter results.",
|
|
1251
|
+
"name": "test-plan-id",
|
|
1252
|
+
"required": false,
|
|
1253
|
+
"hasDynamicHelp": false,
|
|
1254
|
+
"multiple": false,
|
|
1255
|
+
"type": "option"
|
|
1312
1256
|
}
|
|
1313
1257
|
},
|
|
1314
1258
|
"hasDynamicHelp": false,
|
|
1315
1259
|
"hiddenAliases": [],
|
|
1316
|
-
"id": "web:
|
|
1260
|
+
"id": "web:api:list-results",
|
|
1317
1261
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1318
1262
|
"pluginName": "@autifyhq/autify-cli",
|
|
1319
1263
|
"pluginType": "core",
|
|
@@ -1324,30 +1268,30 @@
|
|
|
1324
1268
|
"dist",
|
|
1325
1269
|
"commands",
|
|
1326
1270
|
"web",
|
|
1327
|
-
"
|
|
1328
|
-
"
|
|
1271
|
+
"api",
|
|
1272
|
+
"list-results.js"
|
|
1329
1273
|
]
|
|
1330
1274
|
},
|
|
1331
|
-
"
|
|
1275
|
+
"web:api:list-scenarios": {
|
|
1332
1276
|
"aliases": [],
|
|
1333
1277
|
"args": {},
|
|
1334
|
-
"description": "
|
|
1278
|
+
"description": "List scenarios.",
|
|
1335
1279
|
"examples": [
|
|
1336
1280
|
"<%= config.bin %> <%= command.id %>"
|
|
1337
1281
|
],
|
|
1338
1282
|
"flags": {
|
|
1339
1283
|
"project-id": {
|
|
1340
|
-
"description": "
|
|
1284
|
+
"description": "For example, 1 for the following URL: https://app.autify.com/projects/1/scenarios",
|
|
1341
1285
|
"name": "project-id",
|
|
1342
1286
|
"required": true,
|
|
1343
1287
|
"hasDynamicHelp": false,
|
|
1344
1288
|
"multiple": false,
|
|
1345
1289
|
"type": "option"
|
|
1346
1290
|
},
|
|
1347
|
-
"
|
|
1348
|
-
"description": "
|
|
1349
|
-
"name": "
|
|
1350
|
-
"required":
|
|
1291
|
+
"page": {
|
|
1292
|
+
"description": "The number of page returns.",
|
|
1293
|
+
"name": "page",
|
|
1294
|
+
"required": false,
|
|
1351
1295
|
"hasDynamicHelp": false,
|
|
1352
1296
|
"multiple": false,
|
|
1353
1297
|
"type": "option"
|
|
@@ -1355,7 +1299,7 @@
|
|
|
1355
1299
|
},
|
|
1356
1300
|
"hasDynamicHelp": false,
|
|
1357
1301
|
"hiddenAliases": [],
|
|
1358
|
-
"id": "
|
|
1302
|
+
"id": "web:api:list-scenarios",
|
|
1359
1303
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1360
1304
|
"pluginName": "@autifyhq/autify-cli",
|
|
1361
1305
|
"pluginType": "core",
|
|
@@ -1365,47 +1309,57 @@
|
|
|
1365
1309
|
"relativePath": [
|
|
1366
1310
|
"dist",
|
|
1367
1311
|
"commands",
|
|
1368
|
-
"
|
|
1312
|
+
"web",
|
|
1369
1313
|
"api",
|
|
1370
|
-
"
|
|
1314
|
+
"list-scenarios.js"
|
|
1371
1315
|
]
|
|
1372
1316
|
},
|
|
1373
|
-
"
|
|
1317
|
+
"web:api:list-test-plan-variable": {
|
|
1374
1318
|
"aliases": [],
|
|
1375
1319
|
"args": {},
|
|
1376
|
-
"description": "List test
|
|
1320
|
+
"description": "List the test plan's variables",
|
|
1377
1321
|
"examples": [
|
|
1378
1322
|
"<%= config.bin %> <%= command.id %>"
|
|
1379
1323
|
],
|
|
1380
1324
|
"flags": {
|
|
1381
|
-
"
|
|
1382
|
-
"description": "
|
|
1383
|
-
"name": "
|
|
1325
|
+
"test-plan-id": {
|
|
1326
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1327
|
+
"name": "test-plan-id",
|
|
1384
1328
|
"required": true,
|
|
1385
1329
|
"hasDynamicHelp": false,
|
|
1386
1330
|
"multiple": false,
|
|
1387
1331
|
"type": "option"
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
"hasDynamicHelp": false,
|
|
1335
|
+
"hiddenAliases": [],
|
|
1336
|
+
"id": "web:api:list-test-plan-variable",
|
|
1337
|
+
"pluginAlias": "@autifyhq/autify-cli",
|
|
1338
|
+
"pluginName": "@autifyhq/autify-cli",
|
|
1339
|
+
"pluginType": "core",
|
|
1340
|
+
"strict": true,
|
|
1341
|
+
"enableJsonFlag": false,
|
|
1342
|
+
"isESM": false,
|
|
1343
|
+
"relativePath": [
|
|
1344
|
+
"dist",
|
|
1345
|
+
"commands",
|
|
1346
|
+
"web",
|
|
1347
|
+
"api",
|
|
1348
|
+
"list-test-plan-variable.js"
|
|
1349
|
+
]
|
|
1350
|
+
},
|
|
1351
|
+
"web:api:list-url-replacements": {
|
|
1352
|
+
"aliases": [],
|
|
1353
|
+
"args": {},
|
|
1354
|
+
"description": "List url replacements for the test plan",
|
|
1355
|
+
"examples": [
|
|
1356
|
+
"<%= config.bin %> <%= command.id %>"
|
|
1357
|
+
],
|
|
1358
|
+
"flags": {
|
|
1405
1359
|
"test-plan-id": {
|
|
1406
|
-
"description": "
|
|
1360
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1407
1361
|
"name": "test-plan-id",
|
|
1408
|
-
"required":
|
|
1362
|
+
"required": true,
|
|
1409
1363
|
"hasDynamicHelp": false,
|
|
1410
1364
|
"multiple": false,
|
|
1411
1365
|
"type": "option"
|
|
@@ -1413,7 +1367,7 @@
|
|
|
1413
1367
|
},
|
|
1414
1368
|
"hasDynamicHelp": false,
|
|
1415
1369
|
"hiddenAliases": [],
|
|
1416
|
-
"id": "
|
|
1370
|
+
"id": "web:api:list-url-replacements",
|
|
1417
1371
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1418
1372
|
"pluginName": "@autifyhq/autify-cli",
|
|
1419
1373
|
"pluginType": "core",
|
|
@@ -1423,30 +1377,38 @@
|
|
|
1423
1377
|
"relativePath": [
|
|
1424
1378
|
"dist",
|
|
1425
1379
|
"commands",
|
|
1426
|
-
"
|
|
1380
|
+
"web",
|
|
1427
1381
|
"api",
|
|
1428
|
-
"list-
|
|
1382
|
+
"list-url-replacements.js"
|
|
1429
1383
|
]
|
|
1430
1384
|
},
|
|
1431
|
-
"
|
|
1385
|
+
"web:api:update-test-plan-variable": {
|
|
1432
1386
|
"aliases": [],
|
|
1433
1387
|
"args": {},
|
|
1434
|
-
"description": "
|
|
1388
|
+
"description": "Update a url replacement for the test plan",
|
|
1435
1389
|
"examples": [
|
|
1436
1390
|
"<%= config.bin %> <%= command.id %>"
|
|
1437
1391
|
],
|
|
1438
1392
|
"flags": {
|
|
1439
1393
|
"test-plan-id": {
|
|
1440
|
-
"description": "
|
|
1394
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1441
1395
|
"name": "test-plan-id",
|
|
1442
1396
|
"required": true,
|
|
1443
1397
|
"hasDynamicHelp": false,
|
|
1444
1398
|
"multiple": false,
|
|
1445
1399
|
"type": "option"
|
|
1446
1400
|
},
|
|
1447
|
-
"
|
|
1448
|
-
"description": "
|
|
1449
|
-
"name": "
|
|
1401
|
+
"test-plan-variable-id": {
|
|
1402
|
+
"description": "test_plan_variable id",
|
|
1403
|
+
"name": "test-plan-variable-id",
|
|
1404
|
+
"required": true,
|
|
1405
|
+
"hasDynamicHelp": false,
|
|
1406
|
+
"multiple": false,
|
|
1407
|
+
"type": "option"
|
|
1408
|
+
},
|
|
1409
|
+
"update-test-plan-variable-request": {
|
|
1410
|
+
"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\"}",
|
|
1411
|
+
"name": "update-test-plan-variable-request",
|
|
1450
1412
|
"required": true,
|
|
1451
1413
|
"hasDynamicHelp": false,
|
|
1452
1414
|
"multiple": false,
|
|
@@ -1455,7 +1417,7 @@
|
|
|
1455
1417
|
},
|
|
1456
1418
|
"hasDynamicHelp": false,
|
|
1457
1419
|
"hiddenAliases": [],
|
|
1458
|
-
"id": "
|
|
1420
|
+
"id": "web:api:update-test-plan-variable",
|
|
1459
1421
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1460
1422
|
"pluginName": "@autifyhq/autify-cli",
|
|
1461
1423
|
"pluginType": "core",
|
|
@@ -1465,30 +1427,38 @@
|
|
|
1465
1427
|
"relativePath": [
|
|
1466
1428
|
"dist",
|
|
1467
1429
|
"commands",
|
|
1468
|
-
"
|
|
1430
|
+
"web",
|
|
1469
1431
|
"api",
|
|
1470
|
-
"
|
|
1432
|
+
"update-test-plan-variable.js"
|
|
1471
1433
|
]
|
|
1472
1434
|
},
|
|
1473
|
-
"
|
|
1435
|
+
"web:api:update-url-replacement": {
|
|
1474
1436
|
"aliases": [],
|
|
1475
1437
|
"args": {},
|
|
1476
|
-
"description": "
|
|
1438
|
+
"description": "Update a url replacement for the test plan",
|
|
1477
1439
|
"examples": [
|
|
1478
1440
|
"<%= config.bin %> <%= command.id %>"
|
|
1479
1441
|
],
|
|
1480
1442
|
"flags": {
|
|
1481
|
-
"
|
|
1482
|
-
"description": "
|
|
1483
|
-
"name": "
|
|
1443
|
+
"test-plan-id": {
|
|
1444
|
+
"description": "For example, 15 for the following URL: https://app.autify.com/projects/1/test_plans/15",
|
|
1445
|
+
"name": "test-plan-id",
|
|
1484
1446
|
"required": true,
|
|
1485
1447
|
"hasDynamicHelp": false,
|
|
1486
1448
|
"multiple": false,
|
|
1487
1449
|
"type": "option"
|
|
1488
1450
|
},
|
|
1489
|
-
"
|
|
1490
|
-
"description": "
|
|
1491
|
-
"name": "
|
|
1451
|
+
"url-replacement-id": {
|
|
1452
|
+
"description": "url_replacement id",
|
|
1453
|
+
"name": "url-replacement-id",
|
|
1454
|
+
"required": true,
|
|
1455
|
+
"hasDynamicHelp": false,
|
|
1456
|
+
"multiple": false,
|
|
1457
|
+
"type": "option"
|
|
1458
|
+
},
|
|
1459
|
+
"update-url-replacement-request": {
|
|
1460
|
+
"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\"}",
|
|
1461
|
+
"name": "update-url-replacement-request",
|
|
1492
1462
|
"required": true,
|
|
1493
1463
|
"hasDynamicHelp": false,
|
|
1494
1464
|
"multiple": false,
|
|
@@ -1497,7 +1467,7 @@
|
|
|
1497
1467
|
},
|
|
1498
1468
|
"hasDynamicHelp": false,
|
|
1499
1469
|
"hiddenAliases": [],
|
|
1500
|
-
"id": "
|
|
1470
|
+
"id": "web:api:update-url-replacement",
|
|
1501
1471
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1502
1472
|
"pluginName": "@autifyhq/autify-cli",
|
|
1503
1473
|
"pluginType": "core",
|
|
@@ -1507,15 +1477,15 @@
|
|
|
1507
1477
|
"relativePath": [
|
|
1508
1478
|
"dist",
|
|
1509
1479
|
"commands",
|
|
1510
|
-
"
|
|
1480
|
+
"web",
|
|
1511
1481
|
"api",
|
|
1512
|
-
"
|
|
1482
|
+
"update-url-replacement.js"
|
|
1513
1483
|
]
|
|
1514
1484
|
},
|
|
1515
|
-
"
|
|
1485
|
+
"web:auth:login": {
|
|
1516
1486
|
"aliases": [],
|
|
1517
1487
|
"args": {},
|
|
1518
|
-
"description": "Login to Autify for
|
|
1488
|
+
"description": "Login to Autify for Web",
|
|
1519
1489
|
"examples": [
|
|
1520
1490
|
"Start interactive setup:\n<%= config.bin %> <%= command.id %>",
|
|
1521
1491
|
"Reading the token from file:\n<%= config.bin %> <%= command.id %> < token.txt"
|
|
@@ -1523,7 +1493,7 @@
|
|
|
1523
1493
|
"flags": {},
|
|
1524
1494
|
"hasDynamicHelp": false,
|
|
1525
1495
|
"hiddenAliases": [],
|
|
1526
|
-
"id": "
|
|
1496
|
+
"id": "web:auth:login",
|
|
1527
1497
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1528
1498
|
"pluginName": "@autifyhq/autify-cli",
|
|
1529
1499
|
"pluginType": "core",
|
|
@@ -1533,93 +1503,139 @@
|
|
|
1533
1503
|
"relativePath": [
|
|
1534
1504
|
"dist",
|
|
1535
1505
|
"commands",
|
|
1536
|
-
"
|
|
1506
|
+
"web",
|
|
1537
1507
|
"auth",
|
|
1538
1508
|
"login.js"
|
|
1539
1509
|
]
|
|
1540
1510
|
},
|
|
1541
|
-
"
|
|
1511
|
+
"web:test:run": {
|
|
1542
1512
|
"aliases": [],
|
|
1543
1513
|
"args": {
|
|
1544
|
-
"
|
|
1545
|
-
"description": "
|
|
1546
|
-
"name": "
|
|
1514
|
+
"scenario-or-test-plan-url": {
|
|
1515
|
+
"description": "Scenario URL or Test plan URL e.g. https://app.autify.com/projects/<ID>/(scenarios|test_plans)/<ID>",
|
|
1516
|
+
"name": "scenario-or-test-plan-url",
|
|
1547
1517
|
"required": true
|
|
1548
1518
|
}
|
|
1549
1519
|
},
|
|
1550
|
-
"description": "
|
|
1520
|
+
"description": "Run a scenario or test plan.",
|
|
1551
1521
|
"examples": [
|
|
1552
|
-
"<%= config.bin %> <%= command.id %>",
|
|
1553
|
-
"
|
|
1554
|
-
"
|
|
1522
|
+
"Run a test scenario (Default capability):\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000",
|
|
1523
|
+
"Run a test plan:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/test_plans/0000",
|
|
1524
|
+
"Run and wait a test scenario:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --wait --timeout 600",
|
|
1525
|
+
"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",
|
|
1526
|
+
"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\"",
|
|
1527
|
+
"Run a test with specifying the execution name:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --name \"Sample execution\"",
|
|
1528
|
+
"Run a test scenario with Autify Connect:\n<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/scenarios/0000 --autify-connect NAME",
|
|
1529
|
+
"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"
|
|
1555
1530
|
],
|
|
1556
1531
|
"flags": {
|
|
1557
|
-
"
|
|
1558
|
-
"
|
|
1559
|
-
"
|
|
1560
|
-
"name": "
|
|
1561
|
-
"allowNo": false,
|
|
1562
|
-
"type": "boolean"
|
|
1563
|
-
},
|
|
1564
|
-
"workspace-id": {
|
|
1565
|
-
"char": "w",
|
|
1566
|
-
"description": "Workspace ID to upload the build file",
|
|
1567
|
-
"name": "workspace-id",
|
|
1568
|
-
"required": true,
|
|
1532
|
+
"name": {
|
|
1533
|
+
"char": "n",
|
|
1534
|
+
"description": "[Only for test scenario] Name of the test execution.",
|
|
1535
|
+
"name": "name",
|
|
1569
1536
|
"hasDynamicHelp": false,
|
|
1570
1537
|
"multiple": false,
|
|
1571
1538
|
"type": "option"
|
|
1572
|
-
}
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
"relativePath": [
|
|
1584
|
-
"dist",
|
|
1585
|
-
"commands",
|
|
1586
|
-
"mobile",
|
|
1587
|
-
"build",
|
|
1588
|
-
"upload.js"
|
|
1589
|
-
]
|
|
1590
|
-
},
|
|
1591
|
-
"mobile:test:run": {
|
|
1592
|
-
"aliases": [],
|
|
1593
|
-
"args": {
|
|
1594
|
-
"test-plan-url": {
|
|
1595
|
-
"description": "Test plan URL e.g. https://mobile-app.autify.com/projects/<ID>/test_plans/<ID>",
|
|
1596
|
-
"name": "test-plan-url",
|
|
1597
|
-
"required": true
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
"description": "Run a test plan.",
|
|
1601
|
-
"examples": [
|
|
1602
|
-
"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",
|
|
1603
|
-
"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",
|
|
1604
|
-
"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"
|
|
1605
|
-
],
|
|
1606
|
-
"flags": {
|
|
1607
|
-
"build-id": {
|
|
1608
|
-
"description": "ID of the already uploaded build.",
|
|
1539
|
+
},
|
|
1540
|
+
"url-replacements": {
|
|
1541
|
+
"char": "r",
|
|
1542
|
+
"description": "URL replacements. Example: \"http://example.com http://example.net\"",
|
|
1543
|
+
"name": "url-replacements",
|
|
1544
|
+
"hasDynamicHelp": false,
|
|
1545
|
+
"multiple": true,
|
|
1546
|
+
"type": "option"
|
|
1547
|
+
},
|
|
1548
|
+
"autify-connect": {
|
|
1549
|
+
"description": "Name of the Autify Connect Access Point.",
|
|
1609
1550
|
"exclusive": [
|
|
1610
|
-
"
|
|
1551
|
+
"autify-connect-client"
|
|
1611
1552
|
],
|
|
1612
|
-
"name": "
|
|
1553
|
+
"name": "autify-connect",
|
|
1613
1554
|
"hasDynamicHelp": false,
|
|
1614
1555
|
"multiple": false,
|
|
1615
1556
|
"type": "option"
|
|
1616
1557
|
},
|
|
1617
|
-
"
|
|
1618
|
-
"
|
|
1558
|
+
"autify-connect-client": {
|
|
1559
|
+
"dependsOn": [
|
|
1560
|
+
"wait"
|
|
1561
|
+
],
|
|
1562
|
+
"description": "Start Autify Connect Client",
|
|
1619
1563
|
"exclusive": [
|
|
1620
|
-
"
|
|
1564
|
+
"autify-connect"
|
|
1621
1565
|
],
|
|
1622
|
-
"name": "
|
|
1566
|
+
"name": "autify-connect-client",
|
|
1567
|
+
"allowNo": false,
|
|
1568
|
+
"type": "boolean"
|
|
1569
|
+
},
|
|
1570
|
+
"autify-connect-client-verbose": {
|
|
1571
|
+
"dependsOn": [
|
|
1572
|
+
"autify-connect-client"
|
|
1573
|
+
],
|
|
1574
|
+
"description": "Verbose output for Autify Connect Client.",
|
|
1575
|
+
"name": "autify-connect-client-verbose",
|
|
1576
|
+
"allowNo": false,
|
|
1577
|
+
"type": "boolean"
|
|
1578
|
+
},
|
|
1579
|
+
"autify-connect-client-file-logging": {
|
|
1580
|
+
"dependsOn": [
|
|
1581
|
+
"autify-connect-client"
|
|
1582
|
+
],
|
|
1583
|
+
"description": "Logging Autify Connect Client log to a file instead of console.",
|
|
1584
|
+
"name": "autify-connect-client-file-logging",
|
|
1585
|
+
"allowNo": false,
|
|
1586
|
+
"type": "boolean"
|
|
1587
|
+
},
|
|
1588
|
+
"autify-connect-client-debug-server-port": {
|
|
1589
|
+
"dependsOn": [
|
|
1590
|
+
"autify-connect-client"
|
|
1591
|
+
],
|
|
1592
|
+
"description": "Port for Autify Connect Client debug server. A random port will be used if not specified.",
|
|
1593
|
+
"name": "autify-connect-client-debug-server-port",
|
|
1594
|
+
"hasDynamicHelp": false,
|
|
1595
|
+
"multiple": false,
|
|
1596
|
+
"type": "option"
|
|
1597
|
+
},
|
|
1598
|
+
"autify-connect-client-extra-arguments": {
|
|
1599
|
+
"dependsOn": [
|
|
1600
|
+
"autify-connect-client"
|
|
1601
|
+
],
|
|
1602
|
+
"description": "Extra command line arguments you want to pass to Autify Connect Client e.g. \"--tunnel-proxy http://proxy\".",
|
|
1603
|
+
"name": "autify-connect-client-extra-arguments",
|
|
1604
|
+
"hasDynamicHelp": false,
|
|
1605
|
+
"multiple": false,
|
|
1606
|
+
"type": "option"
|
|
1607
|
+
},
|
|
1608
|
+
"os": {
|
|
1609
|
+
"description": "[Only for test scenario] OS to run the test",
|
|
1610
|
+
"name": "os",
|
|
1611
|
+
"hasDynamicHelp": false,
|
|
1612
|
+
"multiple": false,
|
|
1613
|
+
"type": "option"
|
|
1614
|
+
},
|
|
1615
|
+
"os-version": {
|
|
1616
|
+
"description": "[Only for test scenario] OS version to run the test",
|
|
1617
|
+
"name": "os-version",
|
|
1618
|
+
"hasDynamicHelp": false,
|
|
1619
|
+
"multiple": false,
|
|
1620
|
+
"type": "option"
|
|
1621
|
+
},
|
|
1622
|
+
"browser": {
|
|
1623
|
+
"description": "[Only for test scenario] Browser to run the test",
|
|
1624
|
+
"name": "browser",
|
|
1625
|
+
"hasDynamicHelp": false,
|
|
1626
|
+
"multiple": false,
|
|
1627
|
+
"type": "option"
|
|
1628
|
+
},
|
|
1629
|
+
"device": {
|
|
1630
|
+
"description": "[Only for test scenario] Device to run the test",
|
|
1631
|
+
"name": "device",
|
|
1632
|
+
"hasDynamicHelp": false,
|
|
1633
|
+
"multiple": false,
|
|
1634
|
+
"type": "option"
|
|
1635
|
+
},
|
|
1636
|
+
"device-type": {
|
|
1637
|
+
"description": "[Only for test scenario] Device type to run the test",
|
|
1638
|
+
"name": "device-type",
|
|
1623
1639
|
"hasDynamicHelp": false,
|
|
1624
1640
|
"multiple": false,
|
|
1625
1641
|
"type": "option"
|
|
@@ -1648,7 +1664,7 @@
|
|
|
1648
1664
|
"type": "boolean"
|
|
1649
1665
|
},
|
|
1650
1666
|
"max-retry-count": {
|
|
1651
|
-
"description": "Maximum retry count. The command can take up to timeout * (max-retry-count + 1)
|
|
1667
|
+
"description": "Maximum retry count while waiting. The command can take up to `timeout * (max-retry-count + 1)`. Only effective with `--wait`.",
|
|
1652
1668
|
"name": "max-retry-count",
|
|
1653
1669
|
"default": 0,
|
|
1654
1670
|
"hasDynamicHelp": false,
|
|
@@ -1658,7 +1674,7 @@
|
|
|
1658
1674
|
},
|
|
1659
1675
|
"hasDynamicHelp": false,
|
|
1660
1676
|
"hiddenAliases": [],
|
|
1661
|
-
"id": "
|
|
1677
|
+
"id": "web:test:run",
|
|
1662
1678
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1663
1679
|
"pluginName": "@autifyhq/autify-cli",
|
|
1664
1680
|
"pluginType": "core",
|
|
@@ -1668,23 +1684,23 @@
|
|
|
1668
1684
|
"relativePath": [
|
|
1669
1685
|
"dist",
|
|
1670
1686
|
"commands",
|
|
1671
|
-
"
|
|
1687
|
+
"web",
|
|
1672
1688
|
"test",
|
|
1673
1689
|
"run.js"
|
|
1674
1690
|
]
|
|
1675
1691
|
},
|
|
1676
|
-
"
|
|
1692
|
+
"web:test:wait": {
|
|
1677
1693
|
"aliases": [],
|
|
1678
1694
|
"args": {
|
|
1679
1695
|
"test-result-url": {
|
|
1680
|
-
"description": "Test result URL e.g. https://
|
|
1696
|
+
"description": "Test result URL e.g. https://app.autify.com/projects/<ID>/results/<ID>",
|
|
1681
1697
|
"name": "test-result-url",
|
|
1682
1698
|
"required": true
|
|
1683
1699
|
}
|
|
1684
1700
|
},
|
|
1685
1701
|
"description": "Wait a test result until it finishes.",
|
|
1686
1702
|
"examples": [
|
|
1687
|
-
"<%= config.bin %> <%= command.id %> https://
|
|
1703
|
+
"<%= config.bin %> <%= command.id %> https://app.autify.com/projects/0000/results/0000"
|
|
1688
1704
|
],
|
|
1689
1705
|
"flags": {
|
|
1690
1706
|
"timeout": {
|
|
@@ -1706,7 +1722,7 @@
|
|
|
1706
1722
|
},
|
|
1707
1723
|
"hasDynamicHelp": false,
|
|
1708
1724
|
"hiddenAliases": [],
|
|
1709
|
-
"id": "
|
|
1725
|
+
"id": "web:test:wait",
|
|
1710
1726
|
"pluginAlias": "@autifyhq/autify-cli",
|
|
1711
1727
|
"pluginName": "@autifyhq/autify-cli",
|
|
1712
1728
|
"pluginType": "core",
|
|
@@ -1716,11 +1732,11 @@
|
|
|
1716
1732
|
"relativePath": [
|
|
1717
1733
|
"dist",
|
|
1718
1734
|
"commands",
|
|
1719
|
-
"
|
|
1735
|
+
"web",
|
|
1720
1736
|
"test",
|
|
1721
1737
|
"wait.js"
|
|
1722
1738
|
]
|
|
1723
1739
|
}
|
|
1724
1740
|
},
|
|
1725
|
-
"version": "0.
|
|
1741
|
+
"version": "0.47.0"
|
|
1726
1742
|
}
|