QualityOps / wdio-timeline-reporter

34 stars 19 forks source link

TypeError: Cannot read property 'screenshots' of undefined in onAfterCommand #37

Closed pako88 closed 4 years ago

pako88 commented 4 years ago

TypeError: Cannot read property 'screenshots' of undefined at TimelineReporter.onAfterCommand (/repo/node_modules/wdio-timeline-reporter/build/timeline-reporter.js:52:27)

image

I'm running WDIO in sync mode with typescript. Do you need any additional informations?

pako88 commented 4 years ago

problem was in before hooks. i'll created a PR

benzaremean commented 4 years ago

@pako88 you closed the issue? Does PR need to be merged?

pako88 commented 4 years ago

I closed it to move discussion to PR.

Merge is still needed

Thanks @benzaremean