Merge branch 'master' into workspaceflaky

pull/5370/head
bunsenstraat 3 years ago committed by GitHub
commit ccc3a95a80
  1. 8
      apps/remix-ide-e2e/src/commands/getBrowserLogs.ts

@ -4,10 +4,12 @@ import EventEmitter from 'events'
class GetBrowserLogs extends EventEmitter { class GetBrowserLogs extends EventEmitter {
command(this: NightwatchBrowser): NightwatchBrowser { command(this: NightwatchBrowser): NightwatchBrowser {
this.api.getLog('browser', function (logs) { this.api.getLog('browser', function (logs) {
logs.forEach(function (log) { if (logs && Array.isArray(logs)) {
console.log(log) logs.forEach(function (log) {
console.log(log)
}
)
} }
)
}).perform(() => { }).perform(() => {
this.emit('complete') this.emit('complete')
}) })

Loading…
Cancel
Save