mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	test: add failing WebKit navigation test (#9097)
This commit is contained in:
		
							parent
							
								
									e03db79682
								
							
						
					
					
						commit
						26bca47a47
					
				| @ -58,6 +58,16 @@ it('should work cross-process', async ({page, server}) => { | ||||
|   expect(response.url()).toBe(url); | ||||
| }); | ||||
| 
 | ||||
| it('should work with Cross-Origin-Opener-Policy', async ({page, server, browserName}) => { | ||||
|   it.fail(browserName === 'webkit', 'Regressed in https://trac.webkit.org/changeset/281516/webkit'); | ||||
|   server.setRoute('/empty.html', (req, res) => { | ||||
|     res.setHeader('Cross-Origin-Opener-Policy', 'same-origin'); | ||||
|     res.end(); | ||||
|   }); | ||||
|   await page.goto(server.EMPTY_PAGE); | ||||
|   expect(page.url()).toBe(server.EMPTY_PAGE); | ||||
| }); | ||||
| 
 | ||||
| it('should capture iframe navigation request', async ({page, server}) => { | ||||
|   await page.goto(server.EMPTY_PAGE); | ||||
|   expect(page.url()).toBe(server.EMPTY_PAGE); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Yury Semikhatsky
						Yury Semikhatsky