fix provider test

pull/5370/head
8times4 2 years ago committed by Aniket
parent e1c59dab37
commit 561090e732
  1. 6
      apps/remix-ide-e2e/src/tests/providers.test.ts

@ -30,9 +30,11 @@ module.exports = {
.modalFooterOKClick('ganache-provider')
.waitForElementContainsText('*[data-id="settingsNetworkEnv"]', 'Custom (')
},
'Should switch to foundry provider, set a custom URL and fail to connect': function (browser: NightwatchBrowser) {
browser.click('*[data-id="Foundry Provider"]')
browser.waitForElementVisible('div[data-id="remixIdeIconPanel"]', 10000)
.clickLaunchIcon('udapp')
.click('*[data-id="Foundry Provider"]')
.waitForElementVisible('*[data-id="foundry-providerModalDialogModalBody-react"]')
.execute(() => {
(document.querySelector('*[data-id="foundry-providerModalDialogModalBody-react"] input') as any).focus()

Loading…
Cancel
Save