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
8e2c7cb2
Commit
8e2c7cb2
authored
Oct 26, 2020
by
aniket-engg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
more e2e tests fixed
parent
7058986e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
debugger.test.ts
apps/remix-ide-e2e/src/tests/debugger.test.ts
+3
-3
solidityUnittests.test.ts
apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts
+3
-3
staticAnalysis.test.ts
apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts
+3
-2
No files found.
apps/remix-ide-e2e/src/tests/debugger.test.ts
View file @
8e2c7cb2
...
...
@@ -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)"]'
)
.
waitForElementPresent
(
'*[title="Deploy - transact (not payable)"]'
,
35000
)
.
click
(
'*[title="Deploy - transact (not payable)"]'
)
.
debugTransaction
(
0
)
.
assert
.
containsText
(
'*[data-id="sidePanelSwapitTitle"]'
,
'DEBUGGER'
)
...
...
@@ -178,7 +178,7 @@ const sources = [
{
'browser/blah.sol'
:
{
content
:
`
pragma solidity >=0.
4.22 <0.7
.0;
pragma solidity >=0.
7.0 <0.8
.0;
contract Kickstarter {
...
...
@@ -193,7 +193,7 @@ const sources = [
Project[] public projects;
constructor()
public
{
constructor() {
}
...
...
apps/remix-ide-e2e/src/tests/solidityUnittests.test.ts
View file @
8e2c7cb2
...
...
@@ -346,7 +346,7 @@ const sources = [
},
'browser/compilationError_test.sol'
:
{
content
:
`
pragma solidity ^0.
6.1
;
pragma solidity ^0.
7.0
;
contract failOnCompilation {
fallback() {
...
...
@@ -357,7 +357,7 @@ const sources = [
},
'browser/tests/deployError_test.sol'
:
{
content
:
`
pragma solidity ^0.
8
.0;
pragma solidity ^0.
7
.0;
contract failingDeploy {
constructor() {
...
...
@@ -368,7 +368,7 @@ const sources = [
},
'browser/tests/methodFailure_test.sol'
:
{
content
:
`
pragma solidity ^0.
8
.0;
pragma solidity ^0.
7
.0;
contract methodfailure {
function add(uint a, uint b) public {
...
...
apps/remix-ide-e2e/src/tests/staticAnalysis.test.ts
View file @
8e2c7cb2
...
...
@@ -6,12 +6,12 @@ import sauce from './sauce'
const
sources
=
[
{
'browser/Untitled.sol'
:
{
content
:
`
pragma solidity >=0.
4.22 <0.7
.0;
pragma solidity >=0.
6.0 <0.8
.0;
contract test1 { address test = tx.origin; }
contract test2 {}
contract TooMuchGas {
uint x;
f
unction
() external {
f
allback
() external {
x++;
uint test;
uint test1;
...
...
@@ -36,6 +36,7 @@ function runTests (browser: NightwatchBrowser) {
browser
.
waitForElementVisible
(
'#icon-panel'
,
10000
)
.
clickLaunchIcon
(
'solidity'
)
.
pause
(
10000
)
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'browser/Untitled.sol'
],
[
'TooMuchGas'
,
'test1'
,
'test2'
])
.
clickLaunchIcon
(
'solidityStaticAnalysis'
)
.
click
(
'#staticanalysisView button'
)
...
...
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