-
Notifications
You must be signed in to change notification settings - Fork 19
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
ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot set property 'failures' of undefined #50
Comments
will have a look. Apologies Ive been very quiet |
I have the same issue. This is only happening when I pass mochaOpts
|
hi did anyone find the reason of this error. 2021-06-12T03:52:10.132Z ERROR @wdio/local-runner: Failed launching test session: TypeError: Cannot set property 'failures' of undefined |
I am seeing this issue as well. Here is my console output. Execution of 13 workers started at 2021-06-22T09:37:41.964Z 2021-06-22T09:37:41.966Z DEBUG @wdio/utils:initialiseServices: initialise custom service "TimelineService" |
@niksw7 From what I've seen through dealing with this, is that timeline has some kind of flaw dealing with tests that are skipped or tests that are not run because they're not a part of tests to be run because they're not tagged to be run. The wdio log files for features of such types that aren't aren't part of the suite to be run is just the error seen using wdio cucumber packages 7.16.+. Latest wdio packages just swallow the error. Either way the flaw is still there, where cucumber has all the scenarios returning passing runs (result of 0 return code) while after going through timeline, the return/exit code will be changed to 1. Not much can be done with this as this project seems dead, unless someone wants to fork it or something. It kind of stinks because the replacement reporter I use for having something that you can just click on without having to start a server like allure, html-nice, depends on timeline... the aggregator no workie... but at least you can still get a report, albeit, without aggregation and prettiness... |
Reproducible with cucumber tags. wdio -- --cucumberOpts.tagExpression='@sanity' |
I'm having some errors when upgrade the version of frameworks to:
"@wdio/cli": "^6.10.9",
"@wdio/devtools-service": "^6.10.6",
"@wdio/junit-reporter": "^6.10.6",
"@wdio/local-runner": "^6.10.7",
"@wdio/mocha-framework": "^6.10.6",
"@wdio/spec-reporter": "^6.10.6",
"@wdio/sync": "^6.10.7",
"chromedriver": "^87.0.2",
"mocha": "^8.2.1",
"supertest": "^6.0.1",
"wdio-chromedriver-service": "^6.0.4",
"wdio-image-comparison-service": "^2.0.0",
"webdriverio": "^6.10.7",
The text was updated successfully, but these errors were encountered: