mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00: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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dmitry Gozman
						Dmitry Gozman