mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	test: enable link preload interception test (#16935)
This commit is contained in:
		
							parent
							
								
									77f6b25941
								
							
						
					
					
						commit
						990167124f
					
				@ -352,7 +352,6 @@ it('should delete the origin header', async ({ page, server, isAndroid, browserN
 | 
			
		||||
 | 
			
		||||
it('should continue preload link requests', async ({ page, server, browserName }) => {
 | 
			
		||||
  it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16745' });
 | 
			
		||||
  it.fixme(browserName === 'webkit', 'Preload requests are aborted in WebKit when interception is enabled');
 | 
			
		||||
  let intercepted = false;
 | 
			
		||||
  await page.route('**/one-style.css', route => {
 | 
			
		||||
    intercepted = true;
 | 
			
		||||
 | 
			
		||||
@ -356,7 +356,6 @@ function findResponse(har: har.HARFile, url: string): har.Response {
 | 
			
		||||
 | 
			
		||||
it('should fulfill preload link requests', async ({ page, server, browserName }) => {
 | 
			
		||||
  it.info().annotations.push({ type: 'issue', description: 'https://github.com/microsoft/playwright/issues/16745' });
 | 
			
		||||
  it.fixme(browserName === 'webkit', 'Preload requests are aborted in WebKit when interception is enabled');
 | 
			
		||||
  let intercepted = false;
 | 
			
		||||
  await page.route('**/one-style.css', route => {
 | 
			
		||||
    intercepted = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user