mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-21 15:24:09 +00:00
20 lines
669 B
TypeScript
20 lines
669 B
TypeScript
import { comfyPageFixture as test } from '../../../../fixtures/comfyPageFixture'
|
|
import { comfyExpect as expect } from '../../../../fixtures/ComfyPage'
|
|
|
|
test.describe('Vue Upload Widgets', () => {
|
|
test.beforeEach(async ({ comfyPage }) => {
|
|
await comfyPage.setSetting('Comfy.VueNodes.Enabled', true)
|
|
await comfyPage.vueNodes.waitForNodes()
|
|
})
|
|
|
|
test('should hide canvas-only upload buttons', async ({ comfyPage }) => {
|
|
await comfyPage.setup()
|
|
await comfyPage.loadWorkflow('widgets/all_load_widgets')
|
|
await comfyPage.vueNodes.waitForNodes()
|
|
|
|
await expect(comfyPage.canvas).toHaveScreenshot(
|
|
'vue-nodes-upload-widgets.png'
|
|
)
|
|
})
|
|
})
|