diff --git a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js index 918c6accd..a3a89fac5 100644 --- a/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js +++ b/packages/bruno-app/src/components/Sidebar/Collections/Collection/CollectionItem/index.js @@ -535,7 +535,7 @@ const CollectionItem = ({ item, collectionUid, collectionPathname, searchText }) const handleCopyItem = () => { dispatch(copyRequest(item)); const itemType = isFolder ? 'Folder' : 'Request'; - toast.success(`${itemType} copied to clipboard`); + toast.success(`${itemType} copied`); }; const handlePasteItem = () => { diff --git a/tests/request/copy-request/keyboard-shortcuts.spec.ts b/tests/request/copy-request/keyboard-shortcuts.spec.ts index 91e5d5790..cff366254 100644 --- a/tests/request/copy-request/keyboard-shortcuts.spec.ts +++ b/tests/request/copy-request/keyboard-shortcuts.spec.ts @@ -34,7 +34,7 @@ test.describe('Copy and Paste with Keyboard Shortcuts', () => { await page.keyboard.press(`${modifier}+KeyC`); // Verify copy success (toast message) - await expect(page.getByText(/copied to clipboard/i).first()).toBeVisible(); + await expect(page.getByText(/Request copied/i).first()).toBeVisible(); // Focus the collection to paste await collection.click(); @@ -75,7 +75,7 @@ test.describe('Copy and Paste with Keyboard Shortcuts', () => { await page.keyboard.press(`${modifier}+KeyC`); // Verify copy success - await expect(page.getByText(/copied to clipboard/i).first()).toBeVisible(); + await expect(page.getByText(/Folder copied/i).first()).toBeVisible(); // Focus the collection to paste await collection.click();