pull/4255/head
yann300 1 year ago
parent 3b91dfd2ce
commit f59280a4d0
  1. 4
      apps/remix-ide-e2e/src/tests/terminal.test.ts

@ -342,7 +342,7 @@ module.exports = {
.addFile('test.sol', { content: script })
.scrollToLine(3)
const path = "//*[@class='view-line' and contains(.,'runSomething') and contains(.,'view')]//span//span[contains(.,'(')]"
const pathRunFunction = `//li//*[@aria-label='Run the free function "runSomething".']`
const pathRunFunction = `//li//*[@aria-label='Run the free function "runSomething"']`
browser.waitForElementVisible('#editorView')
.useXpath()
.click(path)
@ -385,7 +385,7 @@ module.exports = {
.addFile('test_mainnet.sol', { content: script })
.scrollToLine(15)
const path = "//*[@class='view-line' and contains(.,'resolve') and contains(.,'view')]//span//span[contains(.,'(')]"
const pathRunFunction = `//li//*[@aria-label='Run the free function "resolve".']`
const pathRunFunction = `//li//*[@aria-label='Run the free function "resolve"']`
browser.waitForElementVisible('#editorView')
.useXpath()
.click(path)

Loading…
Cancel
Save