diff --git a/package.json b/package.json index 9ebb27902f..460a6631fb 100644 --- a/package.json +++ b/package.json @@ -177,6 +177,7 @@ "nightwatch_local_importFromGist": "nightwatch ./test-browser/tests/importFromGist.js --config nightwatch.js --env chrome ", "nightwatch_local_workspace": "nightwatch ./test-browser/tests/workspace.js --config nightwatch.js --env chrome ", "nightwatch_local_defaultLayout": "nightwatch ./test-browser/tests/defaultLayout.js --config nightwatch.js --env chrome ", + "nightwatch_local_publishContract": "nightwatch ./test-browser/tests/publishContract.js --config nightwatch.js --env chrome ", "onchange": "onchange build/app.js -- npm-run-all lint", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build", "remixd": "remixd -s ./contracts --remix-ide http://127.0.0.1:8080", diff --git a/test-browser/tests/publishContract.js b/test-browser/tests/publishContract.js index 9636d990a9..6abbc18681 100644 --- a/test-browser/tests/publishContract.js +++ b/test-browser/tests/publishContract.js @@ -23,7 +23,7 @@ module.exports = { }) .modalFooterOKClick() }, - 'Publish on Swarm': function (browser) { + 'Publish on Swarm': '' + function (browser) { browser .click('#publishOnSwarm') .getModalBody((value, done) => {