-
Notifications
You must be signed in to change notification settings - Fork 32
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
cucumberjs json not create valid json file if working with single worker #78
Comments
Hi @rmihirk Thanks for the issue, but pinging me doesn't make me solve this faster. I also have a day job 😉 I need to make some time free to dive into this, but feel free to also take a look at it |
Ok. No problem. Actually, this issue big headache for me and my team. We are just recently moved from a protractor to wdio. |
Is there any chance your team can look into this and contribute to the project? |
Sorry, We can't help here actually we don't know typescript. we are using js |
@christian-bromann Actually, the issue is here. If lib calling another feature file below function creating an issue here (File name reporter.ts and line no: 98)
|
* Addressed #79 * Updated wdio/ cucumber-framework peer dependency to resolve conflicts. * Addressed #76 * Appended current timestamp on generation of feature file * fixed failed test * Addressed #76 * Appended current timestamp on generation of feature file * fixed failed test * Update package.json update to proper peerDependencies version Co-authored-by: Bhaslamb <[email protected]> Co-authored-by: Wim Selles <[email protected]>
This has been fixed with https://github.com/webdriverio-community/wdio-cucumberjs-json-reporter/releases/tag/v4.3.1, tested it and it works. |
@wswebcreation Still not working. |
ok, thanks for letting us know, we will take a look at it again |
Environment (please complete the following information):
Config of webdriver.io and the reporter
Package.json File
Structure
Describe the bug
wdio create only one JSON file name is the-internet-guinea-pig-website-3.json and it's add another JSON file result into the-internet-guinea-pig-website-3.json. that's why multiple-cucumber-html-reporter create the wrong reports.
To Reproduce
Execute all cases just using
npm run wdio
Actual behavior
Expected behavior
We need to consider here all feature files with valid reports.
The text was updated successfully, but these errors were encountered: