From 1563f7892df2b0f3676c7467c4aa304efb1b96c3 Mon Sep 17 00:00:00 2001
From: Eric Rosenbaum <eric.rosenbaum@gmail.com>
Date: Thu, 25 Jul 2019 16:32:53 -0400
Subject: [PATCH] Add a test for the copy to new button

---
 test/integration/sounds.test.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test/integration/sounds.test.js b/test/integration/sounds.test.js
index f511b9105..c8cd343cd 100644
--- a/test/integration/sounds.test.js
+++ b/test/integration/sounds.test.js
@@ -131,4 +131,14 @@ describe('Working with sounds', () => {
         const logs = await getLogs();
         await expect(logs).toEqual([]);
     });
+
+    test('Copy to new button adds a new sound', async () => {
+        await loadUri(uri);
+        await clickText('Sounds');
+        await clickText('Copy to New', scope.soundsTab);
+        await clickText('Meow2', scope.soundsTab);
+
+        const logs = await getLogs();
+        await expect(logs).toEqual([]);
+    });
 });
-- 
GitLab