From 3e05e165d14bfc1431abaa698f13d32c8c8789b9 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Fri, 15 Jul 2022 13:07:17 +0200 Subject: [PATCH] hover test fix ff --- apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts b/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts index 8cfb9e033d..db86224b11 100644 --- a/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts +++ b/apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts @@ -82,7 +82,7 @@ module.exports = { checkEditorHoverContent(browser, path, expectedContent, 0) }, 'Should show hover over struct definition in editor #group1': function (browser: NightwatchBrowser) { - browser.scrollToLine(13) + browser.scrollToLine(5) const path = "//*[@class='view-line' and contains(.,'Voter') and contains(.,'struct')]//span//span[contains(.,'Voter')]" const expectedContent = 'StructDefinition' checkEditorHoverContent(browser, path, expectedContent)