|
|
|
@ -64,7 +64,7 @@ module.exports = { |
|
|
|
|
'run Remixd tests #group4': function (browser) { |
|
|
|
|
runTests(browser) |
|
|
|
|
}, |
|
|
|
|
'Import from node_modules #group1': function (browser) { |
|
|
|
|
'Import from node_modules #group1 #flaky': function (browser) { |
|
|
|
|
/* |
|
|
|
|
when a relative import is used (i.e import "openzeppelin-solidity/contracts/math/SafeMath.sol") |
|
|
|
|
remix (as well as truffle) try to resolve it against the node_modules and installed_contracts folder. |
|
|
|
@ -78,7 +78,7 @@ module.exports = { |
|
|
|
|
.setSolidityCompilerVersion('soljson-v0.5.0+commit.1d4f565a.js') |
|
|
|
|
.testContracts('test_import_node_modules.sol', sources[3]['test_import_node_modules.sol'], ['SafeMath']) |
|
|
|
|
}, |
|
|
|
|
'Import from node_modules and reference a github import #group2': function (browser) { |
|
|
|
|
'Import from node_modules and reference a github import #flaky #group2': function (browser) { |
|
|
|
|
browser.waitForElementVisible('#icon-panel', 2000) |
|
|
|
|
.clickLaunchIcon('filePanel') |
|
|
|
|
.addFile('test_import_node_modules_with_github_import.sol', sources[4]['test_import_node_modules_with_github_import.sol']) |
|
|
|
|