diff --git a/apps/remix-ide-e2e/src/tests/editor.test.ts b/apps/remix-ide-e2e/src/tests/editor.test.ts index 00d3292fef..b770abe0de 100644 --- a/apps/remix-ide-e2e/src/tests/editor.test.ts +++ b/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 } }