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
72a2c5ce
Commit
72a2c5ce
authored
Jan 13, 2021
by
ioedeveloper
Committed by
Liana Husikyan
Jan 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable run and deploy tests using metamask
parent
e50f292e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
runAndDeploy.ts
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
+8
-7
No files found.
apps/remix-ide-e2e/src/tests/runAndDeploy.ts
View file @
72a2c5ce
...
...
@@ -73,9 +73,10 @@ module.exports = {
status
:
'true Transaction mined and execution succeed'
,
'transaction hash'
:
'0xfe718871ee0b4d03cdcac0e12e5b164efaf7e23ba952c07db76e62692867019b'
})
.
end
()
},
'Should connect to Goerli Test Network using MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should connect to Goerli Test Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="remixIdeSidePanel"]'
)
.
setupMetamask
(
passphrase
,
password
)
.
click
(
'.network-indicator__down-arrow'
)
...
...
@@ -96,7 +97,7 @@ module.exports = {
.
switchBrowserTab
(
0
)
},
'Should deploy contract on Goerli Test Network using MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should deploy contract on Goerli Test Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="runTabSelectAccount"] option'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
openFile
(
'browser/Greet.sol'
)
...
...
@@ -113,7 +114,7 @@ module.exports = {
.
switchBrowserTab
(
0
)
},
'Should run low level interaction (fallback function) on Goerli Test Network using MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should run low level interaction (fallback function) on Goerli Test Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="remixIdeSidePanel"]'
)
.
waitForElementPresent
(
'*[data-id="universalDappUiTitleExpander"]'
)
.
click
(
'*[data-id="universalDappUiTitleExpander"]'
)
...
...
@@ -129,7 +130,7 @@ module.exports = {
.
switchBrowserTab
(
0
)
},
'Should connect to Ethereum Main Network using MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should connect to Ethereum Main Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="remixIdeSidePanel"]'
)
.
switchBrowserTab
(
2
)
.
waitForElementPresent
(
'.network-indicator__down-arrow'
)
...
...
@@ -147,7 +148,7 @@ module.exports = {
.
assert
.
containsText
(
'*[data-id="settingsNetworkEnv"]'
,
'Main (1) network'
)
},
'Should deploy contract on Ethereum Main Network using MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should deploy contract on Ethereum Main Network using MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="runTabSelectAccount"] option'
)
.
clickLaunchIcon
(
'fileExplorers'
)
.
openFile
(
'browser/Greet.sol'
)
...
...
@@ -167,7 +168,7 @@ module.exports = {
* - Ropsten node for retrieving the trace and storage
*
*/
'Should debug Ropsten transaction with source highlighting using the source verifier service and MetaMask'
:
function
(
browser
:
NightwatchBrowser
)
{
'Should debug Ropsten transaction with source highlighting using the source verifier service and MetaMask'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
waitForElementPresent
(
'*[data-id="remixIdeSidePanel"]'
)
.
waitForElementVisible
(
'*[data-id="remixIdeIconPanel"]'
,
10000
)
.
switchBrowserTab
(
2
)
...
...
@@ -192,7 +193,7 @@ module.exports = {
.
assert
.
containsText
(
'*[data-id="solidityLocals"]'
,
'to: 0x6C3CCC7FBA111707D5A1AAF2758E9D4F4AC5E7B1'
)
},
'Call web3.eth.getAccounts() using Injected web3 (Metamask)'
:
function
(
browser
:
NightwatchBrowser
)
{
'Call web3.eth.getAccounts() using Injected web3 (Metamask)'
:
''
+
function
(
browser
:
NightwatchBrowser
)
{
browser
.
executeScript
(
`web3.eth.getAccounts()`
)
.
pause
(
2000
)
...
...
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