Closed dragancla closed 5 years ago
@fijijavis :)
@dragancla Are you using Mocha as your test runner? If so which version? I see what is probably causing the error but I'm unable to reproduce it with a minimal wdio example. Maybe share your package.json?
We're using the latest mocha-framework provided by @wdio https://www.npmjs.com/package/@wdio/mocha-framework
"dependencies": {
"@wdio/appium-service": "^5.11.4",
"@wdio/cli": "^5.11.5",
"@wdio/local-runner": "^5.10.9",
"@wdio/mocha-framework": "^5.11.0",
"@wdio/selenium-standalone-service": "^5.11.2",
"@wdio/spec-reporter": "^5.11.0",
"@wdio/sync": "^5.10.8",
"appium": "^1.14.0",
"chai": "^4.1.2",
"mocha-testrail-reporter": "^1.0.12",
"wdio-image-comparison-service": "^1.2.0",
"wdio-json-reporter": "1.2.0",
"wdio-reportportal-reporter": "^5.0.1",
"wdio-reportportal-service": "^5.0.2",
"wdio-testrail-reporter": "^1.1.5",
"webdriverio": "^5.11.5"
}
@dragancla I finally figured out my issue... i didn't have the reporter setup in my wdio conf 🤒 🤦♂ Should have a fix out today.
@dragancla v1.3.1 has been published. It should take care of your issue
@fijijavis Thanks! Testing it now
Stressed it properly, no errors so far. Good job, thanks! 👍
Ever since version 1.3.0 the testrunner crashes if a test fails in a beforeEach mocha hook,
which produces a domino-effect where, at the end of the suite, reportPortal sees the failing tests as "IN_PROGRESS" so it can't finish the suite launch<- unrelated, just submitted a bug for that as wellWe reverted back to 1.2.0 and everything is fine.
Steps to reproduce:
Stack trace: