Trigger searchbox on group body db click (#731)

This commit is contained in:
Chenlei Hu
2024-09-04 10:16:12 -04:00
committed by GitHub
parent ada8500d21
commit b396d1a9fe
3 changed files with 46 additions and 0 deletions

View File

@@ -13,6 +13,13 @@ test.describe('Node search box', () => {
await expect(comfyPage.searchBox.input).toHaveCount(1)
})
test(`Can trigger on group body double click`, async ({ comfyPage }) => {
await comfyPage.loadWorkflow('single_group_only')
await comfyPage.page.mouse.dblclick(50, 50)
await comfyPage.nextFrame()
await expect(comfyPage.searchBox.input).toHaveCount(1)
})
test('Can trigger on link release', async ({ comfyPage }) => {
await comfyPage.disconnectEdge()
await expect(comfyPage.searchBox.input).toHaveCount(1)