Removed unnecessary setViewport
This commit is contained in:
parent
92ae77c817
commit
0943490e1f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue