diff --git a/packages/playwright/src/runner/dispatcher.ts b/packages/playwright/src/runner/dispatcher.ts index 9fdb620f2c..850e3d4232 100644 --- a/packages/playwright/src/runner/dispatcher.ts +++ b/packages/playwright/src/runner/dispatcher.ts @@ -36,7 +36,6 @@ export class Dispatcher { private _finished = new ManualPromise(); private _isStopped = true; - private _allTests: TestCase[] = []; private _config: FullConfigInternal; private _reporter: ReporterV2; private _failureTracker: FailureTracker; @@ -159,7 +158,6 @@ export class Dispatcher { async run(testGroups: TestGroup[], extraEnvByProjectId: EnvByProjectId) { this._extraEnvByProjectId = extraEnvByProjectId; this._queue = testGroups; - this._allTests = testGroups.map(g => g.tests).flat(); for (const group of testGroups) this._updateCounterForWorkerHash(group.workerHash, +1); this._isStopped = false;