Commit b9251e52 authored by ioedeveloper's avatar ioedeveloper

Fixed failing firefox tests

parent 298d58af
......@@ -22,7 +22,7 @@ function clearContent (browser: NightwatchBrowser, cssSelector: string, callback
selection.removeAllRanges()
selection.addRange(range)
}, [cssSelector], function () {
browser.keys(browser.Keys.BACK_SPACE)
browser.sendKeys(cssSelector, browser.Keys.BACK_SPACE)
.pause(5000)
callback()
})
......
......@@ -10,7 +10,6 @@ module.exports = {
'Should execution a simple console command': function (browser: NightwatchBrowser) {
browser
.pause(10000)
.waitForElementVisible('*[data-id="terminalCli"]', 10000)
.executeScript('console.log(1 + 1)')
.journalLastChild('2')
......@@ -35,7 +34,6 @@ module.exports = {
'Should execute remix.help() command': function (browser: NightwatchBrowser) {
browser
.waitForElementVisible('*[data-id="terminalCli"]')
.clearEditableContent('*[data-id="terminalCliInput"]')
.executeScript('remix.help()')
.journalChildIncludes('remix.loadgist(id)')
.journalChildIncludes('remix.loadurl(url)')
......
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