Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
a4db1dd5
Commit
a4db1dd5
authored
Feb 16, 2020
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e tests: OpenZeppelin moved to ^pragma 0.6.0
parent
5cc88e47
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
remixd.js
test-browser/tests/remixd.js
+1
-0
solidityImport.js
test-browser/tests/solidityImport.js
+3
-1
No files found.
test-browser/tests/remixd.js
View file @
a4db1dd5
...
@@ -65,6 +65,7 @@ module.exports = {
...
@@ -65,6 +65,7 @@ module.exports = {
.
clickLaunchIcon
(
'fileExplorers'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
addFile
(
'test_import_node_modules_with_github_import.sol'
,
sources
[
4
][
'browser/test_import_node_modules_with_github_import.sol'
])
.
addFile
(
'test_import_node_modules_with_github_import.sol'
,
sources
[
4
][
'browser/test_import_node_modules_with_github_import.sol'
])
.
clickLaunchIcon
(
'solidity'
)
.
clickLaunchIcon
(
'solidity'
)
.
setSolidityCompilerVersion
(
'soljson-v0.6.2+commit.bacdbe57.js'
)
// open-zeppelin moved to pragma ^0.6.0
.
testContracts
(
'test_import_node_modules_with_github_import.sol'
,
sources
[
4
][
'browser/test_import_node_modules_with_github_import.sol'
],
[
'ERC20'
,
'test11'
])
.
testContracts
(
'test_import_node_modules_with_github_import.sol'
,
sources
[
4
][
'browser/test_import_node_modules_with_github_import.sol'
],
[
'ERC20'
,
'test11'
])
.
clickLaunchIcon
(
'pluginManager'
)
.
clickLaunchIcon
(
'pluginManager'
)
.
scrollAndClick
(
'#pluginManager article[id="remixPluginManagerListItem_remixd"] button'
)
.
scrollAndClick
(
'#pluginManager article[id="remixPluginManagerListItem_remixd"] button'
)
...
...
test-browser/tests/solidityImport.js
View file @
a4db1dd5
...
@@ -27,7 +27,7 @@ module.exports = {
...
@@ -27,7 +27,7 @@ module.exports = {
'Test Github Import - from master branch'
:
function
(
browser
)
{
'Test Github Import - from master branch'
:
function
(
browser
)
{
browser
browser
.
setSolidityCompilerVersion
(
'soljson-v0.
5.0+commit.1d4f565a.js'
)
.
setSolidityCompilerVersion
(
'soljson-v0.
6.2+commit.bacdbe57.js'
)
// open-zeppelin moved to pragma ^0.6.0 (master branch
)
.
addFile
(
'Untitled4.sol'
,
sources
[
3
][
'browser/Untitled4.sol'
])
.
addFile
(
'Untitled4.sol'
,
sources
[
3
][
'browser/Untitled4.sol'
])
.
clickLaunchIcon
(
'fileExplorers'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
verifyContracts
([
'test7'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
.
verifyContracts
([
'test7'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
...
@@ -35,6 +35,7 @@ module.exports = {
...
@@ -35,6 +35,7 @@ module.exports = {
'Test Github Import - from other branch'
:
function
(
browser
)
{
'Test Github Import - from other branch'
:
function
(
browser
)
{
browser
browser
.
setSolidityCompilerVersion
(
'soljson-v0.5.0+commit.1d4f565a.js'
)
// switch back to 0.5.0 : release-v2.3.0 branch is not solidity 0.6 compliant
.
addFile
(
'Untitled5.sol'
,
sources
[
4
][
'browser/Untitled5.sol'
])
.
addFile
(
'Untitled5.sol'
,
sources
[
4
][
'browser/Untitled5.sol'
])
.
clickLaunchIcon
(
'fileExplorers'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
verifyContracts
([
'test8'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
.
verifyContracts
([
'test8'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
...
@@ -42,6 +43,7 @@ module.exports = {
...
@@ -42,6 +43,7 @@ module.exports = {
'Test Github Import - no branch specified'
:
function
(
browser
)
{
'Test Github Import - no branch specified'
:
function
(
browser
)
{
browser
browser
.
setSolidityCompilerVersion
(
'soljson-v0.6.2+commit.bacdbe57.js'
)
// open-zeppelin moved to pragma ^0.6.0 (master branch)
.
addFile
(
'Untitled6.sol'
,
sources
[
5
][
'browser/Untitled6.sol'
])
.
addFile
(
'Untitled6.sol'
,
sources
[
5
][
'browser/Untitled6.sol'
])
.
clickLaunchIcon
(
'fileExplorers'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
verifyContracts
([
'test10'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
.
verifyContracts
([
'test10'
,
'ERC20'
,
'SafeMath'
],
{
wait
:
10000
})
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment