File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -8,17 +8,13 @@ describe('First install', function () {
88 await withFixtures (
99 {
1010 disableServerMochaToBackground : true ,
11+ title : this . test ?. fullTitle ( ) ,
1112 } ,
1213 async ( { driver } ) => {
1314 // Wait for MetaMask to automatically open a new tab
14- await driver . waitUntilXWindowHandles ( 2 ) ;
15-
16- const windowHandles = await driver . getAllWindowHandles ( ) ;
17-
18- // Switch to new tab and verify it's the start onboarding page
19- await driver . driver . switchTo ( ) . window ( windowHandles [ 1 ] ) ;
15+ await driver . waitAndSwitchToWindowWithTitle ( 2 , 'MetaMask' ) ;
2016 const startOnboardingPage = new StartOnboardingPage ( driver ) ;
21- await startOnboardingPage . check_loginPageIsLoaded ( ) ;
17+ await startOnboardingPage . checkBannerPageIsLoaded ( ) ;
2218
2319 await driver . executeScript ( 'window.stateHooks.reloadExtension()' ) ;
2420
You can’t perform that action at this time.
0 commit comments