diff --git a/package.json b/package.json index d8f1ba481a..460a6631fb 100644 --- a/package.json +++ b/package.json @@ -172,8 +172,9 @@ "nightwatch_local_specialFunctions": "nightwatch ./test-browser/tests/specialFunctions.js --config nightwatch.js --env chrome ", "nightwatch_local_solidityUnittests": "nightwatch ./test-browser/tests/solidityUnittests.js --config nightwatch.js --env chrome ", "nightwatch_local_remixd": "nightwatch ./test-browser/tests/remixd.js --config nightwatch.js --env chrome ", - "nightwatch_local_console": "nightwatch ./test-browser/tests/console.js --config nightwatch.js --env chrome ", + "nightwatch_local_terminal": "nightwatch ./test-browser/tests/terminal.js --config nightwatch.js --env chrome ", "nightwatch_local_gist": "nightwatch ./test-browser/tests/gist.js --config nightwatch.js --env chrome ", + "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 ", diff --git a/src/app/panels/terminal.js b/src/app/panels/terminal.js index 40f3635359..f9ea36f932 100644 --- a/src/app/panels/terminal.js +++ b/src/app/panels/terminal.js @@ -113,13 +113,14 @@ class Terminal extends Plugin { render () { var self = this if (self._view.el) return self._view.el - self._view.journal = yo`
` + self._view.journal = yo`` self._view.input = yo` { this.focus() }} onpaste=${paste} onkeydown=${change}> ` self._view.input.setAttribute('spellcheck', 'false') self._view.input.setAttribute('contenteditable', 'true') self._view.input.setAttribute('id', 'terminalCliInput') + self._view.input.setAttribute('data-id', 'terminalCliInput') self._view.input.innerText = '\n' self._view.cli = yo` diff --git a/src/app/ui/auto-complete-popup.js b/src/app/ui/auto-complete-popup.js index e87129d6ab..2163e83143 100644 --- a/src/app/ui/auto-complete-popup.js +++ b/src/app/ui/auto-complete-popup.js @@ -41,7 +41,7 @@ class AutoCompletePopup {