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
8d7be6dd
Commit
8d7be6dd
authored
Oct 21, 2020
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include tests after rebase
parent
bb940a39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+34
-0
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
8d7be6dd
...
...
@@ -129,6 +129,25 @@ module.exports = {
.
goToVMTraceStep
(
717
)
.
pause
(
5000
)
.
checkVariableDebug
(
'soliditylocals'
,
localVariable_step717_ABIEncoder
)
// all locals should be initiaed
},
'Should load more solidity locals array'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
addFile
(
'locals.sol'
,
sources
[
3
][
'browser/locals.sol'
])
.
clickLaunchIcon
(
'udapp'
)
.
createContract
(
''
)
.
clickInstance
(
3
)
.
clickFunction
(
't - transact (not payable)'
)
.
pause
(
2000
)
.
debugTransaction
(
6
)
.
waitForElementVisible
(
'*[data-id="slider"]'
)
.
click
(
'*[data-id="slider"]'
)
.
setValue
(
'*[data-id="slider"]'
,
'5000'
)
.
waitForElementPresent
(
'*[data-id="treeViewTogglearray"]'
)
.
click
(
'*[data-id="treeViewTogglearray"]'
)
.
waitForElementPresent
(
'*[data-id="treeViewLoadMore"]'
)
.
click
(
'*[data-id="treeViewLoadMore"]'
)
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'149: 0 uint256'
)
.
notContainsText
(
'*[data-id="solidityLocals"]'
,
'150: 0 uint256'
)
.
end
()
},
...
...
@@ -193,6 +212,21 @@ const sources = [
}
}
`
}
},
{
'browser/locals.sol'
:
{
content
:
`
pragma solidity ^0.6.0;
contract test {
function t () public {
uint[] memory array = new uint[](150);
for (uint k = 0; k < 150; k++) {
array[k] = k;
}
}
}
`
}
}
]
...
...
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