Our great sponsors
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
-
playwright-test-coverage-demo
Demonstrates usage of playwright-test-coverage - a Playwright extension that collects code coverage from running end-to-end tests
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
// tests/foo.spec.js const { test, expect } = require("playwright-test-coverage"); // Use test and expect as usual test('basic test', async ({ page }) => { await page.goto('https://playwright.dev/'); const title = page.locator('.navbar__inner .navbar__title'); await expect(title).toHaveText('Playwright'); });
View on GitHub
Demonstrates usage of playwright-test-coverage - a Playwright extension that collects code coverage from running end-to-end tests.
A Playwright extension that collects code coverage from running end-to-end tests. Assumes that code has been instrumented with babel-plugin-istanbul during the build process.