go to right line

pull/5370/head
filip mertens 2 years ago
parent b932844e7c
commit aced3c8ef4
  1. 2
      apps/remix-ide-e2e/src/tests/editorAutoComplete.test.ts

@ -22,7 +22,7 @@ module.exports = {
.openFile(examples.testContract.name) .openFile(examples.testContract.name)
}, },
'Should put cursor in the () of the function #group2': function (browser: NightwatchBrowser) { 'Should put cursor in the () of the function #group2': function (browser: NightwatchBrowser) {
browser.scrollToLine(18) browser.scrollToLine(36)
const path = "//*[@class='view-line' and contains(.,'myprivatefunction') and contains(.,'private')]//span//span[contains(.,'(')]" const path = "//*[@class='view-line' and contains(.,'myprivatefunction') and contains(.,'private')]//span//span[contains(.,'(')]"
browser.waitForElementVisible('#editorView') browser.waitForElementVisible('#editorView')
.useXpath() .useXpath()

Loading…
Cancel
Save