@ -92,13 +92,13 @@ module.exports = {
. executeScript ( 'remix.exeCurrent()' )
. executeScript ( 'remix.exeCurrent()' )
. scrollToLine ( 32 )
. scrollToLine ( 32 )
. waitForElementPresent ( '.highlightLine33' , 60000 )
. waitForElementPresent ( '.highlightLine33' , 60000 )
. checkElementStyle ( '.highlightLine33' , 'background-color' , 'rgb(44, 62, 80 )' )
. checkElementStyle ( '.highlightLine33' , 'background-color' , 'rgb(52, 152, 219 )' )
. scrollToLine ( 40 )
. scrollToLine ( 40 )
. waitForElementPresent ( '.highlightLine41' , 60000 )
. waitForElementPresent ( '.highlightLine41' , 60000 )
. checkElementStyle ( '.highlightLine41' , 'background-color' , 'rgb(44, 62, 80 )' )
. checkElementStyle ( '.highlightLine41' , 'background-color' , 'rgb(52, 152, 219 )' )
. scrollToLine ( 50 )
. scrollToLine ( 50 )
. waitForElementPresent ( '.highlightLine51' , 60000 )
. waitForElementPresent ( '.highlightLine51' , 60000 )
. checkElementStyle ( '.highlightLine51' , 'background-color' , 'rgb(44, 62, 80 )' )
. checkElementStyle ( '.highlightLine51' , 'background-color' , 'rgb(52, 152, 219 )' )
} ,
} ,
'Should remove 1 highlight from source code #group1' : '' + function ( browser : NightwatchBrowser ) {
'Should remove 1 highlight from source code #group1' : '' + function ( browser : NightwatchBrowser ) {
@ -111,8 +111,8 @@ module.exports = {
. waitForElementVisible ( 'li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]' )
. waitForElementVisible ( 'li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]' )
. click ( 'li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]' )
. click ( 'li[data-id="treeViewLitreeViewItemcontracts/3_Ballot.sol"]' )
. waitForElementNotPresent ( '.highlightLine33' , 60000 )
. waitForElementNotPresent ( '.highlightLine33' , 60000 )
. checkElementStyle ( '.highlightLine41' , 'background-color' , 'rgb(44, 62, 80 )' )
. checkElementStyle ( '.highlightLine41' , 'background-color' , 'rgb(52, 152, 219 )' )
. checkElementStyle ( '.highlightLine51' , 'background-color' , 'rgb(44, 62, 80 )' )
. checkElementStyle ( '.highlightLine51' , 'background-color' , 'rgb(52, 152, 219 )' )
} ,
} ,
'Should remove all highlights from source code #group1' : function ( browser : NightwatchBrowser ) {
'Should remove all highlights from source code #group1' : function ( browser : NightwatchBrowser ) {