-
Notifications
You must be signed in to change notification settings - Fork 23
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
report.json doesn't show failed tests when running '.testcafe' test files, but looks good for '.js' test files #10
Comments
report.json
doesn't show failed tests when running '.testcafe' files
Hi @ravinder455 , thank you for your feedback, it would be great if you could share a repo that shows this problem. |
@hdorgeval , Thank you so much for responding on my request. Here is the repo - https://github.com/ravinder455/testcafe_html_issue.git. While creating the repo, I have noticed 2 different behaviors of the issue. |
Hi @ravinder455 , thank you very much for the time you have spent to create this repo 👍 . Give me some time to check what is going on. |
Hi @ravinder455 , v3.0.0 has been published to npm and should resolve your issue. Could you give it a try and provide any feedback? |
Issue is resolved. You are awesome. |
We are getting this console error for all failed tests. Is there a way we can silence these error logs ?
|
Hi @ravinder455 , thank you for your feedback. I will fix it asap. |
Hi @ravinder455, your last feedback should be solved by v3.0.1 available on npm. Those warning messages should not be emitted any more in the log. |
When running tests for .testcafe files, report.json file has elements only for
passed
tests (missing forfailed
tests). However runInfo showstestscount
andpassed
with correct numbers. Also console log (spec output) has all running tests info (passed & failed).Missing elements for failed tests are resulting in incorrect HTMl report (always 100% passed).
I didn't see this issue when running same tests through .js files (converted .testcafe files to .js using testcafe studio)
Versions
testcafe-reporter-cucumber-json: "^2.0.0"
testcafe: "^1.3.3"
multiple-cucumber-html-reporter: "^1.10.2"
Browser : Chrome , Chromium Headless
OS: Mac, Linux
** Testcafe configuration **
{ "browsers": "chrome", "reporter": [ "spec", { "name": "cucumber-json", "output": "reports/report.json" } ], "skipUncaughtErrors":true, "src": ["./tests/*.testcafe"] }
testcafe-reporter-cucumber-json.json
file (no changes in noisy tags)The text was updated successfully, but these errors were encountered: