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