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
2ce26b5a
Commit
2ce26b5a
authored
Sep 07, 2021
by
aniket-engg
Committed by
Aniket
Sep 08, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
data id added
parent
a0731b26
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
solidityUnittests.spec.ts
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
+3
-3
function-panel.tsx
...mix-ui/debugger-ui/src/lib/vm-debugger/function-panel.tsx
+1
-1
No files found.
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
View file @
2ce26b5a
...
@@ -197,14 +197,14 @@ module.exports = {
...
@@ -197,14 +197,14 @@ module.exports = {
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winnin proposal with return value'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winnin proposal with return value'
,
60000
)
.
click
(
'.fa-bug'
)
.
click
(
'.fa-bug'
)
.
waitForElementContainsText
(
'*[data-id="sidePanelSwapitTitle"]'
,
'DEBUGGER'
,
60000
)
.
waitForElementContainsText
(
'*[data-id="sidePanelSwapitTitle"]'
,
'DEBUGGER'
,
60000
)
.
waitForElementContainsText
(
'*[
id="F
unctionPanel"]'
,
'checkWinningProposal()'
,
60000
)
.
waitForElementContainsText
(
'*[
data-id="f
unctionPanel"]'
,
'checkWinningProposal()'
,
60000
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
.
waitForElementContainsText
(
'*[data-id="solidityLocals"]'
,
'no locals'
,
60000
)
.
waitForElementContainsText
(
'*[data-id="solidityLocals"]'
,
'no locals'
,
60000
)
// eslint-disable-next-line dot-notation
// eslint-disable-next-line dot-notation
.
execute
(
function
()
{
document
.
getElementById
(
'slider'
)[
'value'
]
=
'340'
})
// It only moves slider to 340 but vm traces are not updated
.
execute
(
function
()
{
document
.
getElementById
(
'slider'
)[
'value'
]
=
'340'
})
// It only moves slider to 340 but vm traces are not updated
.
setValue
(
'*[data-id="slider"]'
,
new
Array
(
1
).
fill
(
browser
.
Keys
.
RIGHT_ARROW
))
.
setValue
(
'*[data-id="slider"]'
,
new
Array
(
1
).
fill
(
browser
.
Keys
.
RIGHT_ARROW
))
.
waitForElementContainsText
(
'*[
id="F
unctionPanel"]'
,
'checkWinningProposal()'
,
60000
)
.
waitForElementContainsText
(
'*[
data-id="f
unctionPanel"]'
,
'checkWinningProposal()'
,
60000
)
.
waitForElementContainsText
(
'*[
id="F
unctionPanel"]'
,
'vote(proposal)'
,
60000
)
.
waitForElementContainsText
(
'*[
data-id="f
unctionPanel"]'
,
'vote(proposal)'
,
60000
)
.
pause
(
2000
)
.
pause
(
2000
)
.
checkVariableDebug
(
'soliditylocals'
,
locals
)
.
checkVariableDebug
(
'soliditylocals'
,
locals
)
.
clickLaunchIcon
(
'filePanel'
)
.
clickLaunchIcon
(
'filePanel'
)
...
...
libs/remix-ui/debugger-ui/src/lib/vm-debugger/function-panel.tsx
View file @
2ce26b5a
...
@@ -10,7 +10,7 @@ export const FunctionPanel = ({ data }) => {
...
@@ -10,7 +10,7 @@ export const FunctionPanel = ({ data }) => {
},
[
data
])
},
[
data
])
return
(
return
(
<
div
id=
'FunctionPanel'
>
<
div
id=
'FunctionPanel'
data
-
id=
'functionPanel'
>
<
DropdownPanel
dropdownName=
'Function Stack'
calldata=
{
calldata
||
{}
}
/>
<
DropdownPanel
dropdownName=
'Function Stack'
calldata=
{
calldata
||
{}
}
/>
</
div
>
</
div
>
)
)
...
...
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