Skip to content

Commit 1563f78

Browse files
committed
Add a test for the copy to new button
1 parent 5472f0a commit 1563f78

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/integration/sounds.test.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,14 @@ describe('Working with sounds', () => {
131131
const logs = await getLogs();
132132
await expect(logs).toEqual([]);
133133
});
134+
135+
test('Copy to new button adds a new sound', async () => {
136+
await loadUri(uri);
137+
await clickText('Sounds');
138+
await clickText('Copy to New', scope.soundsTab);
139+
await clickText('Meow2', scope.soundsTab);
140+
141+
const logs = await getLogs();
142+
await expect(logs).toEqual([]);
143+
});
134144
});

0 commit comments

Comments
 (0)