@@ -80,7 +80,7 @@ module.exports = {
8080 . addFile ( 'Untitled8.sol' , sources [ 7 ] [ 'Untitled8.sol' ] )
8181 . clickLaunchIcon ( 'filePanel' )
8282 . clickLaunchIcon ( 'solidity' )
83- . waitForElementVisible ( '[data-id="https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC20/ERC20.sol"]' , 60000 )
83+ . waitForElementVisible ( '[data-id="https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC20/ERC20.sol"]' , 120000 )
8484 . scrollAndClick ( '[data-id="https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-contracts/master/contracts/token/ERC20/ERC20.sol"]' ) // click on error which point to ERC20 code
8585 . pause ( 5000 )
8686 . getEditorValue ( ( content ) => {
@@ -93,7 +93,7 @@ module.exports = {
9393 . setSolidityCompilerVersion ( 'soljson-v0.8.7+commit.e28d00a7.js' )
9494 . waitForElementPresent ( {
9595 selector : `//*[@data-id='compilerloaded' and @data-version='soljson-v0.8.7+commit.e28d00a7.js']` ,
96- locateStrategy : 'xpath' , timeout : 60000 } )
96+ locateStrategy : 'xpath' , timeout : 120000 } )
9797 . clickLaunchIcon ( 'filePanel' )
9898 . click ( 'li[data-id="treeViewLitreeViewItemREADME.txt"' )
9999 . addFile ( 'Untitled9.sol' , sources [ 8 ] [ 'Untitled9.sol' ] )
@@ -120,7 +120,7 @@ module.exports = {
120120 . setSolidityCompilerVersion ( 'soljson-v0.8.7+commit.e28d00a7.js' )
121121 . waitForElementPresent ( {
122122 selector : `//*[@data-id='compilerloaded' and @data-version='soljson-v0.8.7+commit.e28d00a7.js']` ,
123- locateStrategy : 'xpath' , timeout : 60000 } )
123+ locateStrategy : 'xpath' , timeout : 120000 } )
124124 . clickLaunchIcon ( 'filePanel' )
125125 . click ( 'li[data-id="treeViewLitreeViewItemREADME.txt"' )
126126 . addFile ( 'package.json' , sources [ 9 ] [ 'package.json' ] )
@@ -148,7 +148,7 @@ module.exports = {
148148 . setSolidityCompilerVersion ( 'soljson-v0.8.30+commit.73712a01.js' )
149149 . waitForElementPresent ( {
150150 selector : `//*[@data-id='compilerloaded' and @data-version='soljson-v0.8.30+commit.73712a01.js']` ,
151- locateStrategy : 'xpath' , timeout : 60000 } )
151+ locateStrategy : 'xpath' , timeout : 120000 } )
152152 . clickLaunchIcon ( 'filePanel' )
153153 . click ( 'li[data-id="treeViewLitreeViewItemREADME.txt"' )
154154 . addFile ( 'remappings.txt' , sources [ 10 ] [ 'remappings.txt' ] )
@@ -172,8 +172,8 @@ module.exports = {
172172 . waitForElementVisible ( '[data-id="modalDialogCustomPromptTextClone"]' )
173173 . setValue ( '[data-id="modalDialogCustomPromptTextClone"]' , 'https://github.com/remix-project-org/remix-reward' )
174174 . click ( '[data-id="topbarModal-modal-footer-ok-react"]' )
175- . waitForElementPresent ( '.fa-spinner' , 60000 )
176- . waitForElementNotPresent ( '.fa-spinner' , 60000 )
175+ . waitForElementPresent ( '.fa-spinner' , 120000 )
176+ . waitForElementNotPresent ( '.fa-spinner' , 120000 )
177177 . waitForElementVisible ( '*[data-id="treeViewLitreeViewItem.git"]' )
178178 . waitForElementContainsText ( '[data-id="workspacesSelect"]' , 'remix-reward' )
179179 . clickLaunchIcon ( 'solidity' )
0 commit comments