Handle invalid node def errors (#1340)

* nit

* Add error handling

* nit

* nit
This commit is contained in:
Chenlei Hu
2024-10-27 20:07:05 -04:00
committed by GitHub
parent 546c5dabc8
commit 82c369322d
2 changed files with 13 additions and 5 deletions

View File

@@ -73,6 +73,8 @@ test.describe('Node Interaction', () => {
await comfyPage.disconnectEdge()
await expect(comfyPage.canvas).toHaveScreenshot('disconnected-edge.png')
await comfyPage.connectEdge()
// Move mouse to empty area to avoid slot highlight.
await comfyPage.moveMouseToEmptyArea()
// Litegraph renders edge with a slight offset.
await expect(comfyPage.canvas).toHaveScreenshot('default.png', {
maxDiffPixels: 50