fix: use workflow.loadWorkflow API in E2E test

Amp-Thread-ID: https://ampcode.com/threads/T-019c7db7-6d68-711e-b2f5-b6211343697a
This commit is contained in:
bymyself
2026-02-21 01:31:39 +00:00
parent 274822c22a
commit 8ea0f75869

View File

@@ -12,7 +12,7 @@ test.describe('Image Dropdown Virtualization', { tag: '@widget' }, () => {
test('should virtualize items when dropdown has many entries', async ({
comfyPage
}) => {
await comfyPage.loadWorkflow('widgets/load_image_widget')
await comfyPage.workflow.loadWorkflow('widgets/load_image_widget')
await comfyPage.vueNodes.waitForNodes()
const totalItems = await comfyPage.page.evaluate(() => {