@mablhq/mabl-cli 1.62.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/basicApiClient.js +10 -10
- package/api/mablApiClient.js +39 -1
- package/browserLauncher/playwrightBrowserLauncher/playwrightBrowser.js +6 -6
- package/cli.js +1 -0
- package/commands/app-files/app-files.js +5 -0
- package/commands/app-files/app-files_cmds/create.js +98 -0
- package/commands/app-files/app-files_cmds/delete.js +31 -0
- package/commands/app-files/app-files_cmds/download.js +50 -0
- package/commands/app-files/app-files_cmds/list.js +72 -0
- package/commands/config/config_cmds/install.js +92 -0
- package/commands/constants.js +9 -2
- package/commands/tests/testsUtil.js +9 -1
- package/commands/tests/tests_cmds/run-mobile.js +218 -0
- package/core/util.js +36 -2
- package/env/defaultEnv.js +2 -1
- package/env/dev.js +2 -1
- package/env/env.js +3 -1
- package/env/local.js +2 -1
- package/env/prod.js +2 -1
- package/execution/index.js +13 -1
- package/execution/runAppiumServer.js +133 -0
- package/mablApi/index.js +1 -1
- package/mablscript/MablAction.js +1 -1
- package/mablscript/MablStep.js +28 -2
- package/mablscript/MablStepV2.js +51 -0
- package/mablscript/MablSymbol.js +6 -2
- package/mablscript/actions/ExtractAction.js +11 -6
- package/mablscript/actions/FindAction.js +5 -5
- package/mablscript/actions/JavaScriptAction.js +19 -12
- package/mablscript/importer.js +97 -14
- package/mablscript/mobile/steps/CreateVariableMobileStep.js +53 -0
- package/mablscript/mobile/steps/EnterTextStep.js +41 -0
- package/mablscript/mobile/steps/NavigateBackStep.js +20 -0
- package/mablscript/mobile/steps/NavigateHomeStep.js +21 -0
- package/mablscript/mobile/steps/ScrollStep.js +37 -0
- package/mablscript/mobile/steps/SetOrientationStep.js +20 -0
- package/mablscript/mobile/steps/TapStep.js +37 -0
- package/mablscript/mobile/steps/actions/MobileFindAction.js +23 -0
- package/mablscript/mobile/steps/stepUtil.js +71 -0
- package/mablscript/mobile/tests/StepTestsUtil.js +20 -0
- package/mablscript/mobile/tests/TestMobileFindDescriptors.js +215 -0
- package/mablscript/mobile/tests/steps/CreateVariableMobileStep.mobiletest.js +287 -0
- package/mablscript/mobile/tests/steps/EnterTextStep.mobiletest.js +74 -0
- package/mablscript/mobile/tests/steps/GeneralHumanization.mobiletest.js +167 -0
- package/mablscript/mobile/tests/steps/NavigateBackStep.mobiletest.js +22 -0
- package/mablscript/mobile/tests/steps/NavigateHomeStep.mobiletest.js +22 -0
- package/mablscript/mobile/tests/steps/ScrollStep.mobiletest.js +112 -0
- package/mablscript/mobile/tests/steps/SetOrientationStep.mobiletest.js +27 -0
- package/mablscript/mobile/tests/steps/TapStep.mobiletest.js +53 -0
- package/mablscript/steps/AssertStep.js +48 -38
- package/mablscript/steps/AssertStepOld.js +30 -2
- package/mablscript/steps/CreateVariableStep.js +9 -2
- package/mablscript/steps/EchoStep.js +4 -3
- package/mablscript/steps/ElseIfConditionStep.js +8 -2
- package/mablscript/steps/ElseStep.js +2 -1
- package/mablscript/steps/EndStep.js +2 -1
- package/mablscript/steps/EvaluateJavaScriptStep.js +6 -1
- package/mablscript/steps/IfConditionStep.js +17 -10
- package/mablscript/steps/SendHttpRequestStep.js +4 -3
- package/mablscript/steps/WaitStep.js +4 -3
- package/mablscript/types/GetVariableDescriptor.js +8 -3
- package/mablscript/types/mobile/CreateVariableMobileStepDescriptor.js +9 -0
- package/mablscript/types/mobile/EnterTextStepDescriptor.js +2 -0
- package/mablscript/types/mobile/NavigateBackStepDescriptor.js +2 -0
- package/mablscript/types/mobile/NavigateHomeStepDescriptor.js +2 -0
- package/mablscript/types/mobile/ScrollStepDescriptor.js +2 -0
- package/mablscript/types/mobile/SetOrientationStepDescriptor.js +8 -0
- package/mablscript/types/mobile/StepWithMobileFindDescriptor.js +2 -0
- package/mablscript/types/mobile/TapStepDescriptor.js +8 -0
- package/mablscriptFind/index.js +1 -1
- package/package.json +8 -3
- package/resources/webdriver.js +21 -0
- package/upload/index.js +5 -0
- package/util/FileCache.js +180 -0
- package/util/Lazy.js +90 -0
- package/util/MobileAppFileCache.js +102 -0
- package/util/RichPromise.js +3 -1
- package/webdriver/index.js +41 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mablhq/mabl-cli",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.3",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The official mabl command line interface tool",
|
|
6
6
|
"main": "index.js",
|
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
"node": ">=16.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
+
"@aws-crypto/crc32c": "5.1.0",
|
|
23
24
|
"@google-cloud/storage": "6.11.0",
|
|
24
25
|
"@mablhq/newman-reporter-mabl-console": "0.1.0",
|
|
25
26
|
"@playwright/test": "1.38.0",
|
|
@@ -29,17 +30,19 @@
|
|
|
29
30
|
"@types/tough-cookie": "4.0.2",
|
|
30
31
|
"agent-base": "7.1.0",
|
|
31
32
|
"analytics-node": "3.5.0",
|
|
33
|
+
"appium": "2.1.2",
|
|
32
34
|
"async-mutex": "0.3.1",
|
|
33
35
|
"async-retry": "1.3.3",
|
|
34
36
|
"axe-core": "4.3.3",
|
|
35
37
|
"axios": "0.27.2",
|
|
36
38
|
"axios-cookiejar-support": "1.0.1",
|
|
39
|
+
"cachedir": "2.4.0",
|
|
37
40
|
"cd": "0.3.3",
|
|
38
41
|
"chalk": "2.4.2",
|
|
39
42
|
"change-case": "4.1.1",
|
|
40
43
|
"chrome-launcher": "0.14.2",
|
|
41
44
|
"cli-table3": "0.6.1",
|
|
42
|
-
"conf": "
|
|
45
|
+
"conf": "10.2.0",
|
|
43
46
|
"csv-parser": "3.0.0",
|
|
44
47
|
"csv-stringify": "6.2.3",
|
|
45
48
|
"decompress-zip": "0.2.2",
|
|
@@ -57,7 +60,7 @@
|
|
|
57
60
|
"http-mitm-proxy": "1.0.0",
|
|
58
61
|
"https-proxy-agent": "7.0.1",
|
|
59
62
|
"humanize-duration": "3.23.0",
|
|
60
|
-
"inquirer": "
|
|
63
|
+
"inquirer": "8.2.5",
|
|
61
64
|
"js-yaml": "4.1.0",
|
|
62
65
|
"jsesc": "3.0.2",
|
|
63
66
|
"jwt-decode": "2.2.0",
|
|
@@ -66,6 +69,7 @@
|
|
|
66
69
|
"markdown-table": "2.0.0",
|
|
67
70
|
"mime-types": "2.1.27",
|
|
68
71
|
"minimist": "1.2.8",
|
|
72
|
+
"mjpeg-consumer": "2.0.0",
|
|
69
73
|
"mochawesome-report-generator": "6.2.0",
|
|
70
74
|
"moment": "2.29.4",
|
|
71
75
|
"murmurhash": "1.0.0",
|
|
@@ -93,6 +97,7 @@
|
|
|
93
97
|
"triple-beam": "1.3.0",
|
|
94
98
|
"uuid": "9.0.0",
|
|
95
99
|
"v8-compile-cache": "2.1.1",
|
|
100
|
+
"webdriverio": "7.30.0",
|
|
96
101
|
"winston": "3.7.2",
|
|
97
102
|
"winston-transport": "4.4.0",
|
|
98
103
|
"y18n": "4.0.1",
|