diff --git a/browser_tests/tests/nodeSearchBox.spec.ts b/browser_tests/tests/nodeSearchBox.spec.ts index ce8875def..2eea22329 100644 --- a/browser_tests/tests/nodeSearchBox.spec.ts +++ b/browser_tests/tests/nodeSearchBox.spec.ts @@ -260,6 +260,12 @@ test.describe('Release context menu', () => { test('Can trigger on link release', async ({ comfyPage }) => { await comfyPage.disconnectEdge() + const contextMenu = comfyPage.page.locator('.litecontextmenu') + // Wait for context menu with correct title (slot name | slot type) + // The title shows the output slot name and type from the disconnected link + await expect(contextMenu.locator('.litemenu-title')).toContainText( + 'CLIP | CLIP' + ) await comfyPage.page.mouse.move(10, 10) await comfyPage.nextFrame() await expect(comfyPage.canvas).toHaveScreenshot(