diff --git a/browser_tests/copyPaste.spec.ts b/browser_tests/copyPaste.spec.ts index 7ebc56dbde..56e5db5043 100644 --- a/browser_tests/copyPaste.spec.ts +++ b/browser_tests/copyPaste.spec.ts @@ -11,6 +11,14 @@ test.describe('Copy Paste', () => { await expect(comfyPage.canvas).toHaveScreenshot('copied-node.png') }) + test('Can copy and paste node with link', async ({ comfyPage }) => { + await comfyPage.clickTextEncodeNode1() + await comfyPage.page.mouse.move(10, 10) + await comfyPage.ctrlC() + await comfyPage.page.keyboard.press('Control+Shift+V') + await expect(comfyPage.canvas).toHaveScreenshot('copied-node-with-link.png') + }) + test('Can copy and paste text', async ({ comfyPage }) => { const textBox = comfyPage.widgetTextBox await textBox.click() diff --git a/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-2x-linux.png b/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-2x-linux.png new file mode 100644 index 0000000000..31a70d38cb Binary files /dev/null and b/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-2x-linux.png differ diff --git a/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-linux.png b/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-linux.png new file mode 100644 index 0000000000..424094812f Binary files /dev/null and b/browser_tests/copyPaste.spec.ts-snapshots/copied-node-with-link-chromium-linux.png differ