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
74b7ffbe
Commit
74b7ffbe
authored
Oct 29, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed failing solidity load more tests
parent
3909eb2c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
selectContract.ts
apps/remix-ide-e2e/src/commands/selectContract.ts
+0
-1
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+4
-4
dropdown-panel.tsx
...mix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx
+1
-1
No files found.
apps/remix-ide-e2e/src/commands/selectContract.ts
View file @
74b7ffbe
...
@@ -16,7 +16,6 @@ class SelectContract extends EventEmitter {
...
@@ -16,7 +16,6 @@ class SelectContract extends EventEmitter {
function
selectContract
(
browser
:
NightwatchBrowser
,
contractName
:
string
,
callback
:
VoidFunction
)
{
function
selectContract
(
browser
:
NightwatchBrowser
,
contractName
:
string
,
callback
:
VoidFunction
)
{
browser
.
clickLaunchIcon
(
'settings'
).
clickLaunchIcon
(
'udapp'
)
browser
.
clickLaunchIcon
(
'settings'
).
clickLaunchIcon
(
'udapp'
)
.
setValue
(
'#runTabView select[class^="contractNames"]'
,
contractName
).
perform
(()
=>
{
.
setValue
(
'#runTabView select[class^="contractNames"]'
,
contractName
).
perform
(()
=>
{
console
.
log
(
'Done!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'
)
callback
()
callback
()
})
})
}
}
...
...
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
74b7ffbe
...
@@ -152,12 +152,12 @@ module.exports = {
...
@@ -152,12 +152,12 @@ module.exports = {
.
waitForElementVisible
(
'*[data-id="slider"]'
)
.
waitForElementVisible
(
'*[data-id="slider"]'
)
.
click
(
'*[data-id="slider"]'
)
.
click
(
'*[data-id="slider"]'
)
.
setValue
(
'*[data-id="slider"]'
,
'5000'
)
.
setValue
(
'*[data-id="slider"]'
,
'5000'
)
.
waitForElementPresent
(
'*[data-id="treeView
Toggle
array"]'
)
.
waitForElementPresent
(
'*[data-id="treeView
DivtreeViewItem
array"]'
)
.
click
(
'*[data-id="treeView
Toggle
array"]'
)
.
click
(
'*[data-id="treeView
DivtreeViewItem
array"]'
)
.
waitForElementPresent
(
'*[data-id="treeViewLoadMore"]'
)
.
waitForElementPresent
(
'*[data-id="treeViewLoadMore"]'
)
.
click
(
'*[data-id="treeViewLoadMore"]'
)
.
click
(
'*[data-id="treeViewLoadMore"]'
)
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'
14
9: 0 uint256'
)
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'9: 0 uint256'
)
.
notContainsText
(
'*[data-id="solidityLocals"]'
,
'1
5
0: 0 uint256'
)
.
notContainsText
(
'*[data-id="solidityLocals"]'
,
'10: 0 uint256'
)
},
},
'Should debug using generated sources'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should debug using generated sources'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
libs/remix-ui/debugger-ui/src/lib/vm-debugger/dropdown-panel.tsx
View file @
74b7ffbe
...
@@ -171,7 +171,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => {
...
@@ -171,7 +171,7 @@ export const DropdownPanel = (props: DropdownPanelProps) => {
<
TreeViewItem
id=
{
`treeViewItem${key}`
}
key=
{
keyPath
}
label=
{
formatSelfFunc
?
formatSelfFunc
(
key
,
data
)
:
formatSelfDefault
(
key
,
data
)
}
onClick=
{
()
=>
handleExpand
(
keyPath
)
}
expand=
{
state
.
expandPath
.
includes
(
keyPath
)
}
>
<
TreeViewItem
id=
{
`treeViewItem${key}`
}
key=
{
keyPath
}
label=
{
formatSelfFunc
?
formatSelfFunc
(
key
,
data
)
:
formatSelfDefault
(
key
,
data
)
}
onClick=
{
()
=>
handleExpand
(
keyPath
)
}
expand=
{
state
.
expandPath
.
includes
(
keyPath
)
}
>
<
TreeView
id=
{
`treeView${key}`
}
key=
{
keyPath
}
>
<
TreeView
id=
{
`treeView${key}`
}
key=
{
keyPath
}
>
{
children
}
{
children
}
{
data
.
hasNext
&&
<
TreeViewItem
id=
{
`treeViewLoadMore`
}
className=
"cursor_pointer"
label=
"Load more"
onClick=
{
()
=>
{
triggerEvent
(
loadMoreEvent
,
[
data
.
cursor
])
}
}
/>
}
{
data
.
hasNext
&&
<
TreeViewItem
id=
{
`treeViewLoadMore`
}
data
-
id=
{
`treeViewLoadMore`
}
className=
"cursor_pointer"
label=
"Load more"
onClick=
{
()
=>
{
triggerEvent
(
loadMoreEvent
,
[
data
.
cursor
])
}
}
/>
}
</
TreeView
>
</
TreeView
>
</
TreeViewItem
>
</
TreeViewItem
>
)
)
...
...
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