From e1bcd5a6249c782ba4d2db71f52087de8b8cf517 Mon Sep 17 00:00:00 2001 From: henchiyb Date: Fri, 24 Nov 2023 06:21:54 +0000 Subject: [PATCH] Release 0.42.0-beta.0 --- README.md | 163 +++++++++++++++++++++++++++------- integration-test/package.json | 2 +- package-lock.json | 6 +- package.json | 2 +- 4 files changed, 134 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 01764a18..40abdaca 100644 --- a/README.md +++ b/README.md @@ -36,8 +36,10 @@ See our official document: https://help.autify.com/docs/autify-command-line-inte - [`autify mobile test wait TEST-RESULT-URL`](#autify-mobile-test-wait-test-result-url) - [`autify update [CHANNEL]`](#autify-update-channel) - [`autify web api create-access-point`](#autify-web-api-create-access-point) +- [`autify web api create-test-plan-variable`](#autify-web-api-create-test-plan-variable) - [`autify web api create-url-replacement`](#autify-web-api-create-url-replacement) - [`autify web api delete-access-point`](#autify-web-api-delete-access-point) +- [`autify web api delete-test-plan-variable`](#autify-web-api-delete-test-plan-variable) - [`autify web api delete-url-replacement`](#autify-web-api-delete-url-replacement) - [`autify web api describe-result`](#autify-web-api-describe-result) - [`autify web api describe-scenario`](#autify-web-api-describe-scenario) @@ -49,7 +51,9 @@ See our official document: https://help.autify.com/docs/autify-command-line-inte - [`autify web api list-capabilities`](#autify-web-api-list-capabilities) - [`autify web api list-results`](#autify-web-api-list-results) - [`autify web api list-scenarios`](#autify-web-api-list-scenarios) +- [`autify web api list-test-plan-variable`](#autify-web-api-list-test-plan-variable) - [`autify web api list-url-replacements`](#autify-web-api-list-url-replacements) +- [`autify web api update-test-plan-variable`](#autify-web-api-update-test-plan-variable) - [`autify web api update-url-replacement`](#autify-web-api-update-url-replacement) - [`autify web auth login`](#autify-web-auth-login) - [`autify web test run SCENARIO-OR-TEST-PLAN-URL`](#autify-web-test-run-scenario-or-test-plan-url) @@ -74,7 +78,7 @@ EXAMPLES $ autify connect access-point create --name NAME --web-workspace-id ID ``` -_See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/connect/access-point/create.ts)_ +_See code: [src/commands/connect/access-point/create.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/connect/access-point/create.ts)_ ## `autify connect access-point set` @@ -100,7 +104,7 @@ EXAMPLES $ autify connect access-point set --name=NAME < key.txt ``` -_See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/connect/access-point/set.ts)_ +_See code: [src/commands/connect/access-point/set.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/connect/access-point/set.ts)_ ## `autify connect client install [VERSION]` @@ -130,7 +134,7 @@ EXAMPLES $ autify connect client install stable ``` -_See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/connect/client/install.ts)_ +_See code: [src/commands/connect/client/install.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/connect/client/install.ts)_ ## `autify connect client start` @@ -164,7 +168,7 @@ EXAMPLES $ autify connect client start --web-workspace-id 000 ``` -_See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/connect/client/start.ts)_ +_See code: [src/commands/connect/client/start.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/connect/client/start.ts)_ ## `autify help [COMMANDS]` @@ -205,7 +209,7 @@ EXAMPLES $ autify mobile api describe-test-result ``` -_See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/api/describe-test-result.ts)_ +_See code: [src/commands/mobile/api/describe-test-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/api/describe-test-result.ts)_ ## `autify mobile api list-test-results` @@ -229,7 +233,7 @@ EXAMPLES $ autify mobile api list-test-results ``` -_See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/api/list-test-results.ts)_ +_See code: [src/commands/mobile/api/list-test-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/api/list-test-results.ts)_ ## `autify mobile api run-test-plan` @@ -250,7 +254,7 @@ EXAMPLES $ autify mobile api run-test-plan ``` -_See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/api/run-test-plan.ts)_ +_See code: [src/commands/mobile/api/run-test-plan.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/api/run-test-plan.ts)_ ## `autify mobile api upload-build` @@ -271,7 +275,7 @@ EXAMPLES $ autify mobile api upload-build ``` -_See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/api/upload-build.ts)_ +_See code: [src/commands/mobile/api/upload-build.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/api/upload-build.ts)_ ## `autify mobile auth login` @@ -294,7 +298,7 @@ EXAMPLES $ autify mobile auth login < token.txt ``` -_See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/auth/login.ts)_ +_See code: [src/commands/mobile/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/auth/login.ts)_ ## `autify mobile build upload BUILD-PATH` @@ -328,7 +332,7 @@ EXAMPLES $ autify mobile build upload --workspace-id AAA ./my.app --json ``` -_See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/build/upload.ts)_ +_See code: [src/commands/mobile/build/upload.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/build/upload.ts)_ ## `autify mobile test run TEST-PLAN-URL` @@ -368,7 +372,7 @@ EXAMPLES --timeout 600 ``` -_See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/test/run.ts)_ +_See code: [src/commands/mobile/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/test/run.ts)_ ## `autify mobile test wait TEST-RESULT-URL` @@ -392,7 +396,7 @@ EXAMPLES $ autify mobile test wait https://mobile-app.autify.com/projects/AAA/results/BBB ``` -_See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/mobile/test/wait.ts)_ +_See code: [src/commands/mobile/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/mobile/test/wait.ts)_ ## `autify update [CHANNEL]` @@ -451,7 +455,29 @@ EXAMPLES $ autify web api create-access-point ``` -_See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/create-access-point.ts)_ +_See code: [src/commands/web/api/create-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/create-access-point.ts)_ + +## `autify web api create-test-plan-variable` + +Create a new variable for the test plan + +``` +USAGE + $ autify web api create-test-plan-variable --test-plan-id --create-test-plan-variable-request + +FLAGS + --create-test-plan-variable-request= (required) The new variable key and default value to use in the test plan + --test-plan-id= (required) For example, 15 for the following URL: + https://app.autify.com/projects/1/test_plans/15 + +DESCRIPTION + Create a new variable for the test plan + +EXAMPLES + $ autify web api create-test-plan-variable +``` + +_See code: [src/commands/web/api/create-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/create-test-plan-variable.ts)_ ## `autify web api create-url-replacement` @@ -473,7 +499,7 @@ EXAMPLES $ autify web api create-url-replacement ``` -_See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/create-url-replacement.ts)_ +_See code: [src/commands/web/api/create-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/create-url-replacement.ts)_ ## `autify web api delete-access-point` @@ -495,7 +521,29 @@ EXAMPLES $ autify web api delete-access-point ``` -_See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/delete-access-point.ts)_ +_See code: [src/commands/web/api/delete-access-point.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/delete-access-point.ts)_ + +## `autify web api delete-test-plan-variable` + +Delete an existing test plan variable for the test plan + +``` +USAGE + $ autify web api delete-test-plan-variable --test-plan-id --test-plan-variable-id + +FLAGS + --test-plan-id= (required) For example, 15 for the following URL: + https://app.autify.com/projects/1/test_plans/15/ + --test-plan-variable-id= (required) test_plan_variable id + +DESCRIPTION + Delete an existing test plan variable for the test plan + +EXAMPLES + $ autify web api delete-test-plan-variable +``` + +_See code: [src/commands/web/api/delete-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/delete-test-plan-variable.ts)_ ## `autify web api delete-url-replacement` @@ -517,7 +565,7 @@ EXAMPLES $ autify web api delete-url-replacement ``` -_See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/delete-url-replacement.ts)_ +_See code: [src/commands/web/api/delete-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/delete-url-replacement.ts)_ ## `autify web api describe-result` @@ -525,11 +573,12 @@ Get a test result. ``` USAGE - $ autify web api describe-result --project-id --result-id + $ autify web api describe-result --project-id --result-id [--get-details ] FLAGS - --project-id= (required) For example, 1 for the following URL: https://app.autify.com/projects/1/results/4 - --result-id= (required) For example, 4 for the following URL: https://app.autify.com/projects/1/results/4 + --get-details= The flag to get details of the test case result. + --project-id= (required) For example, 1 for the following URL: https://app.autify.com/projects/1/results/4 + --result-id= (required) For example, 4 for the following URL: https://app.autify.com/projects/1/results/4 DESCRIPTION Get a test result. @@ -538,7 +587,7 @@ EXAMPLES $ autify web api describe-result ``` -_See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/describe-result.ts)_ +_See code: [src/commands/web/api/describe-result.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/describe-result.ts)_ ## `autify web api describe-scenario` @@ -559,7 +608,7 @@ EXAMPLES $ autify web api describe-scenario ``` -_See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/describe-scenario.ts)_ +_See code: [src/commands/web/api/describe-scenario.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/describe-scenario.ts)_ ## `autify web api execute-scenarios` @@ -582,7 +631,7 @@ EXAMPLES $ autify web api execute-scenarios ``` -_See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/execute-scenarios.ts)_ +_See code: [src/commands/web/api/execute-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/execute-scenarios.ts)_ ## `autify web api execute-schedule` @@ -604,7 +653,7 @@ EXAMPLES $ autify web api execute-schedule ``` -_See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/execute-schedule.ts)_ +_See code: [src/commands/web/api/execute-schedule.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/execute-schedule.ts)_ ## `autify web api get-credit-usage` @@ -636,7 +685,7 @@ EXAMPLES $ autify web api get-credit-usage ``` -_See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/get-credit-usage.ts)_ +_See code: [src/commands/web/api/get-credit-usage.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/get-credit-usage.ts)_ ## `autify web api get-project-info` @@ -656,7 +705,7 @@ EXAMPLES $ autify web api get-project-info ``` -_See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/get-project-info.ts)_ +_See code: [src/commands/web/api/get-project-info.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/get-project-info.ts)_ ## `autify web api list-access-points` @@ -677,7 +726,7 @@ EXAMPLES $ autify web api list-access-points ``` -_See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/list-access-points.ts)_ +_See code: [src/commands/web/api/list-access-points.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-access-points.ts)_ ## `autify web api list-capabilities` @@ -700,7 +749,7 @@ EXAMPLES $ autify web api list-capabilities ``` -_See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/list-capabilities.ts)_ +_See code: [src/commands/web/api/list-capabilities.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-capabilities.ts)_ ## `autify web api list-results` @@ -723,7 +772,7 @@ EXAMPLES $ autify web api list-results ``` -_See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/list-results.ts)_ +_See code: [src/commands/web/api/list-results.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-results.ts)_ ## `autify web api list-scenarios` @@ -744,7 +793,28 @@ EXAMPLES $ autify web api list-scenarios ``` -_See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/list-scenarios.ts)_ +_See code: [src/commands/web/api/list-scenarios.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-scenarios.ts)_ + +## `autify web api list-test-plan-variable` + +List the test plan's variables + +``` +USAGE + $ autify web api list-test-plan-variable --test-plan-id + +FLAGS + --test-plan-id= (required) For example, 15 for the following URL: + https://app.autify.com/projects/1/test_plans/15 + +DESCRIPTION + List the test plan's variables + +EXAMPLES + $ autify web api list-test-plan-variable +``` + +_See code: [src/commands/web/api/list-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-test-plan-variable.ts)_ ## `autify web api list-url-replacements` @@ -765,7 +835,32 @@ EXAMPLES $ autify web api list-url-replacements ``` -_See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/list-url-replacements.ts)_ +_See code: [src/commands/web/api/list-url-replacements.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/list-url-replacements.ts)_ + +## `autify web api update-test-plan-variable` + +Update a url replacement for the test plan + +``` +USAGE + $ autify web api update-test-plan-variable --test-plan-id --test-plan-variable-id --update-test-plan-variable-request + + +FLAGS + --test-plan-id= (required) For example, 15 for the following URL: + https://app.autify.com/projects/1/test_plans/15 + --test-plan-variable-id= (required) test_plan_variable id + --update-test-plan-variable-request= (required) The variable's new key and/or default_value's value to + register + +DESCRIPTION + Update a url replacement for the test plan + +EXAMPLES + $ autify web api update-test-plan-variable +``` + +_See code: [src/commands/web/api/update-test-plan-variable.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/update-test-plan-variable.ts)_ ## `autify web api update-url-replacement` @@ -790,7 +885,7 @@ EXAMPLES $ autify web api update-url-replacement ``` -_See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/api/update-url-replacement.ts)_ +_See code: [src/commands/web/api/update-url-replacement.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/api/update-url-replacement.ts)_ ## `autify web auth login` @@ -813,7 +908,7 @@ EXAMPLES $ autify web auth login < token.txt ``` -_See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/auth/login.ts)_ +_See code: [src/commands/web/auth/login.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/auth/login.ts)_ ## `autify web test run SCENARIO-OR-TEST-PLAN-URL` @@ -892,7 +987,7 @@ EXAMPLES $ autify web test run https://app.autify.com/projects/0000/scenarios/0000 --wait --autify-connect-client ``` -_See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/test/run.ts)_ +_See code: [src/commands/web/test/run.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/test/run.ts)_ ## `autify web test wait TEST-RESULT-URL` @@ -916,6 +1011,6 @@ EXAMPLES $ autify web test wait https://app.autify.com/projects/0000/results/0000 ``` -_See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.41.0-beta.0/src/commands/web/test/wait.ts)_ +_See code: [src/commands/web/test/wait.ts](https://github.com/autifyhq/autify-cli/blob/v0.42.0-beta.0/src/commands/web/test/wait.ts)_ diff --git a/integration-test/package.json b/integration-test/package.json index 97debd93..2d507559 100644 --- a/integration-test/package.json +++ b/integration-test/package.json @@ -1,6 +1,6 @@ { "name": "@autifyhq/autify-cli-integration-test", - "version": "0.41.0-beta.0", + "version": "0.42.0-beta.0", "description": "Autify Command Line Interface (CLI) Integration Test", "author": "Autify", "bin": { diff --git a/package-lock.json b/package-lock.json index 97c2e516..487ec271 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@autifyhq/autify-cli", - "version": "0.41.0-beta.0", + "version": "0.42.0-beta.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@autifyhq/autify-cli", - "version": "0.41.0-beta.0", + "version": "0.42.0-beta.0", "hasInstallScript": true, "license": "MIT", "workspaces": [ @@ -79,7 +79,7 @@ }, "integration-test": { "name": "@autifyhq/autify-cli-integration-test", - "version": "0.41.0-beta.0", + "version": "0.42.0-beta.0", "license": "MIT", "dependencies": { "@pollyjs/adapter-node-http": "^6.0.6", diff --git a/package.json b/package.json index 51aebac2..7d672928 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@autifyhq/autify-cli", - "version": "0.41.0-beta.0", + "version": "0.42.0-beta.0", "description": "Autify Command Line Interface (CLI)", "author": "Autify", "bin": {