Skip to content

Commit 59f4289

Browse files
committed
update menu-bar test per refactor
1 parent 48245be commit 59f4289

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/integration/menu-bar.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ describe('Menu bar settings', () => {
7575
test('User is not warned before uploading project file over a fresh project', async () => {
7676
await loadUri(uri);
7777
await clickText('File');
78+
await clickText('Load from your computer');
7879
const input = await findByXpath('//input[@accept=".sb,.sb2,.sb3"]');
7980
await input.sendKeys(path.resolve(__dirname, '../fixtures/project1.sb3'));
8081
// No replace alert since no changes were made
@@ -89,6 +90,7 @@ describe('Menu bar settings', () => {
8990
await clickText('delete', scope.spriteTile);
9091

9192
await clickText('File');
93+
await clickText('Load from your computer');
9294
const input = await findByXpath('//input[@accept=".sb,.sb2,.sb3"]');
9395
await input.sendKeys(path.resolve(__dirname, '../fixtures/project1.sb3'));
9496
await driver.switchTo().alert()

0 commit comments

Comments
 (0)