pull/5343/head
bunsenstraat 4 weeks ago committed by Aniket
parent da367cafcd
commit 882df14063
  1. 4
      apps/remix-ide-e2e/src/tests/providers.test.ts
  2. 4
      apps/remix-ide-e2e/src/tests/runAndDeploy_injected.test.ts

@ -8,7 +8,7 @@ module.exports = {
init(browser, done, 'http://127.0.0.1:8080', false)
},
'Should switch to ganache provider, set a custom URL and fail to connect #flaky #group1': function (browser: NightwatchBrowser) {
'Should switch to ganache provider, set a custom URL and fail to connect #group1': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('div[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('udapp')
.switchEnvironment('ganache-provider')
@ -60,7 +60,7 @@ module.exports = {
.waitForElementContainsText('*[data-id="settingsNetworkEnv"]', 'Custom (')
},
'Should switch to custom provider #flaky #group2': function (browser: NightwatchBrowser) {
'Should switch to custom provider #group2': function (browser: NightwatchBrowser) {
browser.waitForElementVisible('div[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('udapp')
.switchEnvironment('ganache-provider')

@ -62,7 +62,7 @@ const tests = {
.switchBrowserTab(0) // back to remix
},
'Should add a contract file #group1 #flaky': function (browser: NightwatchBrowser) {
'Should add a contract file #group1': function (browser: NightwatchBrowser) {
if (!checkBrowserIsChrome(browser)) return
browser.waitForElementVisible('*[data-id="remixIdeSidePanel"]')
.clickLaunchIcon('filePanel')
@ -333,7 +333,7 @@ if (!checkBrowserIsChrome(browser)) {
module.exports = {}
} else {
module.exports = {
...tests //(branch ? (isMasterBranch ? tests : {}) : tests),
... (branch ? (isMasterBranch ? tests : {}) : tests),
};
}

Loading…
Cancel
Save