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
007b15f9
Commit
007b15f9
authored
Nov 19, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Debug ci
parent
372e29e1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+6
-6
solidityImport.test.ts
apps/remix-ide-e2e/src/tests/solidityImport.test.ts
+1
-0
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
007b15f9
...
...
@@ -44,8 +44,8 @@ module.exports = {
.
setValue
(
'*[data-id="slider"]'
,
'50'
)
.
pause
(
2000
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
//
.assert.containsText('*[data-id="solidityLocals"]', 'no locals')
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'no locals'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n92'
)
},
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
@@ -53,12 +53,12 @@ module.exports = {
.
waitForElementPresent
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
scrollAndClick
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
pause
(
2000
)
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n91')
//
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n91')
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n91'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n91'
)
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
pause
(
2000
)
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
//
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n92')
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n92'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n92'
)
},
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
apps/remix-ide-e2e/src/tests/solidityImport.test.ts
View file @
007b15f9
...
...
@@ -69,6 +69,7 @@ module.exports = {
.
waitForElementPresent
(
'[data-id="compiledErrors"] div:nth-child(3)'
)
.
click
(
'[data-id="compiledErrors"] div:nth-child(3)'
)
// select the second warning which point to ERC20 code
.
getEditorValue
((
content
)
=>
{
console
.
log
(
'content: '
,
content
)
browser
.
assert
.
ok
(
content
.
indexOf
(
`contract ERC20 is Context, IERC20`
)
!=
-
1
,
'current displayed content should be from the ERC20 source code'
)
})
...
...
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