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
1a63e612
Unverified
Commit
1a63e612
authored
Oct 27, 2020
by
yann300
Committed by
GitHub
Oct 27, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #522 from ethereum/fixe2e
Fix e2e tests
parents
5491a8ec
d901024a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
clickFunction.ts
apps/remix-ide-e2e/src/commands/clickFunction.ts
+1
-1
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+13
-9
No files found.
apps/remix-ide-e2e/src/commands/clickFunction.ts
View file @
1a63e612
...
...
@@ -14,7 +14,7 @@ class ClickFunction extends EventEmitter {
done
()
})
})
.
c
lick
(
'.instance button[title="'
+
fnFullName
+
'"]'
)
.
scrollAndC
lick
(
'.instance button[title="'
+
fnFullName
+
'"]'
)
.
pause
(
2000
)
.
perform
(()
=>
{
this
.
emit
(
'complete'
)
...
...
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
1a63e612
...
...
@@ -131,10 +131,14 @@ module.exports = {
.
goToVMTraceStep
(
717
)
.
pause
(
5000
)
.
checkVariableDebug
(
'soliditylocals'
,
localVariable_step717_ABIEncoder
)
// all locals should be initiaed
.
clickLaunchIcon
(
'udapp'
)
.
clickInstance
(
2
)
},
'Should load more solidity locals array'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
addFile
(
'locals.sol'
,
sources
[
3
][
'browser/locals.sol'
])
browser
.
clickLaunchIcon
(
'solidity'
)
.
testContracts
(
'locals.sol'
,
sources
[
3
][
'browser/locals.sol'
],
[
'testLocals'
])
.
clickLaunchIcon
(
'udapp'
)
.
waitForElementPresent
(
'*[title="Deploy - transact (not payable)"]'
,
40000
)
.
createContract
(
''
)
...
...
@@ -241,15 +245,15 @@ const sources = [
{
'browser/locals.sol'
:
{
content
:
`
pragma solidity ^0.7.0;
contract test {
function t () public {
uint[] memory array = new uint[](150);
for (uint k = 0; k < 150; k++) {
array[k] = k;
}
pragma solidity ^0.7.0;
contract testLocals {
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