Merge pull request #17021 from timvandermeij/fix-intermittent-autoprint
Fix integration test "Interaction in autoprint.pdf must check if printing is triggered when the document is open"
This commit is contained in:
		
						commit
						9b464047bc
					
				| @ -1793,13 +1793,7 @@ describe("Interaction", () => { | ||||
|     it("must check if printing is triggered when the document is open", async () => { | ||||
|       await Promise.all( | ||||
|         pages.map(async ([browserName, page]) => { | ||||
|           await page.waitForFunction( | ||||
|             "window.PDFViewerApplication.scriptingReady === true" | ||||
|           ); | ||||
| 
 | ||||
|           await page.waitForFunction( | ||||
|             `document.querySelector(".printedPage") !== null` | ||||
|           ); | ||||
|           await page.waitForSelector(".printedPage"); | ||||
|           await page.keyboard.press("Escape"); | ||||
|         }) | ||||
|       ); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user