Skip to content
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

[Feature] Enable Istanbul code coverage collection with Playwright Test #8734

Closed
anishkny opened this issue Sep 7, 2021 · 1 comment
Closed

Comments

@anishkny
Copy link
Contributor

anishkny commented Sep 7, 2021

For frontend source code instrumented with babel-plugin-istanbul for code coverage, allow an easy way to collect that code coverage via nyc. The plugin stores coverage data in the window.__coverage__ variable in the browser.

For now, this can be done in user-land via the playwright-test-coverage package.

Ideally this should be built into Playwright test runner.

See also: mxschmitt/playwright-test-coverage#1

@mxschmitt
Copy link
Member

mxschmitt commented Sep 7, 2021

Will reopen #7030 instead of having a new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants