Merge pull request #5491 from ethereum/urltest

url test activate iframe
pull/5518/head
bunsenstraat 1 month ago committed by GitHub
commit 05bead9c62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 14
      apps/remix-ide-e2e/src/tests/url.test.ts

@ -340,5 +340,17 @@ module.exports = {
.getEditorValue((content) => {
browser.assert.ok(content.indexOf('contract Lock {') !== -1, 'content does contain "contract Lock {"')
})
}
},
'Load remix with an iframe plugin #group4': function (browser: NightwatchBrowser) {
browser
.url('http://127.0.0.1:8080?activate=contract-verification')
.refreshPage()
.waitForElementVisible(
{
selector: '//*[contains(@data-id, "sidePanelSwapitTitle") and text()="Contract Verification"]',
locateStrategy: 'xpath'
}
)
}
}

Loading…
Cancel
Save