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
dd557002
Commit
dd557002
authored
Mar 01, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test
parent
ee58d2f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
5 deletions
+15
-5
vmdebugger.js
remix-debugger/test-browser/test/vmdebugger.js
+15
-5
No files found.
remix-debugger/test-browser/test/vmdebugger.js
View file @
dd557002
...
...
@@ -39,8 +39,13 @@ function loadTraceNotFound (browser) {
.
setValue
(
'#txinput'
,
'0x20ef65b8b186ca942zcccd634f37074dde49b541c27994fc7596740ef44cfd51'
)
.
click
(
'#load'
)
.
click
(
'#txinfo .title'
)
.
click
(
'#txinfo .dropdownpanel .btn'
)
.
expect
.
element
(
'#txinfo .dropdownpanel .dropdownrawcontent'
).
text
.
to
.
contain
(
'<not found>'
)
.
execute
(
function
()
{
return
document
.
querySelector
(
'#txinfo .dropdownpanel .dropdownrawcontent'
).
innerHTML
},
[],
function
(
result
)
{
if
(
result
.
value
.
indexOf
(
'<not found>'
)
===
-
1
)
{
browser
.
assert
.
fail
(
' txinput panel does not contain <not found> '
,
'info about error'
,
''
)
}
})
return
browser
}
...
...
@@ -50,9 +55,14 @@ function loadTrace (browser) {
.
setValue
(
'#txinput'
,
'0x20ef65b8b186ca942fcccd634f37074dde49b541c27994fc7596740ef44cfd51'
)
.
click
(
'#load'
)
.
click
(
'#txinfo .title'
)
.
click
(
'#txinfo .dropdownpanel .btn'
)
.
expect
.
element
(
'#txinfo .dropdownpanel .dropdownrawcontent'
).
text
.
to
.
contain
(
'0x20ef65b8b186ca942fcccd634f37074dde49b541c27994fc7596740ef44cfd51'
)
browser
.
click
(
'#unload'
)
.
execute
(
function
()
{
return
document
.
querySelector
(
'#txinfo .dropdownpanel .dropdownrawcontent'
).
innerHTML
},
[],
function
(
result
)
{
if
(
result
.
value
.
indexOf
(
'0x20ef65b8b186ca942fcccd634f37074dde49b541c27994fc7596740ef44cfd51'
)
===
-
1
)
{
browser
.
assert
.
fail
(
' txinput panel does not contain 0x20ef65b8b186ca942fcccd634f37074dde49b541c27994fc7596740ef44cfd51 '
,
'info about error'
,
''
)
}
})
.
click
(
'#unload'
)
.
waitForElementNotVisible
(
'#vmdebugger'
,
1000
)
return
browser
}
...
...
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