@mablhq/mabl-cli 1.23.5 → 1.25.15
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 +2 -2
- package/api/basicApiClient.js +4 -0
- package/api/featureSet.js +4 -0
- package/api/mablApiClient.js +1 -0
- package/browserLauncher/playwrightBrowserLauncher/playwrightFrame.js +3 -0
- package/commands/deploy/deploy_cmds/awaitDeploymentCompletion.js +2 -6
- package/commands/deploy/deploy_cmds/create.js +0 -3
- package/commands/deploy/deploy_cmds/executionResultPresenter.js +9 -27
- package/commands/environments/environments_cmds/create.js +3 -0
- package/commands/tests/testsUtil.js +24 -20
- package/domUtil/index.js +1 -1
- package/execution/index.js +1 -1
- package/execution/index.js.LICENSE.txt +6 -2
- package/mablApi/index.js +1 -1
- package/mablscript/diffing/diffingUtil.js +81 -16
- package/mablscript/steps/EvaluateFlowStep.js +8 -3
- package/mablscriptFind/index.js +1 -1
- package/package.json +15 -14
- package/reporters/__tests__/resources/sampleData.js +5 -0
- package/resources/mablFind.js +1 -1
- package/util/markdownUtil.js +3 -21
- package/util/timeUtil.js +31 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mablhq/mabl-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.25.15",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "The official mabl command line interface tool",
|
|
6
6
|
"main": "index.js",
|
|
@@ -19,27 +19,28 @@
|
|
|
19
19
|
"homepage": "https://help.mabl.com/docs/mabl-cli",
|
|
20
20
|
"devDependencies": {},
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": ">=
|
|
22
|
+
"node": ">=14.0.0"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"postinstall": "node ./util/postInstallMessage.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@playwright/test": "1.
|
|
28
|
+
"@playwright/test": "1.22.2",
|
|
29
29
|
"@types/fs-extra": "8.1.1",
|
|
30
30
|
"@types/serve-handler": "6.1.0",
|
|
31
31
|
"@types/tmp": "0.2.0",
|
|
32
|
+
"@types/tough-cookie": "4.0.0",
|
|
32
33
|
"agent-base": "6.0.2",
|
|
33
34
|
"analytics-node": "3.5.0",
|
|
34
35
|
"async-mutex": "0.3.1",
|
|
35
36
|
"async-retry": "1.3.3",
|
|
36
37
|
"axe-core": "4.3.3",
|
|
37
|
-
"axios": "0.
|
|
38
|
+
"axios": "0.27.2",
|
|
38
39
|
"axios-cookiejar-support": "1.0.1",
|
|
39
40
|
"cd": "0.3.3",
|
|
40
41
|
"chalk": "2.4.2",
|
|
41
42
|
"change-case": "4.1.1",
|
|
42
|
-
"chrome-launcher": "0.
|
|
43
|
+
"chrome-launcher": "0.14.2",
|
|
43
44
|
"cli-table3": "0.6.1",
|
|
44
45
|
"conf": "7.1.2",
|
|
45
46
|
"decompress-zip": "0.2.2",
|
|
@@ -61,17 +62,17 @@
|
|
|
61
62
|
"lodash.get": "4.4.2",
|
|
62
63
|
"markdown-table": "2.0.0",
|
|
63
64
|
"mime-types": "2.1.27",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"moment
|
|
67
|
-
"newman": "5.2
|
|
65
|
+
"minimist": "1.2.6",
|
|
66
|
+
"mochawesome-report-generator": "6.2.0",
|
|
67
|
+
"moment": "2.29.3",
|
|
68
|
+
"newman": "5.3.2",
|
|
68
69
|
"open": "6.4.0",
|
|
69
70
|
"ora": "4.0.4",
|
|
70
|
-
"playwright-core": "1.
|
|
71
|
+
"playwright-core": "1.22.2",
|
|
71
72
|
"pluralize": "8.0.0",
|
|
72
73
|
"pngjs": "6.0.0",
|
|
73
|
-
"portfinder": "1.0.
|
|
74
|
-
"postman-collection": "
|
|
74
|
+
"portfinder": "1.0.28",
|
|
75
|
+
"postman-collection": "4.1.3",
|
|
75
76
|
"query-string": "6.13.1",
|
|
76
77
|
"range_check": "2.0.4",
|
|
77
78
|
"retry": "0.13.1",
|
|
@@ -83,10 +84,10 @@
|
|
|
83
84
|
"tmp-promise": "3.0.2",
|
|
84
85
|
"tough-cookie": "4.0.0",
|
|
85
86
|
"triple-beam": "1.3.0",
|
|
86
|
-
"update-notifier": "5.0
|
|
87
|
+
"update-notifier": "5.1.0",
|
|
87
88
|
"uuid": "7.0.3",
|
|
88
89
|
"v8-compile-cache": "2.1.1",
|
|
89
|
-
"winston": "3.
|
|
90
|
+
"winston": "3.7.2",
|
|
90
91
|
"winston-transport": "4.4.0",
|
|
91
92
|
"y18n": "4.0.1",
|
|
92
93
|
"yargonaut": "1.1.4",
|
|
@@ -12,6 +12,7 @@ exports.sampleTestResult = {
|
|
|
12
12
|
totalTimeSeconds: 268.253,
|
|
13
13
|
testResults: [
|
|
14
14
|
{
|
|
15
|
+
functionallyCompleted: false,
|
|
15
16
|
status: execution_1.TestResultStatus.skipped,
|
|
16
17
|
errorMessage: 'Test is not currently enabled',
|
|
17
18
|
testId: 'jW60MgcXnf0qbw90AiXe1g-j:1',
|
|
@@ -20,6 +21,7 @@ exports.sampleTestResult = {
|
|
|
20
21
|
endTime: 1627580108956,
|
|
21
22
|
},
|
|
22
23
|
{
|
|
24
|
+
functionallyCompleted: true,
|
|
23
25
|
status: execution_1.TestResultStatus.passed,
|
|
24
26
|
testId: 'fb60BEqZa3kXZy1Gj0hAsA-j:4',
|
|
25
27
|
testName: 'EX-001 - Click and Double Click',
|
|
@@ -28,6 +30,7 @@ exports.sampleTestResult = {
|
|
|
28
30
|
endTime: 1627580114195,
|
|
29
31
|
},
|
|
30
32
|
{
|
|
33
|
+
functionallyCompleted: false,
|
|
31
34
|
status: execution_1.TestResultStatus.failed,
|
|
32
35
|
testId: 'WvpAcSKyT2Sh5Rp817Saiw-j:0',
|
|
33
36
|
testName: 'EX-002 - Assert presence',
|
|
@@ -36,6 +39,7 @@ exports.sampleTestResult = {
|
|
|
36
39
|
endTime: 1627580116478,
|
|
37
40
|
},
|
|
38
41
|
{
|
|
42
|
+
functionallyCompleted: true,
|
|
39
43
|
status: execution_1.TestResultStatus.passed,
|
|
40
44
|
testId: 'PgRXOjMkUcqqLiRRLZVZMA-j:2',
|
|
41
45
|
testName: 'EX-056 Enter text on HTML5 input types',
|
|
@@ -44,6 +48,7 @@ exports.sampleTestResult = {
|
|
|
44
48
|
endTime: 1627580372959,
|
|
45
49
|
},
|
|
46
50
|
{
|
|
51
|
+
functionallyCompleted: true,
|
|
47
52
|
status: execution_1.TestResultStatus.passed,
|
|
48
53
|
testId: 'gGxPiAi2XfJQuqSYc30xGA-j:0',
|
|
49
54
|
testName: 'EX-058 Enter text into non-text input',
|