Merge branch 'master' into workspaceflaky

pull/2362/head
bunsenstraat 3 years ago committed by GitHub
commit 0c455d431f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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