@@ -15,7 +15,7 @@ module.exports = {
1515 browser . testContracts ( 'Untitled.sol' , sources [ 0 ] [ 'Untitled.sol' ] , [ 'TestContract' ] )
1616 . clickLaunchIcon ( 'udapp' )
1717 . selectAccount ( '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c' ) // this account will be used for this test suite
18- . click ( '.udapp_contractActionsContainerSingle > button ' )
18+ . click ( '.udapp_contractActionsContainerSingle > div ' )
1919 . clickInstance ( 0 )
2020 . clickFunction ( 'f - transact (not payable)' )
2121 . testFunction ( 'last' ,
@@ -40,7 +40,7 @@ module.exports = {
4040 'Test Complex Return Values #group1' : function ( browser : NightwatchBrowser ) {
4141 browser . testContracts ( 'returnValues.sol' , sources [ 1 ] [ 'returnValues.sol' ] , [ 'testReturnValues' ] )
4242 . clickLaunchIcon ( 'udapp' )
43- . click ( '.udapp_contractActionsContainerSingle > button ' )
43+ . click ( '.udapp_contractActionsContainerSingle > div ' )
4444 . clickInstance ( 0 )
4545 . clickFunction ( 'retunValues1 - transact (not payable)' )
4646 . testFunction ( 'last' ,
@@ -84,7 +84,7 @@ module.exports = {
8484 'Test Complex Input Values #group2' : function ( browser : NightwatchBrowser ) {
8585 browser . testContracts ( 'inputValues.sol' , sources [ 2 ] [ 'inputValues.sol' ] , [ 'test' ] )
8686 . clickLaunchIcon ( 'udapp' )
87- . click ( '.udapp_contractActionsContainerSingle > button ' )
87+ . click ( '.udapp_contractActionsContainerSingle > div ' )
8888 . clickInstance ( 0 )
8989 . clickFunction ( 'inputValue1 - transact (not payable)' , { types : 'uint256 _u, int256 _i, string _str' , values : '"2343242", "-4324324", "string _ string _ string _ string _ string _ string _ string _ string _ string _ string _"' } )
9090 . testFunction ( 'last' ,
@@ -129,15 +129,15 @@ module.exports = {
129129 browser . testContracts ( 'eventFunctionInput.sol' , sources [ 3 ] [ 'eventFunctionInput.sol' ] , [ 'C' ] )
130130 . clickLaunchIcon ( 'udapp' )
131131 . selectAccount ( '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c' ) // this account will be used for this test suite
132- . click ( '.udapp_contractActionsContainerSingle > button ' )
132+ . click ( '.udapp_contractActionsContainerSingle > div ' )
133133 . clickInstance ( 0 )
134134 . click ( '*[data-id="deployAndRunClearInstances"]' )
135135 } ,
136136
137137 'Should use scientific notation as parameters #group2' : function ( browser : NightwatchBrowser ) {
138138 browser . testContracts ( 'scientific_notation.sol' , sources [ 8 ] [ 'scientific_notation.sol' ] , [ 'test' ] )
139139 . clickLaunchIcon ( 'udapp' )
140- . click ( '.udapp_contractActionsContainerSingle > button ' )
140+ . click ( '.udapp_contractActionsContainerSingle > div ' )
141141 . clickInstance ( 0 )
142142 . clickFunction ( 'inputValue1 - transact (not payable)' , { types : 'uint256 _u, int256 _i' , values : '"101e3", "-1.13e4"' } )
143143 . waitForElementContainsText ( '*[data-id="terminalJournal"]' , '101000' , 60000 )
@@ -154,7 +154,7 @@ module.exports = {
154154 browser . testContracts ( 'customError.sol' , sources [ 4 ] [ 'customError.sol' ] , [ 'C' ] )
155155 . clickLaunchIcon ( 'udapp' )
156156 . selectAccount ( '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c' ) // this account will be used for this test suite
157- . click ( '.udapp_contractActionsContainerSingle > button ' )
157+ . click ( '.udapp_contractActionsContainerSingle > div ' )
158158 . clickInstance ( 0 )
159159 . clickFunction ( 'g - transact (not payable)' )
160160 . journalLastChildIncludes ( 'Error provided by the contract:' )
@@ -176,7 +176,7 @@ module.exports = {
176176 . clearTransactions ( )
177177 . switchEnvironment ( 'vm-london' ) // switch to London fork
178178 . selectAccount ( '0xCA35b7d915458EF540aDe6068dFe2F44E8fa733c' ) // this account will be used for this test suite
179- . click ( '.udapp_contractActionsContainerSingle > button ' )
179+ . click ( '.udapp_contractActionsContainerSingle > div ' )
180180 . clickInstance ( 0 )
181181 . clickFunction ( 'g - transact (not payable)' )
182182 . journalLastChildIncludes ( 'Error provided by the contract:' )
@@ -194,7 +194,7 @@ module.exports = {
194194 'Should Compile and Deploy a contract which define a custom error in a library, the error should be logged in the terminal #group3' : function ( browser : NightwatchBrowser ) {
195195 browser . testContracts ( 'customErrorLib.sol' , sources [ 5 ] [ 'customErrorLib.sol' ] , [ 'D' ] )
196196 . clickLaunchIcon ( 'udapp' )
197- . click ( '.udapp_contractActionsContainerSingle > button ' )
197+ . click ( '.udapp_contractActionsContainerSingle > div ' )
198198 . clickInstance ( 1 )
199199 . clickFunction ( 'h - transact (not payable)' )
200200 . journalLastChildIncludes ( 'Error provided by the contract:' )
0 commit comments