From f59280a4d0934c03e68379e4b67add5196746359 Mon Sep 17 00:00:00 2001 From: yann300 Date: Thu, 23 Nov 2023 11:36:44 +0100 Subject: [PATCH] fix e2e --- apps/remix-ide-e2e/src/tests/terminal.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide-e2e/src/tests/terminal.test.ts b/apps/remix-ide-e2e/src/tests/terminal.test.ts index 312e71a372..a9db2b5ba4 100644 --- a/apps/remix-ide-e2e/src/tests/terminal.test.ts +++ b/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)