@wdio/cli 7.16.2 → 7.16.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.
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Function to be executed after a test (in Mocha/Jasmine)
|
|
2
|
+
* Function to be executed after a test (in Mocha/Jasmine only)
|
|
3
|
+
* @param {Object} test test object
|
|
4
|
+
* @param {Object} context scope object the test was executed with
|
|
5
|
+
* @param {Error} result.error error object in case the test fails, otherwise `undefined`
|
|
6
|
+
* @param {Any} result.result return object of test function
|
|
7
|
+
* @param {Number} result.duration duration of test
|
|
8
|
+
* @param {Boolean} result.passed true if test has passed, otherwise false
|
|
9
|
+
* @param {Object} result.retries informations to spec related retries, e.g. `{ attempts: 0, limit: 0 }`
|
|
3
10
|
*/<%
|
|
4
11
|
if (reporters.length && reporters.includes('allure')) {%>
|
|
5
12
|
afterTest: async function(test, context, { error, result, duration, passed, retries }) {
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
//
|
|
94
94
|
// If you have trouble getting all important capabilities together, check out the
|
|
95
95
|
// Sauce Labs platform configurator - a great tool to configure your capabilities:
|
|
96
|
-
// https://
|
|
96
|
+
// https://saucelabs.com/platform/platform-configurator
|
|
97
97
|
//
|
|
98
98
|
capabilities: [{
|
|
99
99
|
<%if(answers.expEnvAccessKey){%> 'experitest:accessKey': '<%= answers.expEnvAccessKey %>',<%}%>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wdio/cli",
|
|
3
|
-
"version": "7.16.
|
|
3
|
+
"version": "7.16.3",
|
|
4
4
|
"description": "WebdriverIO testrunner command line interface",
|
|
5
5
|
"author": "Christian Bromann <christian@saucelabs.com>",
|
|
6
6
|
"homepage": "https://github.com/webdriverio/webdriverio/tree/main/packages/wdio-cli",
|
|
@@ -37,10 +37,10 @@
|
|
|
37
37
|
"@types/lodash.union": "^4.6.6",
|
|
38
38
|
"@types/node": "^16.11.1",
|
|
39
39
|
"@types/recursive-readdir": "^2.2.0",
|
|
40
|
-
"@wdio/config": "7.16.
|
|
40
|
+
"@wdio/config": "7.16.3",
|
|
41
41
|
"@wdio/logger": "7.16.0",
|
|
42
|
-
"@wdio/types": "7.16.
|
|
43
|
-
"@wdio/utils": "7.16.
|
|
42
|
+
"@wdio/types": "7.16.3",
|
|
43
|
+
"@wdio/utils": "7.16.3",
|
|
44
44
|
"async-exit-hook": "^2.0.1",
|
|
45
45
|
"chalk": "^4.0.0",
|
|
46
46
|
"chokidar": "^3.0.0",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"lodash.union": "^4.6.0",
|
|
54
54
|
"mkdirp": "^1.0.4",
|
|
55
55
|
"recursive-readdir": "^2.2.2",
|
|
56
|
-
"webdriverio": "7.16.
|
|
56
|
+
"webdriverio": "7.16.3",
|
|
57
57
|
"yargs": "^17.0.0",
|
|
58
58
|
"yarn-install": "^1.0.0"
|
|
59
59
|
},
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"access": "public"
|
|
62
62
|
},
|
|
63
63
|
"types": "./build/index.d.ts",
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "23e2af933060e829f03d7518089c377571c654e3"
|
|
65
65
|
}
|