pull/5370/head
yann300 2 years ago committed by Aniket
parent 84eb316669
commit f23f65d14f
  1. 4
      apps/remix-ide-e2e/src/commands/openFile.ts

@ -23,10 +23,10 @@ function openFile (browser: NightwatchBrowser, name: string, done: VoidFunction)
browser.element('css selector', '[data-id="verticalIconsKindfilePanel"] img[data-id="selected"]', (result) => {
if (result.status === 0) {
done()
} else browser.clickLaunchIcon('filePanel').perform(done())
} else browser.clickLaunchIcon('filePanel').perform(done)
})
} else {
browser.clickLaunchIcon('filePanel').perform(done())
browser.clickLaunchIcon('filePanel').perform(done)
}
})

Loading…
Cancel
Save