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

This commit is contained in:
Yury Semikhatsky 2024-12-19 14:04:05 -08:00 committed by GitHub
parent 61ce37cd53
commit d7a52347e5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

View File

@ -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}`,