mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
test: skip tests that modify env in non-default mode (#15725)
This commit is contained in:
parent
a56d801352
commit
b637ce1250
@ -639,6 +639,7 @@ test.describe('should emit page-level network events with service worker fetch h
|
||||
});
|
||||
|
||||
test.describe('PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS=1', () => {
|
||||
test.skip(({ mode }) => mode !== 'default', 'Cannot set env variables in non-default');
|
||||
test.beforeAll(() => process.env.PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS = '1');
|
||||
test.afterAll(() => delete process.env.PW_EXPERIMENTAL_SERVICE_WORKER_NETWORK_EVENTS);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user