-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
[BUG] Issue with coverage after istanbul conversion #7109
Comments
Hi, since you are using @playwright/test I would recommend that you wait for #7030. This gives you coverage report out of the box for all the browsers and not only or Chromium. |
Closing as it gets addressed in #7030. |
Hello @ExFlo! Have you fixed this problem? thank you so much! |
Hi |
@mxschmitt any updates? thank you so much! |
Context:
Code Snippet
Repo to clone
reproducer
Describe the bug
I want to be able to merge the coverage generated by Playwright for each tests into one.
I have an issue using nyc to merge and generate the reports after the conversion to istanbul (as described by documentation).
I don't know if this is linked to coverage generated by Playwright or the other tools.
I am able when using other tool, to instrument the tests and to extract the coverage, to generate coverage but not in case of Playwright tools.
After cloning the repo run:
npm install; npm run e2e:playwright
to reproduce the issue.
Error message is:
"Invalid file coverage object, missing keys, found:path,all,statementMap,s,branchMap,b,fnMap,f"
Indeed the file generated have empty path which leads to the error.
Thx for the help.
BR
The text was updated successfully, but these errors were encountered: