Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test(coverage): skip coverage tests on tracing bots (#42778)

Yury Semikhatsky4112b96df0e6
diff --git a/tests/library/coverage.spec.ts b/tests/library/coverage.spec.ts
index 53441d41b1..65b4be90d8 100644
--- a/tests/library/coverage.spec.ts
+++ b/tests/library/coverage.spec.ts
@@ -17,6 +17,8 @@
import { browserTest as it, expect } from '../config/browserTest';
import { parseTraceCoverage } from '../config/utils';
+it.skip(({ trace }) => trace === 'on', 'the tests start their own tracing');
+
const fileCoverage = (file: string, s0: number) => ({
[file]: {
path: file,