Commit e1c3972b authored by ioedeveloper's avatar ioedeveloper Committed by yann300

Update failing tests

parent 678e1f9c
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment