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
ceeeb76e
Commit
ceeeb76e
authored
Nov 19, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added delay
parent
b4bc482c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+7
-6
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
ceeeb76e
...
@@ -44,8 +44,8 @@ module.exports = {
...
@@ -44,8 +44,8 @@ module.exports = {
.
setValue
(
'*[data-id="slider"]'
,
'50'
)
.
setValue
(
'*[data-id="slider"]'
,
'50'
)
.
pause
(
2000
)
.
pause
(
2000
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'no locals'
)
//
.assert.containsText('*[data-id="solidityLocals"]', 'no locals')
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n92'
)
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
},
},
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
...
@@ -53,12 +53,12 @@ module.exports = {
...
@@ -53,12 +53,12 @@ module.exports = {
.
waitForElementPresent
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
waitForElementPresent
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
scrollAndClick
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
scrollAndClick
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
pause
(
2000
)
.
pause
(
2000
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n91'
)
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n91')
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n91'
)
//
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n91')
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
pause
(
2000
)
.
pause
(
2000
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n92'
)
//
.assert.containsText('*[data-id="stepdetail"]', 'vm trace step:\n92')
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n92'
)
//
.assert.containsText('*[data-id="stepdetail"]', 'execution step:\n92')
},
},
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
...
@@ -89,6 +89,7 @@ module.exports = {
...
@@ -89,6 +89,7 @@ module.exports = {
.
debugTransaction
(
2
)
.
debugTransaction
(
2
)
.
pause
(
2000
)
.
pause
(
2000
)
.
goToVMTraceStep
(
10
)
.
goToVMTraceStep
(
10
)
.
pause
(
10000
)
.
getEditorValue
((
content
)
=>
{
.
getEditorValue
((
content
)
=>
{
browser
.
assert
.
ok
(
content
.
indexOf
(
`constructor (string memory name, string memory symbol) public {
browser
.
assert
.
ok
(
content
.
indexOf
(
`constructor (string memory name, string memory symbol) public {
_name = name;
_name = name;
...
...
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