playwright
Advanced tools
Comparing version 1.50.0-alpha-2024-12-13 to 1.50.0-alpha-2024-12-14
@@ -572,13 +572,6 @@ "use strict"; | ||
function stdioAttachment(chunk, type) { | ||
if (typeof chunk === 'string') { | ||
return { | ||
name: type, | ||
contentType: 'text/plain', | ||
body: chunk | ||
}; | ||
} | ||
return { | ||
name: type, | ||
contentType: 'application/octet-stream', | ||
body: chunk | ||
contentType: 'text/plain', | ||
body: typeof chunk === 'string' ? chunk : chunk.toString('utf-8') | ||
}; | ||
@@ -585,0 +578,0 @@ } |
@@ -531,3 +531,3 @@ "use strict"; | ||
function chunkToPayload(type, chunk) { | ||
if (chunk instanceof Buffer) return { | ||
if (chunk instanceof Uint8Array) return { | ||
type, | ||
@@ -534,0 +534,0 @@ buffer: chunk.toString('base64') |
@@ -65,2 +65,3 @@ "use strict"; | ||
async setup(testInfo, runnable) { | ||
var _this$registration$cu; | ||
this.runner.instanceForId.set(this.registration.id, this); | ||
@@ -72,3 +73,3 @@ if (typeof this.registration.fn !== 'function') { | ||
await testInfo._runAsStage({ | ||
title: `fixture: ${this.registration.name}`, | ||
title: `fixture: ${(_this$registration$cu = this.registration.customTitle) !== null && _this$registration$cu !== void 0 ? _this$registration$cu : this.registration.name}`, | ||
runnable: { | ||
@@ -140,4 +141,5 @@ ...runnable, | ||
if (!testInfo._timeoutManager.isTimeExhaustedFor(fixtureRunnable)) { | ||
var _this$registration$cu2; | ||
await testInfo._runAsStage({ | ||
title: `fixture: ${this.registration.name}`, | ||
title: `fixture: ${(_this$registration$cu2 = this.registration.customTitle) !== null && _this$registration$cu2 !== void 0 ? _this$registration$cu2 : this.registration.name}`, | ||
runnable: fixtureRunnable, | ||
@@ -144,0 +146,0 @@ stepInfo: this._stepInfo |
{ | ||
"name": "playwright", | ||
"version": "1.50.0-alpha-2024-12-13", | ||
"version": "1.50.0-alpha-2024-12-14", | ||
"description": "A high-level API to automate web browsers", | ||
@@ -59,3 +59,3 @@ "repository": { | ||
"dependencies": { | ||
"playwright-core": "1.50.0-alpha-2024-12-13" | ||
"playwright-core": "1.50.0-alpha-2024-12-14" | ||
}, | ||
@@ -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
3157803
35843
+ Addedplaywright-core@1.50.0-alpha-2024-12-14(transitive)
- Removedplaywright-core@1.50.0-alpha-2024-12-13(transitive)