remove console

pull/5370/head
yann300 3 years ago committed by GitHub
parent 843bb32462
commit 1f927b5a55
  1. 2
      apps/remix-ide-e2e/src/commands/openFile.ts

@ -17,11 +17,9 @@ class OpenFile extends EventEmitter {
function openFile (browser: NightwatchBrowser, name: string, done: VoidFunction) { function openFile (browser: NightwatchBrowser, name: string, done: VoidFunction) {
browser.perform((done) => { browser.perform((done) => {
browser.isVisible('[data-id="remixIdeSidePanel"]', (result) => { browser.isVisible('[data-id="remixIdeSidePanel"]', (result) => {
console.log(result)
if (result.value) { if (result.value) {
// if side panel is shown, check this is the file panel // if side panel is shown, check this is the file panel
browser.element('css selector', '[data-id="verticalIconsKindfilePanel"] img[data-id="selected"]', (result) => { browser.element('css selector', '[data-id="verticalIconsKindfilePanel"] img[data-id="selected"]', (result) => {
console.log(result)
if (result.status === 0) { if (result.status === 0) {
done() done()
} else browser.clickLaunchIcon('filePanel').perform(done) } else browser.clickLaunchIcon('filePanel').perform(done)

Loading…
Cancel
Save