-
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
Missing generating some json files after test #42
Comments
Hi @szory Thanks for filing an issue, what could happen in this case is that the feature has the same name and that it's overwriting / concatenating the data. Can you first check in all your feature files if the feature names are all unique? |
Hi, Thx for quick response. I've just checked feature files and all the names are unique.... |
can you then provide a reproducible example so I can debug it? |
we run these tests on Jenkins, that would be ok for you if I send Console Output from Jenkins |
Sorry @szory Yes, can you send me the Console Output and also a log of the files that are generated? |
Hi @wswebcreation this is the piece of Jenkins Console Output. In this sample of log is missing report called: IOOS Online Portal Password Reset:
we have also this code in WDIO.config.js: cucumberOpts: {
retry: 2
} retry mechanism failed at some reason that we've got 404 and json report was not generated Thx in advance for your any help/advise |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I encountered a similar situation (we're wdio / BrowserStack), but the signal looks similar. If BrowserStack is unavailable then we don't get a report. I created a custom reporter to troubleshoot, e.g. import WDIOReporter from '@wdio/reporter';
class MyCustomReporter extends WDIOReporter {
public onRunnerStart(runner) {
console.log('Runner start');
}
} and then register with With this I see that @wdio/reporter events don't seem to get fired in this situation. For my situation it's not a wdio-cucumberjs-json-reporter issue here, more that the wdio worker is not even calling the reporting if a runner fails to start. |
Hi,
I am using:
wdio-cucumberjs-json-reporter (2.0.2),
webdriverio 6.3.4
and generating a html report with:
multiple-cucumber-html-reporter 1.18.0 using the json created.
Problem is with missing generating some json files (not every one), which should be created after finish every test. We have a over 150 tests which are divided into 7 sets. These sets have from 13 - 27 tests. This missing of generating tests is very random, sometimes is missing some tests in set number 2 and some times in set numer 6.
Does any one encountered similar problem?
The text was updated successfully, but these errors were encountered: