The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix tests.
comfyanonymous0256e7f76992
diff --git a/tests-ui/utils/ezgraph.js b/tests-ui/utils/ezgraph.jsindex 8a55246ee..8bf8c5d8c 100644--- a/tests-ui/utils/ezgraph.js+++ b/tests-ui/utils/ezgraph.js@@ -204,13 +204,17 @@ export class EzWidget {convertToWidget() {if (!this.isConvertedToInput)throw new Error(`Widget ${this.widget.name} cannot be converted as it is already a widget.`);- this.node.menu[`Convert ${this.widget.name} to widget`].call();+ var menu = this.node.menu["Convert 🔘 to widget.."].item.submenu.options;+ var index = menu.findIndex(a => a.content == `Convert ${this.widget.name} to widget`);+ menu[index].callback.call();}convertToInput() {if (this.isConvertedToInput)throw new Error(`Widget ${this.widget.name} cannot be converted as it is already an input.`);- this.node.menu[`Convert ${this.widget.name} to input`].call();+ var menu = this.node.menu["Convert input to 🔘.."].item.submenu.options;+ var index = menu.findIndex(a => a.content == `Convert ${this.widget.name} to input`);+ menu[index].callback.call();}}