mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 06:19:58 +00:00
fix: use existing workflow image instead of widget interaction
This commit is contained in:
@@ -15,14 +15,6 @@ test.describe('Vue Nodes Mask Editor', () => {
|
||||
await comfyPage.loadWorkflow('widgets/load_image_widget')
|
||||
await comfyPage.vueNodes.waitForNodes()
|
||||
|
||||
const nodes = await comfyPage.getNodeRefsByType('LoadImage')
|
||||
const loadImageNode = nodes[0]
|
||||
const fileComboWidget = await loadImageNode.getWidget(0)
|
||||
await fileComboWidget.click()
|
||||
await comfyPage.page
|
||||
.getByRole('menuitem', { name: 'image32x32.webp' })
|
||||
.click({ noWaitAfter: true })
|
||||
|
||||
const imagePreview = comfyPage.page.locator('.image-preview img')
|
||||
await expect(imagePreview).toBeVisible()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user