hover test fix ff

editorcontextDummy
filip mertens 2 years ago
parent 451d1f1024
commit 3e05e165d1
  1. 2
      apps/remix-ide-e2e/src/tests/editorHoverContext.test.ts

@ -82,7 +82,7 @@ module.exports = {
checkEditorHoverContent(browser, path, expectedContent, 0) checkEditorHoverContent(browser, path, expectedContent, 0)
}, },
'Should show hover over struct definition in editor #group1': function (browser: NightwatchBrowser) { '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 path = "//*[@class='view-line' and contains(.,'Voter') and contains(.,'struct')]//span//span[contains(.,'Voter')]"
const expectedContent = 'StructDefinition' const expectedContent = 'StructDefinition'
checkEditorHoverContent(browser, path, expectedContent) checkEditorHoverContent(browser, path, expectedContent)

Loading…
Cancel
Save