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
335a482f
Commit
335a482f
authored
Sep 08, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset solidityUnitTest.spec
parent
da6797bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
15 deletions
+19
-15
solidityUnittests.spec.ts
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
+19
-15
remixWelcome.ts
libs/remix-ui/terminal/src/lib/reducers/remixWelcome.ts
+0
-0
No files found.
apps/remix-ide-e2e/src/tests/solidityUnittests.spec.ts
View file @
335a482f
...
...
@@ -166,26 +166,25 @@ module.exports = {
.
verify
.
attributeEquals
(
'*[data-id="uiPathInput"]'
,
'value'
,
'tests'
)
},
'Solidity Unit tests Basic
Basic with local compiler
'
:
function
(
browser
:
NightwatchBrowser
)
{
'Solidity Unit tests Basic'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
clickLaunchIcon
(
'solidity'
)
.
setSolidityCompilerVersion
(
'builtin'
)
.
waitForElementPresent
(
'*[data-id="verticalIconsKindfilePanel"]'
)
.
clickLaunchIcon
(
'filePanel'
)
.
click
(
'*[data-id="treeViewLitreeViewItemcontracts"]'
)
.
openFile
(
'contracts/3_Ballot.sol'
)
.
clickLaunchIcon
(
'pluginManager'
)
.
scrollAndClick
(
'[data-id="pluginManagerComponentDeactivateButtonsolidityUnitTesting"]'
)
.
pause
(
2000
)
.
scrollAndClick
(
'[data-id="pluginManagerComponentActivateButtonsolidityUnitTesting"]'
)
.
pause
(
5000
)
.
clickLaunchIcon
(
'solidityUnitTesting'
)
.
pause
(
2000
)
.
verify
.
attributeEquals
(
'*[data-id="uiPathInput"]'
,
'value'
,
'tests'
)
.
pause
(
2000
)
.
scrollAndClick
(
'#runTestsTabRunAction'
)
.
waitForElementVisible
(
'*[data-id="testTabSolidityUnitTestsOutputheader"]'
,
120000
)
.
waitForElementPresent
(
'#solidityUnittestsOutput div[class^="testPass"]'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'tests/4_Ballot_test.sol'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winning proposal'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winnin proposal with return value'
,
60000
)
.
end
()
},
<<<<<<<
HEAD
'Debug failed test using debugger'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="verticalIconsKindfilePanel"]'
)
...
...
@@ -217,21 +216,26 @@ module.exports = {
},
'Basic Solidity Unit tests with local compiler'
:
function
(
browser
:
NightwatchBrowser
)
{
=======
'Solidity Unit tests Basic Basic with local compiler'
:
function
(
browser
:
NightwatchBrowser
)
{
>>>>>>>
8
da004312
(
reset
solidityUnitTest
.
spec
)
browser
.
waitForElementPresent
(
'*[data-id="verticalIconsKindfilePanel"]'
)
.
clickLaunchIcon
(
'filePanel'
)
.
click
(
'*[data-id="treeViewLitreeViewItemcontracts"]'
)
.
clickLaunchIcon
(
'solidity'
)
.
setSolidityCompilerVersion
(
'builtin'
)
.
openFile
(
'contracts/3_Ballot.sol'
)
.
clickLaunchIcon
(
'solidityUnitTesting'
)
.
pause
(
2000
)
.
verify
.
attributeEquals
(
'*[data-id="uiPathInput"]'
,
'value'
,
'tests'
)
.
clickLaunchIcon
(
'pluginManager'
)
.
scrollAndClick
(
'[data-id="pluginManagerComponentDeactivateButtonsolidityUnitTesting"]'
)
.
pause
(
2000
)
.
scrollAndClick
(
'[data-id="pluginManagerComponentActivateButtonsolidityUnitTesting"]'
)
.
pause
(
5000
)
.
clickLaunchIcon
(
'solidityUnitTesting'
)
.
scrollAndClick
(
'#runTestsTabRunAction'
)
.
waitForElementVisible
(
'*[data-id="testTabSolidityUnitTestsOutputheader"]'
,
120000
)
.
waitForElementPresent
(
'#solidityUnittestsOutput div[class^="testPass"]'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'tests/4_Ballot_test.sol'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winning proposal'
,
60000
)
.
waitForElementContainsText
(
'#solidityUnittestsOutput'
,
'✓ Check winnin proposal with return value'
,
60000
)
.
end
()
}
}
...
...
libs/remix-ui/terminal/src/lib/reducers/remixWelcom.ts
→
libs/remix-ui/terminal/src/lib/reducers/remixWelcom
e
.ts
View file @
335a482f
File moved
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