diff --git a/test/integration/test.js b/test/integration/test.js index 39e8c6faec5a2451e08fb0133a0dd34462738fb4..9977e3608e6be226589633833ab99c06dbad9341 100644 --- a/test/integration/test.js +++ b/test/integration/test.js @@ -76,6 +76,21 @@ describe('costumes, sounds and variables', () => { await expect(logs).toEqual([]); }); + test('Load a project by ID (fullscreen)', async () => { + driver.manage() + .window() + .maximize(); + const projectId = '96708228'; + await clickXpath('//img[@title="Zoom Control"]'); + await driver.get(`file://${uri}#${projectId}`); + await new Promise(resolve => setTimeout(resolve, 2000)); + await clickXpath('//img[@title="Go"]'); + await new Promise(resolve => setTimeout(resolve, 2000)); + await clickXpath('//img[@title="Stop"]'); + const logs = await getLogs(errorWhitelist); + await expect(logs).toEqual([]); + }); + test('Creating variables', async () => { await driver.get(`file://${uri}`); await clickText('Blocks');