Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reporter crashes if suite failed by before hooks #16

Open
BorisOsipov opened this issue Oct 9, 2018 · 1 comment
Open

Reporter crashes if suite failed by before hooks #16

BorisOsipov opened this issue Oct 9, 2018 · 1 comment
Labels
bug Something isn't working wdiov4
Milestone

Comments

@BorisOsipov
Copy link
Owner

The problem

Reporter crashes if suite failed by before hooks

Environment

  • WebdriverIO version: v4
  • wdio-reportportal-version version: 0.0.10
  • WDIO Testrunner and version(mocha\cucumber\jasmine): cucumber

Details

C:\work\tests\node_modules\webdriverio\build\lib\utils\BaseReporter.js:336
                        throw _iteratorError;
TypeError: Cannot read property 'id' of null
    at ReportPortalReporter.suiteEnd (C:\work\tests\node_modules\wdio-reportportal-reporter\build\reporter.js:112:59)
    at ReportPortalReporter.emit (events.js:182:13)
    at ReportPortalReporter.EventEmitter.emit (domain.js:442:20)
    at BaseReporter.handleEvent (C:\work\tests\node_modules\webdriverio\build\lib\utils\BaseReporter.js:324:35)
    at Launcher.messageHandler (C:\work\tests\node_modules\webdriverio\build\lib\launcher.js:688:28)
@BorisOsipov BorisOsipov added the bug Something isn't working label Oct 9, 2018
@BorisOsipov BorisOsipov added this to the 0.0.12 milestone Oct 9, 2018
BorisOsipov added a commit that referenced this issue Oct 9, 2018
BorisOsipov added a commit that referenced this issue Oct 9, 2018
BorisOsipov added a commit that referenced this issue Oct 9, 2018
Fix #16 Don't try to finish incorrect items
BorisOsipov added a commit that referenced this issue Oct 14, 2018
@BorisOsipov
Copy link
Owner Author

Still actual. Need investigate and fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wdiov4
Projects
None yet
Development

No branches or pull requests

1 participant