[Test] Fix unnecessary circular reference (#2596)

This commit is contained in:
filtered
2025-02-17 20:18:26 +11:00
committed by GitHub
parent fd27b3d580
commit c757fbaeb4

View File

@@ -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