fix highlight e2e

pull/5066/head
aniket-engg 1 month ago committed by yann300
parent 16c45865a2
commit 670d5965c7
  1. 10
      apps/remix-ide-e2e/src/tests/editor.test.ts

@ -107,9 +107,9 @@ module.exports = {
.addFile('removeAllSourcehighlightScript.js', removeAllSourcehighlightScript)
.openFile('sourcehighlight.js')
.executeScriptInTerminal('remix.exeCurrent()')
.scrollToLine(32)
.waitForElementPresent('.highlightLine33', 60000)
.checkElementStyle('.highlightLine33', 'background-color', 'rgb(52, 152, 219)')
.scrollToLine(33)
.waitForElementPresent('.highlightLine34', 60000)
.checkElementStyle('.highlightLine34', 'background-color', 'rgb(52, 152, 219)')
.scrollToLine(40)
.waitForElementPresent('.highlightLine41', 60000)
.checkElementStyle('.highlightLine41', 'background-color', 'rgb(52, 152, 219)')
@ -172,11 +172,11 @@ const sourcehighlightScript = {
await remix.call('fileManager', 'open', 'contracts/3_Ballot.sol')
const pos = {
start: {
line: 32,
line: 33,
column: 3
},
end: {
line: 32,
line: 33,
column: 20
}
}

Loading…
Cancel
Save