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