From c757fbaeb4c5e5d3ec7836019aaf1400d1243713 Mon Sep 17 00:00:00 2001 From: filtered <176114999+webfiltered@users.noreply.github.com> Date: Mon, 17 Feb 2025 20:18:26 +1100 Subject: [PATCH] [Test] Fix unnecessary circular reference (#2596) --- browser_tests/fixtures/ComfyPage.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_tests/fixtures/ComfyPage.ts b/browser_tests/fixtures/ComfyPage.ts index 2f5965900..207305a24 100644 --- a/browser_tests/fixtures/ComfyPage.ts +++ b/browser_tests/fixtures/ComfyPage.ts @@ -885,10 +885,10 @@ export class ComfyPage { } export const comfyPageFixture = base.extend<{ comfyPage: ComfyPage }>({ - comfyPage: async ({ page, request }, use) => { + comfyPage: async ({ page, request }, use, testInfo) => { const comfyPage = new ComfyPage(page, request) - const { parallelIndex } = comfyPageFixture.info() + const { parallelIndex } = testInfo const username = `playwright-test-${parallelIndex}` const userId = await comfyPage.setupUser(username) comfyPage.userIds[parallelIndex] = userId