Fix regression when configuring graph with missing converted input (#3066)

This commit is contained in:
AustinMroz
2025-03-16 10:36:42 -05:00
committed by GitHub
parent 07f285b05a
commit f583015a14
3 changed files with 109 additions and 1 deletions

View File

@@ -49,6 +49,13 @@ test.describe('Optional input', () => {
expect(vaeInput.link).toBeNull()
expect(convertedInput.link).not.toBeNull()
})
test('Renamed converted input', async ({ comfyPage }) => {
await comfyPage.loadWorkflow('renamed_converted_widget')
const node = await comfyPage.getNodeRefById('3')
const inputs = await node.getProperty('inputs')
const renamedInput = inputs.find((w) => w.name === 'breadth')
expect(renamedInput).toBeUndefined()
})
test('slider', async ({ comfyPage }) => {
await comfyPage.loadWorkflow('simple_slider')
await expect(comfyPage.canvas).toHaveScreenshot('simple_slider.png')