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
2a50e5da
Commit
2a50e5da
authored
Jan 18, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix tests
parent
b874fb30
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
init.js
test-browser/init.js
+2
-2
vmdebugger.js
test-browser/vmdebugger.js
+1
-1
No files found.
test-browser/init.js
View file @
2a50e5da
...
...
@@ -128,7 +128,7 @@ browser.fireEvent = function (el, key, times, callback) {
}
function
assertPanel
(
id
,
browser
,
value
)
{
var
selector
=
'.dropdownpanel div.dropdowncontent div'
var
selector
=
'.dropdownpanel div.dropdowncontent div
ul
'
browser
.
execute
(
function
(
id
,
selector
)
{
var
el
=
document
.
getElementById
(
id
.
replace
(
'#'
,
''
).
replace
(
'.'
,
''
))
var
node
=
el
.
querySelector
(
selector
)
...
...
@@ -153,7 +153,7 @@ function assertPanel (id, browser, value) {
}
function
assertPanelValue
(
id
,
browser
,
index
,
value
)
{
var
selector
=
id
+
' .dropdownpanel .dropdowncontent div'
var
selector
=
id
+
' .dropdownpanel .dropdowncontent div
ul
'
browser
.
execute
(
function
(
id
,
index
)
{
var
node
=
document
.
querySelector
(
id
)
return
node
.
children
[
index
].
innerText
...
...
test-browser/vmdebugger.js
View file @
2a50e5da
...
...
@@ -63,7 +63,7 @@ function panels (browser) {
.
setValue
(
'#txinput'
,
'0x20ef65b8b186ca942fcccd634f37074dde49b541c27994fc7596740ef44cfd51'
)
.
click
(
'#load'
)
.
click
(
'#nextcall'
)
.
assertStack
([
'0:0x
1:0x602:0x653:0x384:0x55
5:0x60fe47b1'
])
.
assertStack
([
'0:0x
'
,
'1:0x60'
,
'2:0x65'
,
'3:0x38'
,
'4:0x55'
,
'
5:0x60fe47b1'
])
.
assertStorageChanges
([
'0x00:0x38'
])
.
assertCallData
([
'0:0x60fe47b10000000000000000000000000000000000000000000000000000000000000038'
])
.
assertCallStack
([
'0:0x0d3a18d64dfe4f927832ab58d6451cecc4e517c5'
])
...
...
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