chore(bidi): skip tooling tests (#34105)
This commit is contained in:
parent
61ce37cd53
commit
d7a52347e5
|
@ -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}`,
|
||||
|
|
Loading…
Reference in New Issue