test: skip tracing test on trace mode (#24483)

Thats like we do it here:
c8f2fc392a/tests/library/tracing.spec.ts (L26)
This commit is contained in:
Max Schmitt 2023-07-28 18:48:34 +02:00 committed by GitHub
parent c6a0e5d02c
commit 83a98cccf3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,9 @@ test('should reset mouse position', async ({ reusedContext, browserName, platfor
await expect(page.locator('#two')).toHaveCSS('background-color', 'rgb(0, 0, 255)');
});
test('should reset tracing', async ({ reusedContext }, testInfo) => {
test('should reset tracing', async ({ reusedContext, trace }, testInfo) => {
test.skip(trace === 'on');
let context = await reusedContext();
await context.tracing.start();