Fixed compiler api tests

pull/17/head
ioedeveloper 4 years ago committed by Aniket
parent a8216d432e
commit 9a122c6d34
  1. 4
      apps/remix-ide/test-browser/tests/compiler_api.test.js
  2. 3
      package.json

@ -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()
},

@ -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",

Loading…
Cancel
Save