diff --git a/test/integration/test.js b/test/integration/test.js index ca54db33788c5d594c547e5755c3422f706dffc0..58b488ecda88325b1991647c3c3ce3dafbae5973 100644 --- a/test/integration/test.js +++ b/test/integration/test.js @@ -74,6 +74,16 @@ describe('costumes, sounds and variables', () => { await expect(logs).toEqual([]); }); + test('Adding a backdrop', async () => { + await loadUri(uri); + await clickText('Add Backdrop'); + const el = await findByXpath("//input[@placeholder='what are you looking for?']"); + await el.sendKeys('blue'); + await clickText('Blue Sky'); // Should close the modal + const logs = await getLogs(errorWhitelist); + await expect(logs).toEqual([]); + }); + test('Adding a sound', async () => { await loadUri(uri); await clickText('Sounds');