@@ -361,30 +361,31 @@ module.exports = {
361361 console.log(resolver.addr(node));
362362 }
363363 `
364- if ( runMasterTests )
364+ if ( runMasterTests ) {
365365 browser
366366 // .clickLaunchIcon('udapp')
367367 . switchEnvironment ( 'vm-mainnet-fork' )
368368 . clickLaunchIcon ( 'filePanel' )
369369 . addFile ( 'test_mainnet.sol' , { content : script } )
370370
371- const path = "//*[@class='view-line' and contains(.,'resolveENS') and contains(.,'view')]//span//span[contains(.,'(')]"
372- const pathRunFunction = `//li//*[@aria-label='Run the free function "resolveENS"']`
373- browser . waitForElementVisible ( '#editorView' )
374- //.waitForElementPresent(pathRunFunction)
375- . pause ( 10000 ) // the parser need to parse the code
376- . useXpath ( )
377- . scrollToLine ( 16 )
378- . click ( path )
379- . perform ( function ( ) {
380- const actions = this . actions ( { async : true } ) ;
381- return actions
382- . keyDown ( this . Keys . SHIFT )
383- . keyDown ( this . Keys . ALT )
384- . sendKeys ( 'r' )
385- } )
386- . useCss ( )
387- . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' , 120000 )
371+ const path = "//*[@class='view-line' and contains(.,'resolveENS') and contains(.,'view')]//span//span[contains(.,'(')]"
372+ const pathRunFunction = `//li//*[@aria-label='Run the free function "resolveENS"']`
373+ browser . waitForElementVisible ( '#editorView' )
374+ //.waitForElementPresent(pathRunFunction)
375+ . pause ( 10000 ) // the parser need to parse the code
376+ . useXpath ( )
377+ . scrollToLine ( 16 )
378+ . click ( path )
379+ . perform ( function ( ) {
380+ const actions = this . actions ( { async : true } ) ;
381+ return actions
382+ . keyDown ( this . Keys . SHIFT )
383+ . keyDown ( this . Keys . ALT )
384+ . sendKeys ( 'r' )
385+ } )
386+ . useCss ( )
387+ . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045' , 120000 )
388+ }
388389 } ,
389390
390391 'Should run free function which logs in the terminal #group10' : function ( browser : NightwatchBrowser ) {
0 commit comments