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
216cf1a9
Commit
216cf1a9
authored
Feb 16, 2021
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e2e tests fix
parent
81085957
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+6
-6
runAndDeploy.ts
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
+1
-1
solidityImport.test.ts
apps/remix-ide-e2e/src/tests/solidityImport.test.ts
+1
-1
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
216cf1a9
...
...
@@ -16,7 +16,7 @@ module.exports = {
'Should launch debugger'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
addFile
(
'blah.sol'
,
sources
[
0
][
'browser/blah.sol'
])
.
clickLaunchIcon
(
'udapp'
)
.
waitForElementPresent
(
'*[title="Deploy - transact (not payable)"]'
,
4
5000
)
.
waitForElementPresent
(
'*[title="Deploy - transact (not payable)"]'
,
6
5000
)
.
click
(
'*[title="Deploy - transact (not payable)"]'
)
.
debugTransaction
(
0
)
.
assert
.
containsText
(
'*[data-id="sidePanelSwapitTitle"]'
,
'DEBUGGER'
)
...
...
@@ -45,7 +45,7 @@ module.exports = {
.
pause
(
2000
)
.
click
(
'*[data-id="dropdownPanelSolidityLocals"]'
)
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'no locals'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
92
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
173
'
)
},
'Should step back and forward transaction'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
@@ -53,12 +53,12 @@ module.exports = {
.
waitForElementPresent
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
scrollAndClick
(
'*[data-id="buttonNavigatorIntoBack"]'
)
.
pause
(
2000
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
91
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
91
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
172
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
172
'
)
.
click
(
'*[data-id="buttonNavigatorIntoForward"]'
)
.
pause
(
2000
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
92
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
92
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'vm trace step:
\
n
173
'
)
.
assert
.
containsText
(
'*[data-id="stepdetail"]'
,
'execution step:
\
n
173
'
)
},
'Should jump through breakpoints'
:
function
(
browser
:
NightwatchBrowser
)
{
...
...
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
View file @
216cf1a9
...
...
@@ -208,7 +208,7 @@ const sources = [
'browser/Greet.sol'
:
{
content
:
`
pragma solidity ^0.
7
.0;
pragma solidity ^0.
8
.0;
contract helloWorld {
string public message;
...
...
apps/remix-ide-e2e/src/tests/solidityImport.test.ts
View file @
216cf1a9
...
...
@@ -66,7 +66,7 @@ module.exports = {
'Test switch to a github import from a solidity warning'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
setSolidityCompilerVersion
(
'soljson-v0.
8.1+commit.df193b15
.js'
)
.
setSolidityCompilerVersion
(
'soljson-v0.
7.4+commit.3f05b770
.js'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
click
(
'li[data-id="treeViewLitreeViewItembrowser/README.txt"'
)
.
addFile
(
'Untitled8.sol'
,
sources
[
7
][
'browser/Untitled8.sol'
])
...
...
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