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
6e66b992
Commit
6e66b992
authored
Sep 23, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix E2E
parent
bf5b6d3e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
terminal.test.ts
apps/remix-ide-e2e/src/tests/terminal.test.ts
+2
-2
No files found.
apps/remix-ide-e2e/src/tests/terminal.test.ts
View file @
6e66b992
...
...
@@ -112,13 +112,13 @@ module.exports = {
'Deploy "Owner" using an ether.js script listen to event and check event are logged in the terminal'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
click
(
'*[data-id="terminalClearConsole"]'
)
// clear the terminal
.
openFile
(
'contracts/2_Owner.sol'
)
.
verifyContracts
([
'Owner'
])
.
addFile
(
'deployWithEthersJs.js'
,
{
content
:
deployWithEthersJs
})
.
openFile
(
'deployWithEthersJs.js'
)
.
pause
(
1000
)
.
executeScript
(
'remix.execute(
\'
deployWithEthersJs.js
\'
)'
)
.
waitForElementContainsText
(
'*[data-id="terminalJournal"]'
,
'Deployment successful.'
,
60000
)
.
openFile
(
'contracts/2_Owner.sol'
)
.
verifyContracts
([
'Owner'
])
.
addAtAddressInstance
(
'0x5B38Da6a701c568545dCfcB03FcB875f56beddC4'
,
true
,
true
)
.
click
(
'*[data-id="terminalClearConsole"]'
)
// clear the terminal
.
clickFunction
(
'changeOwner - transact (not payable)'
,
{
types
:
'address newOwner'
,
values
:
'0xd9145CCE52D386f254917e481eB44e9943F39138'
})
// execute the "changeOwner" function
...
...
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