From 9a5c5c8e7af5d1d57ae1910da44e338fc40bd26d Mon Sep 17 00:00:00 2001 From: huchenlei Date: Sat, 28 Sep 2024 09:39:51 +0900 Subject: [PATCH] Fix playwright test --- browser_tests/ComfyPage.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/browser_tests/ComfyPage.ts b/browser_tests/ComfyPage.ts index 93ce93550..7426b082e 100644 --- a/browser_tests/ComfyPage.ts +++ b/browser_tests/ComfyPage.ts @@ -640,9 +640,10 @@ export class ComfyPage { y: 645 } }) - await page.locator('input[type="text"]').click() - await page.locator('input[type="text"]').fill('128') - await page.locator('input[type="text"]').press('Enter') + const dialogInput = page.locator('.graphdialog input[type="text"]') + await dialogInput.click() + await dialogInput.fill('128') + await dialogInput.press('Enter') await this.nextFrame() }