Update failing tests

pull/5370/head
ioedeveloper 5 years ago committed by yann300
parent 099b52b421
commit 7aa2f00763
  1. 4
      test-browser/tests/fileExplorer.js
  2. 3
      test-browser/tests/generalSettings.js

@ -84,10 +84,10 @@ module.exports = {
.waitForElementVisible('*[data-id="modalDialogContainer"]')
.modalFooterOKClick()
.pause(2000)
.switchBrowserTab(1)
.perform((done) => {
if (runtimeBrowser === 'chrome') {
browser.assert.urlContains('https://gist.github.com')
browser.switchBrowserTab(2)
.assert.urlContains('https://gist.github.com')
}
done()
})

@ -23,8 +23,7 @@ module.exports = {
.waitForElementVisible('*[data-id="settingsTabGitterChannelButton"]')
.click('*[data-id="settingsTabGitterChannelButton"]')
.pause(2000)
.switchBrowserTab(1)
.perform((done) => { if (runtimeBrowser === 'chrome') { browser.assert.urlContains('https://gitter.im/ethereum/remix') } done() })
.perform((done) => { if (runtimeBrowser === 'chrome') { browser.switchBrowserTab(2).assert.urlContains('https://gitter.im/ethereum/remix') } done() })
},
'Should activate `generate contract metadata`': function (browser) {

Loading…
Cancel
Save