playwright 1.45.0 → 1.45.1
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/lib/index.js +1 -1
- package/lib/worker/workerMain.js +2 -0
- package/package.json +2 -2
package/lib/index.js
CHANGED
|
@@ -758,7 +758,7 @@ class ArtifactsRecorder {
|
|
|
758
758
|
async _stopTracing(tracing) {
|
|
759
759
|
if (tracing[this._startedCollectingArtifacts]) return;
|
|
760
760
|
tracing[this._startedCollectingArtifacts] = true;
|
|
761
|
-
if (this._testInfo._tracing.traceOptions()) await tracing.stopChunk({
|
|
761
|
+
if (this._testInfo._tracing.traceOptions() && tracing[kTracingStarted]) await tracing.stopChunk({
|
|
762
762
|
path: this._testInfo._tracing.generateNextTraceRecordingPath()
|
|
763
763
|
});
|
|
764
764
|
}
|
package/lib/worker/workerMain.js
CHANGED
|
@@ -598,6 +598,8 @@ class WorkerMain extends _process.ProcessRunner {
|
|
|
598
598
|
var _firstError2;
|
|
599
599
|
if (error instanceof _timeoutManager.TimeoutManagerError) throw error;
|
|
600
600
|
firstError = (_firstError2 = firstError) !== null && _firstError2 !== void 0 ? _firstError2 : error;
|
|
601
|
+
// Skip in modifier prevents others from running.
|
|
602
|
+
if (error instanceof _testInfo.SkipError) break;
|
|
601
603
|
}
|
|
602
604
|
}
|
|
603
605
|
if (firstError) throw firstError;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "playwright",
|
|
3
|
-
"version": "1.45.
|
|
3
|
+
"version": "1.45.1",
|
|
4
4
|
"description": "A high-level API to automate web browsers",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
},
|
|
59
59
|
"license": "Apache-2.0",
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"playwright-core": "1.45.
|
|
61
|
+
"playwright-core": "1.45.1"
|
|
62
62
|
},
|
|
63
63
|
"optionalDependencies": {
|
|
64
64
|
"fsevents": "2.3.2"
|