mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
[backport cloud/1.37] Fix: Update for Image Widget test (#8051)
Backport of #8031 to `cloud/1.37` Automatically created by backport workflow. ┆Issue is synchronized with this [Notion page](https://www.notion.so/PR-8051-backport-cloud-1-37-Fix-Update-for-Image-Widget-test-2e86d73d365081bba5e0e5f75aa8a7d9) 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:
@@ -194,7 +194,10 @@ test.describe('Image widget', () => {
|
|||||||
const comboEntry = comfyPage.page.getByRole('menuitem', {
|
const comboEntry = comfyPage.page.getByRole('menuitem', {
|
||||||
name: 'image32x32.webp'
|
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
|
// Expect the image preview to change automatically
|
||||||
await expect(comfyPage.canvas).toHaveScreenshot(
|
await expect(comfyPage.canvas).toHaveScreenshot(
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 46 KiB |
Reference in New Issue
Block a user