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
b4ab488c
Commit
b4ab488c
authored
Feb 23, 2021
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slider setting updated
parent
06eabbb1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+8
-6
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
b4ab488c
...
@@ -41,11 +41,13 @@ module.exports = {
...
@@ -41,11 +41,13 @@ module.exports = {
browser
.
waitForElementVisible
(
'*[data-id="verticalIconsKindudapp"]'
)
browser
.
waitForElementVisible
(
'*[data-id="verticalIconsKindudapp"]'
)
.
waitForElementVisible
(
'*[data-id="slider"]'
)
.
waitForElementVisible
(
'*[data-id="slider"]'
)
.
click
(
'*[data-id="slider"]'
)
.
click
(
'*[data-id="slider"]'
)
.
setValue
(
'*[data-id="slider"]'
,
'50'
)
// eslint-disable-next-line dot-notation
.
execute
(
function
()
{
document
.
getElementById
(
'slider'
)[
'value'
]
=
'50'
})
// It only moves slider to 50 but vm traces are not updated
.
setValue
(
'*[data-id="slider"]'
,
new
Array
(
1
).
fill
(
browser
.
Keys
.
RIGHT_ARROW
))
.
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:
\
n
173
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
51
'
)
},
},
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
...
@@ -53,12 +55,12 @@ module.exports = {
...
@@ -53,12 +55,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:
\
n
172
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
50
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
172
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
50
'
)
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
pause
(
2000
)
.
pause
(
2000
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
173
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
51
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
173
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
51
'
)
},
},
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
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