Remove Escape key press from the autoprint integration test
				
					
				
			It's not necessary because we have configured silent printing for Firefox and Chrome in the browser arguments we pass in `test.mjs`. This means that the print dialog is not even shown at all or disappears automatically once printing is done, so the Escape key press serves no purpose. Since it has been shown to time out, likely because the page loses focus during printing, and because the page itself doesn't know when the printing dialog is shown and we therefore can't possibly do the key press at the right time anyway, this commit gets rid of it to stabilize the test.
This commit is contained in:
		
							parent
							
								
									5c45dfa0ae
								
							
						
					
					
						commit
						48e41617f5
					
				@ -1793,7 +1793,6 @@ describe("Interaction", () => {
 | 
			
		||||
      await Promise.all(
 | 
			
		||||
        pages.map(async ([browserName, page]) => {
 | 
			
		||||
          await page.waitForSelector(".printedPage");
 | 
			
		||||
          await page.keyboard.press("Escape");
 | 
			
		||||
        })
 | 
			
		||||
      );
 | 
			
		||||
    });
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user