Removed unnecessary setViewport

This commit is contained in:
jamelreid 2021-11-29 13:55:05 -05:00
parent 92ae77c817
commit 0943490e1f
1 changed files with 0 additions and 4 deletions

View File

@ -28,10 +28,6 @@ const runPageLoadTest = () => {
await Promise.all( [
page.click( menuElement ),
page.waitForNavigation( { waitUntil: 'networkidle0' } ),
page.setViewport( {
width: 1280,
height: 800,
} ),
] );
// Click sub-menu item and wait for the page to finish loading