@testim/testim-cli 3.237.0 → 3.238.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
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@testim/testim-cli",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.238.0",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@testim/testim-cli",
|
|
9
|
-
"version": "3.
|
|
9
|
+
"version": "3.238.0",
|
|
10
10
|
"license": "Proprietary",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@applitools/eyes-sdk-core": "13.2.0",
|
package/package.json
CHANGED
|
@@ -91,6 +91,7 @@ class ParallelWorkerManager {
|
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
const onTestCompleted = async (wid, testId, testResult, sessionId, isRerun) => {
|
|
94
|
+
runningTests--;
|
|
94
95
|
const update = {};
|
|
95
96
|
if (lightweightMode && lightweightMode.onlyTestIdsNoSuite) {
|
|
96
97
|
update.show = true;
|
|
@@ -156,9 +157,8 @@ class ParallelWorkerManager {
|
|
|
156
157
|
executionQueue.stop();
|
|
157
158
|
stoppedOnError = true;
|
|
158
159
|
}
|
|
159
|
-
runningTests--;
|
|
160
160
|
const completedTests = Object.keys(combinedTestResults).length;
|
|
161
|
-
if (completedTests === testCount || (
|
|
161
|
+
if (completedTests === testCount || (stoppedOnError && runningTests === 0)) {
|
|
162
162
|
resolve(combinedTestResults);
|
|
163
163
|
return undefined;
|
|
164
164
|
}
|
|
@@ -170,7 +170,7 @@ class ParallelWorkerManager {
|
|
|
170
170
|
testStatus.onTestIgnored(wid, testResult.resultId);
|
|
171
171
|
runningTests--;
|
|
172
172
|
const completedTests = Object.keys(combinedTestResults).length;
|
|
173
|
-
if (completedTests === testCount || (
|
|
173
|
+
if (completedTests === testCount || (stoppedOnError && runningTests === 0)) {
|
|
174
174
|
resolve(combinedTestResults);
|
|
175
175
|
}
|
|
176
176
|
};
|