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
afc6ee30
Commit
afc6ee30
authored
Jul 15, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add e2e
parent
815d5b53
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
url.spec.ts
apps/remix-ide-e2e/src/tests/url.spec.ts
+16
-0
No files found.
apps/remix-ide-e2e/src/tests/url.spec.ts
View file @
afc6ee30
...
...
@@ -45,6 +45,22 @@ module.exports = {
})
},
'Should load the code from URL & code params'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
pause
(
5000
)
.
url
(
'http://127.0.0.1:8080/#optimize=true&runs=300&evmVersion=istanbul&version=soljson-v0.7.4+commit.3f05b770.js&url=https://github.com/ethereum/remix-project/blob/master/apps/remix-ide/contracts/app/solidity/mode.sol&code=cHJhZ21hIHNvbGlkaXR5ID49MC42LjAgPDAuNy4wOwoKaW1wb3J0ICJodHRwczovL2dpdGh1Yi5jb20vT3BlblplcHBlbGluL29wZW56ZXBwZWxpbi1jb250cmFjdHMvYmxvYi9tYXN0ZXIvY29udHJhY3RzL2FjY2Vzcy9Pd25hYmxlLnNvbCI7Cgpjb250cmFjdCBHZXRQYWlkIGlzIE93bmFibGUgewogIGZ1bmN0aW9uIHdpdGhkcmF3KCkgZXh0ZXJuYWwgb25seU93bmVyIHsKICB9Cn0'
)
.
refresh
()
// we do one reload for making sure we already have the default workspace
.
pause
(
5000
)
.
currentWorkspaceIs
(
'code-sample'
)
.
getEditorValue
((
content
)
=>
{
browser
.
assert
.
ok
(
content
.
indexOf
(
'proposals.length = _numProposals;'
)
!==
-
1
,
'code has not been loaded'
)
})
.
openFile
(
'contract-76747f6e19.sol'
)
.
openFile
(
'ethereum/remix-project/apps/remix-ide/contracts/app/solidity/mode.sol'
)
},
'Should load using URL compiler params'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
pause
(
5000
)
...
...
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