@@ -22,7 +22,7 @@ module.exports = {
22
22
} ,
23
23
'Deploy Ballot #group1' : function ( browser : NightwatchBrowser ) {
24
24
browser
25
- . waitForElementVisible ( '*[data-id="remixIdeIconPanel"]' , 10000 )
25
+ . waitForElementVisible ( '*[data-id="remixIdeIconPanel"]' , 60000 )
26
26
. clickLaunchIcon ( 'solidity' )
27
27
. testContracts ( 'Untitled.sol' , sources [ 0 ] [ 'Untitled.sol' ] , [ 'Ballot' ] )
28
28
. clickLaunchIcon ( 'udapp' )
@@ -55,10 +55,10 @@ module.exports = {
55
55
'Debug Ballot / delegate #group1' : function ( browser : NightwatchBrowser ) {
56
56
browser . pause ( 500 )
57
57
. debugTransaction ( 1 )
58
- . waitForElementVisible ( '*[data-id="buttonNavigatorJumpPreviousBreakpoint"]' )
58
+ . waitForElementVisible ( '*[data-id="buttonNavigatorJumpPreviousBreakpoint"]' , 60000 )
59
59
. click ( '*[data-id="buttonNavigatorJumpPreviousBreakpoint"]' )
60
60
. pause ( 2000 )
61
- . waitForElementVisible ( '#stepdetail' )
61
+ . waitForElementVisible ( '#stepdetail' , 60000 )
62
62
. goToVMTraceStep ( 144 )
63
63
. pause ( 2000 )
64
64
. checkVariableDebug ( 'soliditystate' , stateCheck )
@@ -97,16 +97,16 @@ module.exports = {
97
97
. clickLaunchIcon ( 'filePanel' )
98
98
. click ( '*[data-id="workspacesSelect"]' )
99
99
. click ( '*[data-id="workspacecreate"]' )
100
- . waitForElementPresent ( '*[data-id="create-remixDefault"]' )
100
+ . waitForElementPresent ( '*[data-id="create-remixDefault"]' , 60000 )
101
101
. scrollAndClick ( '*[data-id="create-remixDefault"]' )
102
- . waitForElementVisible ( '*[data-id="modalDialogCustomPromptTextCreate"]' )
102
+ . waitForElementVisible ( '*[data-id="modalDialogCustomPromptTextCreate"]' , 60000 )
103
103
. scrollAndClick ( '*[data-id="modalDialogCustomPromptTextCreate"]' )
104
104
. setValue ( '*[data-id="modalDialogCustomPromptTextCreate"]' , 'workspace_remix_default' )
105
105
// eslint-disable-next-line dot-notation
106
106
. execute ( function ( ) { document . querySelector ( '*[data-id="modalDialogCustomPromptTextCreate"]' ) [ 'value' ] = 'workspace_remix_default' } )
107
107
. modalFooterOKClick ( 'TemplatesSelection' )
108
108
. pause ( 1000 )
109
- . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts"]' )
109
+ . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts"]' , 60000 )
110
110
. addFile ( 'contracts/lib/storage/src/Storage.sol' , { content : storageContract } )
111
111
. addFile ( 'remappings.txt' , { content : 'storage=contracts/lib/storage/src' } )
112
112
. addFile ( 'contracts/Retriever.sol' , { content : retrieverContract } )
@@ -145,9 +145,9 @@ module.exports = {
145
145
browser
146
146
. addFile ( 'cf.json' , { content : configFile } )
147
147
. clickLaunchIcon ( 'solidity' )
148
- . waitForElementVisible ( '*[data-id="scConfigExpander"]' )
148
+ . waitForElementVisible ( '*[data-id="scConfigExpander"]' , 60000 )
149
149
. click ( '*[data-id="scConfigExpander"]' )
150
- . waitForElementVisible ( '*[data-id="scFileConfiguration"]' , 10000 )
150
+ . waitForElementVisible ( '*[data-id="scFileConfiguration"]' , 60000 )
151
151
. click ( '*[data-id="scFileConfiguration"]' )
152
152
// the input field behaves badly, it would often not receive the value, so retrying it a few times for now is the best thing to do
153
153
. waitForElementVisible ( {
@@ -170,7 +170,7 @@ module.exports = {
170
170
timeout : 1000
171
171
} )
172
172
173
- . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 10000 )
173
+ . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 60000 )
174
174
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , 'cf.json' )
175
175
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , browser . Keys . ENTER )
176
176
@@ -201,7 +201,7 @@ module.exports = {
201
201
timeout : 1000
202
202
} )
203
203
204
- . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 10000 )
204
+ . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 60000 )
205
205
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , 'cf.json' )
206
206
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , browser . Keys . ENTER )
207
207
}
@@ -234,7 +234,7 @@ module.exports = {
234
234
timeout : 1000
235
235
} )
236
236
237
- . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 10000 )
237
+ . waitForElementVisible ( '*[data-id="scConfigFilePathInput"]' , 60000 )
238
238
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , 'cf.json' )
239
239
. sendKeys ( '*[data-id="scConfigFilePathInput"]' , browser . Keys . ENTER )
240
240
}
@@ -249,12 +249,12 @@ module.exports = {
249
249
browser
250
250
. addFile ( 'sample.yul' , { content : yulSample } )
251
251
. clickLaunchIcon ( 'solidity' )
252
- . waitForElementVisible ( '*[data-id="scConfigExpander"]' )
252
+ . waitForElementVisible ( '*[data-id="scConfigExpander"]' , 60000 )
253
253
. click ( '*[data-id="scManualConfiguration"]' )
254
- . waitForElementVisible ( 'select[id="compilerLanguageSelector"]' , 10000 )
254
+ . waitForElementVisible ( 'select[id="compilerLanguageSelector"]' , 60000 )
255
255
. click ( 'select[id="compilerLanguageSelector"]' )
256
256
. click ( 'select[id="compilerLanguageSelector"] option[value=Yul]' )
257
- . waitForElementContainsText ( '[data-id="compiledContracts"]' , 'Contract' , 65000 )
257
+ . waitForElementContainsText ( '[data-id="compiledContracts"]' , 'Contract' , 60000 )
258
258
. clickLaunchIcon ( 'udapp' )
259
259
. click ( '*[data-id="Deploy - transact (not payable)"]' )
260
260
. waitForElementPresent ( '*[data-id="universalDappUiContractActionWrapper"]' , 60000 )
0 commit comments