diff --git a/test/integration/menu-bar.test.js b/test/integration/menu-bar.test.js index b1c3d9fc037259f8b86ac264feefe6fc78edd579..ced505a916fdb0f8df8959635f9952399ae1ead3 100644 --- a/test/integration/menu-bar.test.js +++ b/test/integration/menu-bar.test.js @@ -56,4 +56,12 @@ describe('Menu bar settings', () => { await clickXpath('//button[@title="Try It"]'); await findByXpath('//div[span[div[span[text()="Share"]]] and @data-tip="tooltip"]'); }); + + test('Logo should be clickable', async () => { + await loadUri(uri); + await clickXpath('//button[@title="Try It"]'); + await clickXpath('//img[@alt="Scratch"]'); + const currentUrl = await driver.getCurrentUrl(); + await expect(currentUrl).toEqual('https://scratch.mit.edu/'); + }); });