Unverified Commit 0e478cc2 authored by yann300's avatar yann300 Committed by GitHub

Merge pull request #2637 from ethereum/swarm-e2e-tests

Enabled Publish To Swarm Browser Test & Added Fix For ZoKrates Test
parents 6713f691 b3df35f3
......@@ -18,7 +18,7 @@ module.exports = function (browser, callback, url, preloadPlugins = true) {
}
function initModules (browser, callback) {
browser.pause(3000)
browser.pause(5000)
.click('#icon-panel div[plugin="pluginManager"]')
.scrollAndClick('#pluginManager article[id="remixPluginManagerListItem_solidity"] button')
.pause(5000)
......
......@@ -70,6 +70,7 @@ module.exports = {
.pause(5000)
.frame(0)
.useXpath().click("//span[text()='Compile']")
.pause(2000)
.frameParent()
.useCss().waitForElementVisible('*[data-id="modalDialogContainer"]')
.assert.containsText('*[data-id="permissionHandlerMessage"]', 'ZOKRATES" WOULD LIKE TO ACCESS "FILE MANAGER" :')
......
......@@ -23,7 +23,7 @@ module.exports = {
})
.modalFooterOKClick()
},
'Publish on Swarm': '' + function (browser) {
'Publish on Swarm': function (browser) {
browser
.click('#publishOnSwarm')
.getModalBody((value, done) => {
......
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