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