|
|
@ -92,9 +92,13 @@ module.exports = { |
|
|
|
.openFile('sourcehighlight.js') |
|
|
|
.openFile('sourcehighlight.js') |
|
|
|
.executeScript('remix.exeCurrent()') |
|
|
|
.executeScript('remix.exeCurrent()') |
|
|
|
.editorScroll('down', 60) |
|
|
|
.editorScroll('down', 60) |
|
|
|
|
|
|
|
.pause(5000) |
|
|
|
.waitForElementPresent('.highlightLine32', 60000) |
|
|
|
.waitForElementPresent('.highlightLine32', 60000) |
|
|
|
|
|
|
|
.pause(5000) |
|
|
|
.checkElementStyle('.highlightLine32', 'background-color', 'rgb(8, 108, 181)') |
|
|
|
.checkElementStyle('.highlightLine32', 'background-color', 'rgb(8, 108, 181)') |
|
|
|
|
|
|
|
.pause(5000) |
|
|
|
.waitForElementPresent('.highlightLine40', 60000) |
|
|
|
.waitForElementPresent('.highlightLine40', 60000) |
|
|
|
|
|
|
|
.pause(5000) |
|
|
|
.checkElementStyle('.highlightLine40', 'background-color', 'rgb(8, 108, 181)') |
|
|
|
.checkElementStyle('.highlightLine40', 'background-color', 'rgb(8, 108, 181)') |
|
|
|
.waitForElementPresent('.highlightLine50', 60000) |
|
|
|
.waitForElementPresent('.highlightLine50', 60000) |
|
|
|
.checkElementStyle('.highlightLine50', 'background-color', 'rgb(8, 108, 181)') |
|
|
|
.checkElementStyle('.highlightLine50', 'background-color', 'rgb(8, 108, 181)') |
|
|
|