Skip to content

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

chore(bidi): skip tooling tests (#34105)

Yury Semikhatskyd7a52347e519
diff --git a/tests/bidi/playwright.config.ts b/tests/bidi/playwright.config.ts
index adaef490ea..481fa42434 100644
--- a/tests/bidi/playwright.config.ts
+++ b/tests/bidi/playwright.config.ts
@@ -66,7 +66,6 @@ const config: Config<PlaywrightWorkerOptions & PlaywrightTestOptions & TestModeW
const executablePath = process.env.BIDIPATH;
if (executablePath && !process.env.TEST_WORKER_INDEX)
console.error(`Using executable at ${executablePath}`);
-const testIgnore: RegExp[] = [];
const browserToChannels = {
'_bidiChromium': ['bidi-chromium', 'bidi-chrome-canary', 'bidi-chrome-stable'],
'_bidiFirefox': ['bidi-firefox-nightly', 'bidi-firefox-beta', 'bidi-firefox-stable'],
@@ -74,6 +73,17 @@ const browserToChannels = {
for (const [key, channels] of Object.entries(browserToChannels)) {
const browserName: any = key;
for (const channel of channels) {
+ const testIgnore: RegExp[] = [
+ /library\/debug-controller/,
+ /library\/inspector/,
+ /library\/trace-viewer.spec.ts/,
+ /library\/tracing.spec.ts/,
+ /page\/page-leaks.spec.ts/,
+ ];
+ if (browserName.toLowerCase().includes('firefox'))
+ testIgnore.push(/chromium/);
+ if (browserName.toLowerCase().includes('chromium'))
+ testIgnore.push(/firefox/);
for (const folder of ['library', 'page']) {
config.projects.push({
name: `${channel}-${folder}`,