From 515f54b35e53de0451ac9162dbcbd3782aae2e86 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 15 Jul 2022 12:07:11 +0200 Subject: [PATCH] hover ff --- apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts b/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts index 9f32b4119d..7f633cfc06 100644 --- a/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts +++ b/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts @@ -43,6 +43,7 @@ module.exports = { checkEditorHoverContent(browser, path, expectedContent) }, 'Should show hover over function in editor #group1': function (browser: NightwatchBrowser) { + browser.scrollToLine(58) const path: string = "//*[@class='view-line' and contains(.,'giveRightToVote(address') and contains(.,'function') and contains(.,'public')]//span//span[contains(.,'giveRightToVote')]" let expectedContent = 'Estimated execution cost' checkEditorHoverContent(browser, path, expectedContent) @@ -52,6 +53,7 @@ module.exports = { checkEditorHoverContent(browser, path, expectedContent) }, 'Should show hover over var components in editor #group1': function (browser: NightwatchBrowser) { + browser.scrollToLine(37) let path = "//*[@class='view-line' and contains(.,'voters') and contains(.,'weight')]//span//span[contains(.,'voters')]" let expectedContent = 'mapping(address => struct BallotHoverTest.Voter) public voters' checkEditorHoverContent(browser, path, expectedContent, 15)