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

@@ -62,13 +62,14 @@ class Fixture {
};
}
async setup(testInfo, runnable) {
var _this$registration$cu;
this.runner.instanceForId.set(this.registration.id, this);
if (typeof this.registration.fn !== 'function') {
this.value = this.registration.fn;
return;
}
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: {
...runnable,
fixture: this._setupDescription
@@ -135,8 +136,9 @@ class Fixture {
// Do not even start the teardown for a fixture that does not have any
// time remaining in the time slot. This avoids cascading timeouts.
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,
stepInfo: this._stepInfo
}, async () => {