@@ -50,10 +50,10 @@ const tests = {
5050 . pause ( 5000 )
5151 . switchBrowserWindow ( extension_url , 'MetaMask' , ( browser ) => {
5252 browser
53- . waitForElementVisible ( '*[data-testid="page-container-footer-next"]' )
53+ . waitForElementVisible ( '*[data-testid="page-container-footer-next"]' , 60000 )
5454 . click ( '*[data-testid="page-container-footer-next"]' ) // this connects the metamask account to remix
5555 . pause ( 2000 )
56- . waitForElementVisible ( '*[data-testid="page-container-footer-next"]' )
56+ . waitForElementVisible ( '*[data-testid="page-container-footer-next"]' , 60000 )
5757 . click ( '*[data-testid="page-container-footer-next"]' )
5858 // .waitForElementVisible('*[data-testid="popover-close"]')
5959 // .click('*[data-testid="popover-close"]')
@@ -162,7 +162,7 @@ const tests = {
162162 . perform ( ( done ) => {
163163 browser . switchBrowserWindow ( extension_url , 'MetaMask' , ( browser ) => {
164164 browser
165- . waitForElementPresent ( '[data-testid="page-container-footer-next"]' )
165+ . waitForElementPresent ( '[data-testid="page-container-footer-next"]' , 60000 )
166166 . click ( '[data-testid="page-container-footer-next"]' ) // approve the tx
167167 . switchBrowserTab ( 0 ) // back to remix
168168 . waitForElementContainsText ( '*[data-id="terminalJournal"]' , 'view on etherscan' , 60000 )
@@ -177,7 +177,7 @@ const tests = {
177177 . perform ( ( done ) => { // call delegate
178178 browser . switchBrowserWindow ( extension_url , 'MetaMask' , ( browser ) => {
179179 browser
180- . waitForElementPresent ( '[data-testid="page-container-footer-next"]' )
180+ . waitForElementPresent ( '[data-testid="page-container-footer-next"]' , 60000 )
181181 . click ( '[data-testid="page-container-footer-next"]' ) // approve the tx
182182 . switchBrowserTab ( 0 ) // back to remix
183183 . waitForElementContainsText ( '*[data-id="terminalJournal"]' , 'view on etherscan' , 60000 )
0 commit comments