Update litegraph to 0.8.91 (#2654)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2025-02-20 14:43:51 -05:00
committed by GitHub
parent 3e31045fbb
commit 02d77002c9
5 changed files with 21 additions and 5 deletions

View File

@@ -84,3 +84,19 @@ test.describe('Number widget', () => {
).toBeDefined()
})
})
test.describe('Dynamic widget manipulation', () => {
test('Auto expand node when widget is added dynamically', async ({
comfyPage
}) => {
await comfyPage.loadWorkflow('single_ksampler')
await comfyPage.page.waitForTimeout(300)
await comfyPage.page.evaluate(() => {
window['graph'].nodes[0].addWidget('number', 'new_widget', 10)
window['graph'].setDirtyCanvas(true, true)
})
await expect(comfyPage.canvas).toHaveScreenshot('ksampler_widget_added.png')
})
})