build(deps): bump playwright from 1.49.1 to 1.50.1

This commit is contained in:
2025-02-21 17:22:03 -07:00
parent 79c9869e65
commit dc6d9c68a9
174 changed files with 3064 additions and 1955 deletions

View File

@@ -23,6 +23,7 @@ var _webServerPlugin = require("../plugins/webServerPlugin");
var _util = require("../util");
var _teleReceiver = require("../isomorphic/teleReceiver");
var _internalReporter = require("../reporters/internalReporter");
var _base = require("../reporters/base");
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
/**
* Copyright Microsoft Corporation. All rights reserved.
@@ -353,6 +354,9 @@ class TestServerDispatcher {
...(params.updateSnapshots ? {
updateSnapshots: params.updateSnapshots
} : {}),
...(params.updateSourceMethod ? {
updateSourceMethod: params.updateSourceMethod
} : {}),
...(params.workers ? {
workers: params.workers
} : {})
@@ -400,7 +404,7 @@ class TestServerDispatcher {
await this._updateWatcher(true);
}
async findRelatedTestFiles(params) {
const errorReporter = (0, _reporters.createErrorCollectingReporter)();
const errorReporter = (0, _reporters.createErrorCollectingReporter)(_base.internalScreen);
const reporter = new _internalReporter.InternalReporter([errorReporter]);
const config = await this._loadConfigOrReportError(reporter);
if (!config) return {
@@ -528,7 +532,7 @@ async function innerRunTestServer(configLocation, configCLIOverrides, options, o
return sigintWatcher.hadSignal() ? 'interrupted' : 'passed';
}
function chunkToPayload(type, chunk) {
if (chunk instanceof Buffer) return {
if (chunk instanceof Uint8Array) return {
type,
buffer: chunk.toString('base64')
};