fix perform call

pull/5370/head
yann300 2 years ago
parent 138ba511b3
commit 8c5a89c35f
  1. 9
      apps/remix-ide-e2e/src/tests/remixd.test.ts

@ -73,8 +73,9 @@ module.exports = {
.perform((done) => { .perform((done) => {
runTests(browser, done) runTests(browser, done)
}) })
.perform(() => { .perform((done) => {
remixd.kill() remixd.kill()
done()
}) })
}, },
'Import from node_modules #group1': function (browser) { 'Import from node_modules #group1': function (browser) {
@ -95,8 +96,9 @@ module.exports = {
.clickLaunchIcon('solidity') .clickLaunchIcon('solidity')
.setSolidityCompilerVersion('soljson-v0.5.0+commit.1d4f565a.js') .setSolidityCompilerVersion('soljson-v0.5.0+commit.1d4f565a.js')
.testContracts('test_import_node_modules.sol', sources[3]['test_import_node_modules.sol'], ['SafeMath']) .testContracts('test_import_node_modules.sol', sources[3]['test_import_node_modules.sol'], ['SafeMath'])
.perform(() => { .perform((done) => {
remixd.kill() remixd.kill()
done()
}) })
}, },
'Import from node_modules and reference a github import #group2': function (browser) { 'Import from node_modules and reference a github import #group2': function (browser) {
@ -112,8 +114,9 @@ module.exports = {
.clickLaunchIcon('solidity') .clickLaunchIcon('solidity')
.setSolidityCompilerVersion('soljson-v0.8.0+commit.c7dfd78e.js') // open-zeppelin moved to pragma ^0.8.0 .setSolidityCompilerVersion('soljson-v0.8.0+commit.c7dfd78e.js') // open-zeppelin moved to pragma ^0.8.0
.testContracts('test_import_node_modules_with_github_import.sol', sources[4]['test_import_node_modules_with_github_import.sol'], ['ERC20', 'test11']) .testContracts('test_import_node_modules_with_github_import.sol', sources[4]['test_import_node_modules_with_github_import.sol'], ['ERC20', 'test11'])
.perform(() => { .perform((done) => {
remixd.kill() remixd.kill()
done()
}) })
}, },
'Static Analysis run with remixd #group3': '' + function (browser) { 'Static Analysis run with remixd #group3': '' + function (browser) {

Loading…
Cancel
Save