diff --git a/tests/library/inspector/cli-codegen-1.spec.ts b/tests/library/inspector/cli-codegen-1.spec.ts index 9056a890a1..9d821d2809 100644 --- a/tests/library/inspector/cli-codegen-1.spec.ts +++ b/tests/library/inspector/cli-codegen-1.spec.ts @@ -19,6 +19,7 @@ import type { ConsoleMessage } from 'playwright'; test.describe('cli codegen', () => { test.skip(({ mode }) => mode !== 'default'); + test.skip(({ trace }) => trace === 'on' && test.info().project.name.endsWith('-codegen-mode-trace')); test('should click', async ({ openRecorder }) => { const { page, recorder } = await openRecorder(); diff --git a/tests/library/inspector/cli-codegen-2.spec.ts b/tests/library/inspector/cli-codegen-2.spec.ts index 21182353a6..2061801ca7 100644 --- a/tests/library/inspector/cli-codegen-2.spec.ts +++ b/tests/library/inspector/cli-codegen-2.spec.ts @@ -20,6 +20,7 @@ import fs from 'fs'; test.describe('cli codegen', () => { test.skip(({ mode }) => mode !== 'default'); + test.skip(({ trace }) => trace === 'on' && test.info().project.name.endsWith('-codegen-mode-trace')); test('should contain open page', async ({ openRecorder }) => { const { recorder } = await openRecorder(); diff --git a/tests/library/inspector/cli-codegen-3.spec.ts b/tests/library/inspector/cli-codegen-3.spec.ts index 7df682512b..d671d471f1 100644 --- a/tests/library/inspector/cli-codegen-3.spec.ts +++ b/tests/library/inspector/cli-codegen-3.spec.ts @@ -18,6 +18,7 @@ import { test, expect } from './inspectorTest'; test.describe('cli codegen', () => { test.skip(({ mode }) => mode !== 'default'); + test.skip(({ trace }) => trace === 'on' && test.info().project.name.endsWith('-codegen-mode-trace')); test('should click locator.first', async ({ openRecorder }) => { const { page, recorder } = await openRecorder();