Skip to content
Snippets Groups Projects
Commit 508fd343 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Add integration test for backdrop library

parent c48d3402
No related branches found
No related tags found
No related merge requests found
......@@ -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');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment