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
7fc27917
Commit
7fc27917
authored
Aug 31, 2021
by
davidzagi93@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
commiting test logs
parent
1820b3bc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
journalLastChildIncludes.ts
apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts
+2
-0
ballot.test.ts
apps/remix-ide-e2e/src/tests/ballot.test.ts
+10
-1
No files found.
apps/remix-ide-e2e/src/commands/journalLastChildIncludes.ts
View file @
7fc27917
...
@@ -10,7 +10,9 @@ class JournalLastChildIncludes extends EventEmitter {
...
@@ -10,7 +10,9 @@ class JournalLastChildIncludes extends EventEmitter {
.
waitForElementVisible
(
'*[data-id="terminalJournal"]'
,
10000
)
.
waitForElementVisible
(
'*[data-id="terminalJournal"]'
,
10000
)
.
pause
(
1000
)
.
pause
(
1000
)
.
getText
(
'*[data-id="terminalJournal"]'
,
(
result
)
=>
{
.
getText
(
'*[data-id="terminalJournal"]'
,
(
result
)
=>
{
this
.
api
.
pause
(
5000
)
console
.
log
(
'JournalLastChildIncludes'
,
result
.
value
)
console
.
log
(
'JournalLastChildIncludes'
,
result
.
value
)
console
.
log
({
val
},
' JournalLastchildIncludes val'
)
if
(
typeof
result
.
value
===
'string'
&&
result
.
value
.
indexOf
(
val
)
===
-
1
)
return
this
.
api
.
assert
.
fail
(
`wait for
${
val
}
in
${
result
.
value
}
`
)
if
(
typeof
result
.
value
===
'string'
&&
result
.
value
.
indexOf
(
val
)
===
-
1
)
return
this
.
api
.
assert
.
fail
(
`wait for
${
val
}
in
${
result
.
value
}
`
)
else
this
.
api
.
assert
.
ok
(
true
,
`<*[data-id="terminalJournal"]> contains
${
val
}
.`
)
else
this
.
api
.
assert
.
ok
(
true
,
`<*[data-id="terminalJournal"]> contains
${
val
}
.`
)
this
.
emit
(
'complete'
)
this
.
emit
(
'complete'
)
...
...
apps/remix-ide-e2e/src/tests/ballot.test.ts
View file @
7fc27917
...
@@ -81,8 +81,17 @@ module.exports = {
...
@@ -81,8 +81,17 @@ module.exports = {
'Deploy and use Ballot using external web3'
:
function
(
browser
:
NightwatchBrowser
)
{
'Deploy and use Ballot using external web3'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
browser
.
click
(
'*[data-id="settingsWeb3Mode"]'
)
.
click
(
'option[value="web3"]'
)
.
pause
(
5000
)
.
modalFooterOKClick
()
.
modalFooterOKClick
()
.
pause
(
5000
)
.
execute
(
function
()
{
const
env
:
any
=
document
.
getElementById
(
'selectExEnvOptions'
)
return
env
.
value
},
[],
function
(
result
)
{
console
.
log
({
result
})
browser
.
assert
.
ok
(
result
.
value
===
'web3'
,
'Web3 Provider not selected'
)
})
.
clickLaunchIcon
(
'solidity'
)
.
clickLaunchIcon
(
'solidity'
)
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'Ballot'
])
.
testContracts
(
'Untitled.sol'
,
sources
[
0
][
'Untitled.sol'
],
[
'Ballot'
])
.
clickLaunchIcon
(
'udapp'
)
.
clickLaunchIcon
(
'udapp'
)
...
...
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