Merge branch 'master' of https://github.com/ethereum/remix-project into importautocomplete

pull/2917/head
filip mertens 2 years ago
commit 37778df556
  1. 4
      apps/remix-ide-e2e/src/commands/addFile.ts

@ -13,13 +13,13 @@ class AddFile extends EventEmitter {
} }
} }
function addFile(browser: NightwatchBrowser, name: string, content: NightwatchContractContent, done: VoidFunction) { function addFile (browser: NightwatchBrowser, name: string, content: NightwatchContractContent, done: VoidFunction) {
browser browser
.isVisible({ .isVisible({
selector: "//*[@data-id='sidePanelSwapitTitle' and contains(.,'File explorer')]", selector: "//*[@data-id='sidePanelSwapitTitle' and contains(.,'File explorer')]",
locateStrategy: 'xpath', locateStrategy: 'xpath',
suppressNotFoundErrors: true, suppressNotFoundErrors: true,
timeout: 1000 timeout: 1000
}, (okVisible) => { }, (okVisible) => {
if (!okVisible.value) { if (!okVisible.value) {
browser.clickLaunchIcon('filePanel') browser.clickLaunchIcon('filePanel')

Loading…
Cancel
Save