Closed christian-bromann closed 3 years ago
@christian-bromann ? Is this with the current demo that is provided or is this with one of the last versions of Karma
Must be with one of the last versions. I discovered the error looking at MochaJS jobs and they have defined this package as "karma-sauce-launcher": "^4.3.4",
in their package.json which I assume downloads the latest version.
This might be related to the karma version they are using, the issue doesn't happen when I look at the current tests in this project
I'll see if I can figure this one out in the coming days
I created a patch for my setup --> https://github.com/webex/webex-js-sdk/pull/2032 I'm using karma v6 and mocha v8 so I'm unsure if the package version is the actual issue
// node_modules/karma-sauce-launcher/dist/reporter/reporter.js
- const status = result.success ? '✅' : '❌';
+ const status = result.success ? '✅' : result.skipped ? '➖' : '❌';
browserData.results.push({
status: 'info',
- message: `${status} ${result.fullName}`,
+ message: `${status} ${result.fullName || result.description}`,
@taymoork2 would you mind creating a PR?
@christian-bromann can do
FYI my patch also changes a console.info
to a console.debug
since it ends up spamming the console for me, unsure if you'd like me to add this change as well
- log.info(`Check if 'log.json' for browser '${browserName}' has already been stored.`);
+ log.debug(`Check if 'log.json' for browser '${browserName}' has already been stored.`);
:tada: This issue has been resolved in version 4.3.6 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
It seems like with the latest version of Sauce Launcher all results are being transmitted as undefined, see https://app.saucelabs.com/tests/62eaaf74c9244092b878a6d71074992f