mirror of
https://github.com/TheBinaryNinja/tvapp2.git
synced 2026-06-04 13:05:41 -04:00
build(deps): bump playwright from 1.49.1 to 1.50.1
This commit is contained in:
6
node_modules/playwright/lib/worker/fixtureRunner.js
generated
vendored
6
node_modules/playwright/lib/worker/fixtureRunner.js
generated
vendored
@@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user