@testim/testim-cli 3.216.0 → 3.221.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/Open Source Notice.txt +71 -0
- package/cli.js +9 -7
- package/codim/codim-npm-package/package-lock.json +3 -3
- package/codim/codim-npm-package/package.json +1 -1
- package/codim/template.js/package.json +2 -2
- package/codim/template.ts/package.json +2 -2
- package/npm-shrinkwrap.json +2518 -2466
- package/package.json +14 -14
- package/player/WebdriverioWebDriverApi.js +1 -0
- package/player/stepActions/pixelValidationStepAction.js +1 -1
- package/testRunStatus.js +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testim/testim-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.221.0",
|
|
4
4
|
"description": "Command line interface for running Testing on your CI",
|
|
5
5
|
"author": "Oren Rubin",
|
|
6
6
|
"contributors": [{
|
|
@@ -24,15 +24,15 @@
|
|
|
24
24
|
"gulp-json-editor": "2.5.4",
|
|
25
25
|
"gulp-preprocess": "3.0.3",
|
|
26
26
|
"merge-stream": "2.0.0",
|
|
27
|
-
"mocha": "
|
|
27
|
+
"mocha": "9.2.0",
|
|
28
28
|
"nyc": "15.1.0",
|
|
29
29
|
"proxyquire": "2.1.3",
|
|
30
|
-
"request": "2.88.
|
|
30
|
+
"request": "2.88.2",
|
|
31
31
|
"sinon": "9.0.2",
|
|
32
32
|
"sinon-chai": "3.7.0",
|
|
33
|
-
"ts-node": "
|
|
34
|
-
"tsconfig-paths": "3.
|
|
35
|
-
"typescript": "
|
|
33
|
+
"ts-node": "9.1.1",
|
|
34
|
+
"tsconfig-paths": "3.12.0",
|
|
35
|
+
"typescript": "4.5.5"
|
|
36
36
|
},
|
|
37
37
|
"lazyDependencies": {
|
|
38
38
|
"ngrok": "3.4.0",
|
|
@@ -47,12 +47,12 @@
|
|
|
47
47
|
"multer": "1.4.2"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@applitools/eyes-sdk-core": "
|
|
51
|
-
"@applitools/visual-grid-client": "15.8.
|
|
52
|
-
"@testim/coralogix-logger": "1.1.27-beta",
|
|
53
|
-
"@testim/webdriverio": "0.0.
|
|
50
|
+
"@applitools/eyes-sdk-core": "13.0.0",
|
|
51
|
+
"@applitools/visual-grid-client": "15.8.62",
|
|
52
|
+
"@testim/coralogix-logger": "1.1.27-beta.1",
|
|
53
|
+
"@testim/webdriverio": "0.0.5",
|
|
54
54
|
"abort-controller": "3.0.0",
|
|
55
|
-
"ajv": "6.12.
|
|
55
|
+
"ajv": "6.12.6",
|
|
56
56
|
"analytics-node": "5.0.0",
|
|
57
57
|
"appium-dom-utils": "1.0.6",
|
|
58
58
|
"archiver": "3.1.1",
|
|
@@ -114,8 +114,8 @@
|
|
|
114
114
|
"testim": "cli.js"
|
|
115
115
|
},
|
|
116
116
|
"scripts": {
|
|
117
|
-
"test": "IS_UNIT_TEST=1
|
|
118
|
-
"test:watch": "IS_UNIT_TEST=1
|
|
117
|
+
"test": "IS_UNIT_TEST=1 ../../node_modules/mocha/bin/_mocha --timeout 2000 --reporter spec --exit --recursive \"./src/**/*.test.js\" --exclude ./src/codim/template.js/tests/examples/**/*.test.js",
|
|
118
|
+
"test:watch": "IS_UNIT_TEST=1 ../../node_modules/mocha/bin/_mocha --timeout 2000 --exit --recursive \"./src/**/*.test.js\" --exclude ./src/codim/template.js/tests/examples/**/*.test.js --watch",
|
|
119
119
|
"test:cov": "nyc --reporter=lcov --reporter=text yarn test",
|
|
120
120
|
"upload-bundle-s3": "scripts/upload.js",
|
|
121
121
|
"prepare-version": "rm -rf ./deploy && mkdir -p deploy && gulp prepare-version-on-prem",
|
|
@@ -124,6 +124,6 @@
|
|
|
124
124
|
"pack-serve": "yarn pack-onprem && http-server deploy/"
|
|
125
125
|
},
|
|
126
126
|
"engines": {
|
|
127
|
-
"node": ">=
|
|
127
|
+
"node": ">= 12.0.0"
|
|
128
128
|
}
|
|
129
129
|
}
|
|
@@ -76,6 +76,7 @@ class WebdriverioWebDriverApi {
|
|
|
76
76
|
perf.log('right before addToQueue');
|
|
77
77
|
const perfId = this.seleniumPerfStats.markStart(SELENIUM_PERF_MARKS.GET_BROWSER);
|
|
78
78
|
return this.addToQueue(() => {
|
|
79
|
+
logger.info('requesting browser', { testResultId, testName });
|
|
79
80
|
perf.log('before this.client.init');
|
|
80
81
|
return this.client.init();
|
|
81
82
|
})
|
|
@@ -31,7 +31,7 @@ class PixelValidationStepAction extends StepAction {
|
|
|
31
31
|
logger.error('Applitools SDK step failed', { err, info: err.info });
|
|
32
32
|
result = { isApplitoolsSdkResult: true, success: false, err };
|
|
33
33
|
}
|
|
34
|
-
return await eyeSdkService.handleApplitoolsSdkResult(this.context, result);
|
|
34
|
+
return await eyeSdkService.handleApplitoolsSdkResult(this.context, result, this.step);
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
package/testRunStatus.js
CHANGED
|
@@ -315,6 +315,7 @@ RunStatus.prototype.calcTestRunStatus = function () {
|
|
|
315
315
|
testOwnerEmail: testInfo.testOwnerEmail,
|
|
316
316
|
testLabels: testInfo.testLabels,
|
|
317
317
|
testSuites: testInfo.testSuites,
|
|
318
|
+
allLabels: testInfo.allLabels,
|
|
318
319
|
};
|
|
319
320
|
|
|
320
321
|
const runConfig = options.browser ? utils.getRunConfigByBrowserName(options.browser, options.saucelabs, options.browserstack) : testInfo.runConfig;
|