@testim/testim-cli 3.192.0 → 3.193.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/npm-shrinkwrap.json +18 -18
- package/package.json +1 -1
- package/runOptions.js +5 -1
- package/testRunHandler.js +1 -1
- package/testRunStatus.js +3 -6
package/npm-shrinkwrap.json
CHANGED
|
@@ -1561,15 +1561,15 @@
|
|
|
1561
1561
|
"dev": true
|
|
1562
1562
|
},
|
|
1563
1563
|
"browserslist": {
|
|
1564
|
-
"version": "4.17.
|
|
1565
|
-
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.
|
|
1566
|
-
"integrity": "sha512-
|
|
1564
|
+
"version": "4.17.5",
|
|
1565
|
+
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.17.5.tgz",
|
|
1566
|
+
"integrity": "sha512-I3ekeB92mmpctWBoLXe0d5wPS2cBuRvvW0JyyJHMrk9/HmP2ZjrTboNAZ8iuGqaEIlKguljbQY32OkOJIRrgoA==",
|
|
1567
1567
|
"dev": true,
|
|
1568
1568
|
"requires": {
|
|
1569
|
-
"caniuse-lite": "^1.0.
|
|
1570
|
-
"electron-to-chromium": "^1.3.
|
|
1569
|
+
"caniuse-lite": "^1.0.30001271",
|
|
1570
|
+
"electron-to-chromium": "^1.3.878",
|
|
1571
1571
|
"escalade": "^3.1.1",
|
|
1572
|
-
"node-releases": "^2.0.
|
|
1572
|
+
"node-releases": "^2.0.1",
|
|
1573
1573
|
"picocolors": "^1.0.0"
|
|
1574
1574
|
}
|
|
1575
1575
|
},
|
|
@@ -1722,9 +1722,9 @@
|
|
|
1722
1722
|
"dev": true
|
|
1723
1723
|
},
|
|
1724
1724
|
"caniuse-lite": {
|
|
1725
|
-
"version": "1.0.
|
|
1726
|
-
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.
|
|
1727
|
-
"integrity": "sha512-
|
|
1725
|
+
"version": "1.0.30001271",
|
|
1726
|
+
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001271.tgz",
|
|
1727
|
+
"integrity": "sha512-BBruZFWmt3HFdVPS8kceTBIguKxu4f99n5JNp06OlPD/luoAMIaIK5ieV5YjnBLH3Nysai9sxj9rpJj4ZisXOA==",
|
|
1728
1728
|
"dev": true
|
|
1729
1729
|
},
|
|
1730
1730
|
"caseless": {
|
|
@@ -1912,9 +1912,9 @@
|
|
|
1912
1912
|
},
|
|
1913
1913
|
"dependencies": {
|
|
1914
1914
|
"@types/node": {
|
|
1915
|
-
"version": "16.11.
|
|
1916
|
-
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.
|
|
1917
|
-
"integrity": "sha512-
|
|
1915
|
+
"version": "16.11.4",
|
|
1916
|
+
"resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.4.tgz",
|
|
1917
|
+
"integrity": "sha512-TMgXmy0v2xWyuCSCJM6NCna2snndD8yvQF67J29ipdzMcsPa9u+o0tjF5+EQNdhcuZplYuouYqpc4zcd5I6amQ=="
|
|
1918
1918
|
},
|
|
1919
1919
|
"mkdirp": {
|
|
1920
1920
|
"version": "0.5.5",
|
|
@@ -2853,9 +2853,9 @@
|
|
|
2853
2853
|
"integrity": "sha512-GJCAeDBKfREgkBtgrYSf9hQy9kTb3helv0zGdzqhM7iAkW8FA/ZF97VQDbwFiwIT8MQLLOe5VlPZOEvZAqtUAQ=="
|
|
2854
2854
|
},
|
|
2855
2855
|
"electron-to-chromium": {
|
|
2856
|
-
"version": "1.3.
|
|
2857
|
-
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.
|
|
2858
|
-
"integrity": "sha512-
|
|
2856
|
+
"version": "1.3.878",
|
|
2857
|
+
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.878.tgz",
|
|
2858
|
+
"integrity": "sha512-O6yxWCN9ph2AdspAIszBnd9v8s11hQx8ub9w4UGApzmNRnoKhbulOWqbO8THEQec/aEHtvy+donHZMlh6l1rbA==",
|
|
2859
2859
|
"dev": true
|
|
2860
2860
|
},
|
|
2861
2861
|
"emoji-regex": {
|
|
@@ -5521,9 +5521,9 @@
|
|
|
5521
5521
|
}
|
|
5522
5522
|
},
|
|
5523
5523
|
"lazystream": {
|
|
5524
|
-
"version": "1.0.
|
|
5525
|
-
"resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.
|
|
5526
|
-
"integrity": "
|
|
5524
|
+
"version": "1.0.1",
|
|
5525
|
+
"resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.1.tgz",
|
|
5526
|
+
"integrity": "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw==",
|
|
5527
5527
|
"requires": {
|
|
5528
5528
|
"readable-stream": "^2.0.5"
|
|
5529
5529
|
}
|
package/package.json
CHANGED
package/runOptions.js
CHANGED
|
@@ -1021,6 +1021,7 @@ module.exports = {
|
|
|
1021
1021
|
const DEFAULTS = {
|
|
1022
1022
|
general: true,
|
|
1023
1023
|
disableLabs: true,
|
|
1024
|
+
disableFeatureFlags: true,
|
|
1024
1025
|
disableAssets: true,
|
|
1025
1026
|
disablePixelValidation: true,
|
|
1026
1027
|
disableResults: true,
|
|
@@ -1035,6 +1036,7 @@ module.exports = {
|
|
|
1035
1036
|
onlyTestIdsNoSuite: true,
|
|
1036
1037
|
uploadAssetsAndResultsOnFailure: true,
|
|
1037
1038
|
preloadTests: true,
|
|
1039
|
+
disableProjectDefaults: true,
|
|
1038
1040
|
type: 'lightweight',
|
|
1039
1041
|
};
|
|
1040
1042
|
|
|
@@ -1047,10 +1049,11 @@ module.exports = {
|
|
|
1047
1049
|
program.lightweightMode = {
|
|
1048
1050
|
general: true,
|
|
1049
1051
|
disableLabs: false,
|
|
1052
|
+
disableFeatureFlags: false,
|
|
1050
1053
|
disableAssets: true,
|
|
1051
1054
|
disablePixelValidation: false,
|
|
1052
1055
|
disableResults: true,
|
|
1053
|
-
disableStepDelay:
|
|
1056
|
+
disableStepDelay: true,
|
|
1054
1057
|
disableRemoteStep: false,
|
|
1055
1058
|
assumePreloadedSharedSteps: false,
|
|
1056
1059
|
disableVisibilityCheck: false,
|
|
@@ -1061,6 +1064,7 @@ module.exports = {
|
|
|
1061
1064
|
onlyTestIdsNoSuite: false,
|
|
1062
1065
|
uploadAssetsAndResultsOnFailure: true,
|
|
1063
1066
|
preloadTests: false,
|
|
1067
|
+
disableProjectDefaults: false,
|
|
1064
1068
|
type: 'highSpeed',
|
|
1065
1069
|
};
|
|
1066
1070
|
}
|
package/testRunHandler.js
CHANGED
|
@@ -518,7 +518,7 @@ TestRun.prototype.onRetry = async function () {
|
|
|
518
518
|
this._originalTestResultId = this._originalTestResultId || this._previousTestResultId;
|
|
519
519
|
this._testResultId = utils.guid();
|
|
520
520
|
|
|
521
|
-
if (this._options.lightweightMode && this._options.lightweightMode.
|
|
521
|
+
if (this._options.lightweightMode && this._options.lightweightMode.onlyTestIdsNoSuite) {
|
|
522
522
|
return;
|
|
523
523
|
}
|
|
524
524
|
|
package/testRunStatus.js
CHANGED
|
@@ -153,7 +153,7 @@ RunStatus.prototype.testStart = function (wid, executionId, resultId, isRerun) {
|
|
|
153
153
|
|
|
154
154
|
RunStatus.prototype.updateTestStatusRunning = function (test, executionId, testRetryKey) {
|
|
155
155
|
const { project: projectId, remoteRunId, projectData } = this.options;
|
|
156
|
-
if (this.options.lightweightMode && this.options.lightweightMode.
|
|
156
|
+
if (this.options.lightweightMode && this.options.lightweightMode.onlyTestIdsNoSuite) {
|
|
157
157
|
return this.executionStartedPromise;
|
|
158
158
|
}
|
|
159
159
|
|
|
@@ -185,9 +185,6 @@ RunStatus.prototype.testStartReport = function (test, executionId, testRetryKey)
|
|
|
185
185
|
.then(params => {
|
|
186
186
|
this.options.runParams[test.resultId] = test.config.testData = Object.assign({}, test.config.testData, this.exportsGlobal, this.fileUserParamsData, this.beforeSuiteParams, params);
|
|
187
187
|
test.startTime = Date.now();
|
|
188
|
-
if (this.options.lightweightMode && this.options.lightweightMode.disableResults) {
|
|
189
|
-
return undefined;
|
|
190
|
-
}
|
|
191
188
|
return this.updateTestStatusRunning(test, executionId, testRetryKey);
|
|
192
189
|
}).catch(err => {
|
|
193
190
|
logger.error('Failed to start test', { err });
|
|
@@ -284,7 +281,7 @@ RunStatus.prototype.testEndReport = function (test, executionId, result) {
|
|
|
284
281
|
const globalParameters = result.exportsGlobal;
|
|
285
282
|
return runHook(this.options.afterTest, Object.assign({}, test, { globalParameters }))
|
|
286
283
|
.then(() => {
|
|
287
|
-
if (this.options.lightweightMode && this.options.lightweightMode.
|
|
284
|
+
if (this.options.lightweightMode && this.options.lightweightMode.onlyTestIdsNoSuite) {
|
|
288
285
|
return undefined;
|
|
289
286
|
}
|
|
290
287
|
return servicesApi.updateTestStatus('FINISHED', executionId, test.testId, test.resultId, test.startTime, result.endTime, test.success, test.failureReason, null, this.options.project, this.options.remoteRunId);
|
|
@@ -447,7 +444,7 @@ RunStatus.prototype.executionEnd = function (executionId) {
|
|
|
447
444
|
.then((coverageSummary) => {
|
|
448
445
|
resultExtraData.coverageSummary = coverageSummary;
|
|
449
446
|
|
|
450
|
-
if (this.options.lightweightMode && this.options.lightweightMode.
|
|
447
|
+
if (this.options.lightweightMode && this.options.lightweightMode.onlyTestIdsNoSuite) {
|
|
451
448
|
return undefined;
|
|
452
449
|
}
|
|
453
450
|
return servicesApi.reportExecutionFinished(
|