Update litegraph (Fix drag + alt copy node) (#253)

* Update litegraph

* Update github action

* Update test expectations [skip ci]

---------

Co-authored-by: github-actions <github-actions@github.com>
This commit is contained in:
Chenlei Hu
2024-07-28 13:39:45 -04:00
committed by GitHub
parent 7c6bd7ed71
commit 561162fb3e
5 changed files with 18 additions and 6 deletions

View File

@@ -53,4 +53,15 @@ test.describe('Copy Paste', () => {
await comfyPage.ctrlV()
await expect(comfyPage.canvas).toHaveScreenshot('no-node-copied.png')
})
test('Copy node by dragging + alt', async ({ comfyPage }) => {
// TextEncodeNode1
await comfyPage.page.mouse.move(618, 191)
await comfyPage.page.keyboard.down('Alt')
await comfyPage.page.mouse.down()
await comfyPage.page.mouse.move(100, 100)
await comfyPage.page.mouse.up()
await comfyPage.page.keyboard.up('Alt')
await expect(comfyPage.canvas).toHaveScreenshot('drag-copy-copied-node.png')
})
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB