diff --git a/apps/remix-ide/test-browser/commands/verifyContracts.js b/apps/remix-ide/test-browser/commands/verifyContracts.js index 2db39c2186..bb2bf5ce26 100644 --- a/apps/remix-ide/test-browser/commands/verifyContracts.js +++ b/apps/remix-ide/test-browser/commands/verifyContracts.js @@ -25,7 +25,7 @@ function getCompiledContracts (browser, opts, callback) { .pause(2000) .click('*[data-id="treeViewDivcompiler"]') .waitForElementVisible('*[data-id="treeViewLicompiler/version"]') - .assert.containsText('*[data-id="treeViewLicompiler/version"]', `version:\n${opts.version}`) + .assert.containsText('*[data-id="treeViewLicompiler/version"]', `version:\n ${opts.version}`) .perform(done) } else done() }) diff --git a/apps/remix-ide/test-browser/tests/compiler_api.test.js b/apps/remix-ide/test-browser/tests/compiler_api.test.js index d38f7b64b7..5f3e2d7d24 100644 --- a/apps/remix-ide/test-browser/tests/compiler_api.test.js +++ b/apps/remix-ide/test-browser/tests/compiler_api.test.js @@ -20,7 +20,7 @@ module.exports = { .addFile('test_jsCompile.js', { content: jsCompile }) .executeScript('remix.exeCurrent()') .pause(5000) - .journalChildIncludes('"languageversion": "0.6.8+commit.0bbfe453"') + .journalChildIncludes(`version: '0.6.8+commit.0bbfe453'`) }, 'Should update the compiler configuration with "setCompilerConfig" API': function (browser) { @@ -29,7 +29,7 @@ module.exports = { .executeScript('remix.exeCurrent()') .pause(5000) .addFile('test_updateConfiguration.sol', { content: simpleContract }) - .verifyContracts(['StorageTestUpdateConfiguration'], {wait: 5000, version: '0.6.8+commit.0bbfe453'}) + .verifyContracts(['StorageTestUpdateConfiguration'], {wait: 5000, version: '0.6.6+commit.6c089d02'}) .end() }, diff --git a/package.json b/package.json index 921694aea3..92423e4080 100644 --- a/package.json +++ b/package.json @@ -83,6 +83,9 @@ "nightwatch_local_fileExplorer": "nightwatch ./apps/remix-ide/test-browser/tests/fileExplorer.test.js --config apps/remix-ide/nightwatch.js --env chrome ", "nightwatch_local_debugger": "nightwatch ./apps/remix-ide/test-browser/tests/debugger.test.js --config apps/remix-ide/nightwatch.js --env chrome ", "nightwatch_local_editor": "nightwatch ./apps/remix-ide/test-browser/tests/editor.test.js --config apps/remix-ide/nightwatch.js --env chrome ", + "nightwatch_local_compiler": "nightwatch ./apps/remix-ide/test-browser/tests/compiler_api.test.js --config apps/remix-ide/nightwatch.js --env chrome ", + "nightwatch_local_txListener": "nightwatch ./apps/remix-ide/test-browser/tests/txListener.test.js --config apps/remix-ide/nightwatch.js --env chrome ", + "nightwatch_local_fileManager": "nightwatch ./apps/remix-ide/test-browser/tests/fileManager_api.test.js --config apps/remix-ide/nightwatch.js --env chrome ", "nightwatch_local_runAndDeploy": "nightwatch ./apps/remix-ide/test-browser/tests/runAndDeploy.js --config apps/remix-ide/nightwatch.js --env chrome-runAndDeploy ", "onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint", "prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build:libs build",