remove console

pull/2183/head
yann300 3 years ago committed by GitHub
parent c18d33c6a4
commit 12280f614f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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