[BrowserTest] Add test on boolean widget (#2421)

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2025-02-04 14:28:32 -08:00
committed by GitHub
parent 9fb3235df4
commit 5f850ddaa4
23 changed files with 54 additions and 0 deletions

View File

@@ -83,6 +83,12 @@ export class NodeWidgetReference {
y: pos[1]
}
}
async click() {
await this.node.comfyPage.canvas.click({
position: await this.getPosition()
})
}
}
export class NodeReference {