[backport core/1.37] Fix: Update for Image Widget test (#8061)

Backport of #8031 to `core/1.37`

Automatically created by backport workflow.

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-8061-backport-core-1-37-Fix-Update-for-Image-Widget-test-2e96d73d365081908903d331043cac80)
by [Unito](https://www.unito.io)

---------

Co-authored-by: Alexander Brown <drjkl@comfy.org>
Co-authored-by: github-actions <github-actions@github.com>
Co-authored-by: Alexander Brown <448862+DrJKL@users.noreply.github.com>
This commit is contained in:
Comfy Org PR Bot
2026-01-15 14:03:36 +09:00
committed by GitHub
parent 8ce1f6ccd3
commit a963d587cf
2 changed files with 4 additions and 1 deletions

View File

@@ -194,7 +194,10 @@ test.describe('Image widget', () => {
const comboEntry = comfyPage.page.getByRole('menuitem', {
name: 'image32x32.webp'
})
await comboEntry.click({ noWaitAfter: true })
await comboEntry.click()
// Stabilization for the image swap
await comfyPage.nextFrame()
// Expect the image preview to change automatically
await expect(comfyPage.canvas).toHaveScreenshot(

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

After

Width:  |  Height:  |  Size: 46 KiB