playwright
Advanced tools
Comparing version 1.49.0-beta-1731562490000 to 1.49.0-beta-1731582214000
@@ -389,3 +389,3 @@ "use strict"; | ||
const testResult = jsonEvent.params.result; | ||
testResult.errors.forEach(error => this._updateLocation(error.location)); | ||
testResult.errors.forEach(error => this._updateErrorLocations(error)); | ||
testResult.attachments.forEach(attachment => { | ||
@@ -401,2 +401,7 @@ if (attachment.path) attachment.path = this._updatePath(attachment.path); | ||
} | ||
if (jsonEvent.method === 'onStepEnd') { | ||
const step = jsonEvent.params.step; | ||
this._updateErrorLocations(step.error); | ||
return; | ||
} | ||
} | ||
@@ -416,2 +421,8 @@ _updateProject(project) { | ||
} | ||
_updateErrorLocations(error) { | ||
while (error) { | ||
this._updateLocation(error.location); | ||
error = error.cause; | ||
} | ||
} | ||
_updateLocation(location) { | ||
@@ -418,0 +429,0 @@ if (location) location.file = this._updatePath(location.file); |
{ | ||
"name": "playwright", | ||
"version": "1.49.0-beta-1731562490000", | ||
"version": "1.49.0-beta-1731582214000", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -59,3 +59,3 @@ "repository": { | ||
"dependencies": { | ||
"playwright-core": "1.49.0-beta-1731562490000" | ||
"playwright-core": "1.49.0-beta-1731582214000" | ||
}, | ||
@@ -62,0 +62,0 @@ "optionalDependencies": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3149408
35654
+ Addedplaywright-core@1.49.0-beta-1731582214000(transitive)
- Removedplaywright-core@1.49.0-beta-1731562490000(transitive)