File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -75,6 +75,7 @@ describe('Menu bar settings', () => {
75
75
test ( 'User is not warned before uploading project file over a fresh project' , async ( ) => {
76
76
await loadUri ( uri ) ;
77
77
await clickText ( 'File' ) ;
78
+ await clickText ( 'Load from your computer' ) ;
78
79
const input = await findByXpath ( '//input[@accept=".sb,.sb2,.sb3"]' ) ;
79
80
await input . sendKeys ( path . resolve ( __dirname , '../fixtures/project1.sb3' ) ) ;
80
81
// No replace alert since no changes were made
@@ -89,6 +90,7 @@ describe('Menu bar settings', () => {
89
90
await clickText ( 'delete' , scope . spriteTile ) ;
90
91
91
92
await clickText ( 'File' ) ;
93
+ await clickText ( 'Load from your computer' ) ;
92
94
const input = await findByXpath ( '//input[@accept=".sb,.sb2,.sb3"]' ) ;
93
95
await input . sendKeys ( path . resolve ( __dirname , '../fixtures/project1.sb3' ) ) ;
94
96
await driver . switchTo ( ) . alert ( )
You can’t perform that action at this time.
0 commit comments