From 59f428900c916a3b7a6690bd0ccd073129673be2 Mon Sep 17 00:00:00 2001 From: Ben Wheeler <wheeler.benjamin@gmail.com> Date: Mon, 3 Feb 2020 11:16:42 -0500 Subject: [PATCH] update menu-bar test per refactor --- test/integration/menu-bar.test.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/integration/menu-bar.test.js b/test/integration/menu-bar.test.js index 3f6457e52..c83f1022d 100644 --- a/test/integration/menu-bar.test.js +++ b/test/integration/menu-bar.test.js @@ -75,6 +75,7 @@ describe('Menu bar settings', () => { test('User is not warned before uploading project file over a fresh project', async () => { await loadUri(uri); await clickText('File'); + await clickText('Load from your computer'); const input = await findByXpath('//input[@accept=".sb,.sb2,.sb3"]'); await input.sendKeys(path.resolve(__dirname, '../fixtures/project1.sb3')); // No replace alert since no changes were made @@ -89,6 +90,7 @@ describe('Menu bar settings', () => { await clickText('delete', scope.spriteTile); await clickText('File'); + await clickText('Load from your computer'); const input = await findByXpath('//input[@accept=".sb,.sb2,.sb3"]'); await input.sendKeys(path.resolve(__dirname, '../fixtures/project1.sb3')); await driver.switchTo().alert() -- GitLab