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:
parent
c6a0e5d02c
commit
83a98cccf3
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue