@@ -484,7 +484,7 @@ describe("captureScrollScreenshots — consent-click page reload (#4923)", () =>
484484 const dir = tempDir ( "hf-scroll-reload-" ) ;
485485 const { page, evaluate, waitForNetworkIdle } = reloadingPage ( ) ;
486486
487- const files = await captureScrollScreenshots ( page , dir ) ;
487+ const { files } = await captureScrollScreenshots ( page , dir ) ;
488488
489489 expect ( files . length ) . toBeGreaterThan ( 0 ) ;
490490 expect ( waitForNetworkIdle ) . toHaveBeenCalled ( ) ;
@@ -515,7 +515,7 @@ describe("captureScrollScreenshots — consent-click page reload (#4923)", () =>
515515 const dir = tempDir ( "hf-scroll-no-reload-" ) ;
516516 const { page, waitForNetworkIdle } = fakePage ( ) ;
517517
518- const files = await captureScrollScreenshots ( page , dir ) ;
518+ const { files } = await captureScrollScreenshots ( page , dir ) ;
519519
520520 // The document reports parsed on the first probe, so the settle pays
521521 // exactly one idle wait and the run still finishes.
@@ -536,7 +536,7 @@ describe("captureScrollScreenshots — consent-click page reload (#4923)", () =>
536536 const waitForNetworkIdle = vi . fn ( async ( ) => undefined ) ;
537537 const { page } = scrollablePage ( evaluate , waitForNetworkIdle ) ;
538538
539- const files = await captureScrollScreenshots ( page , dir ) ;
539+ const { files } = await captureScrollScreenshots ( page , dir ) ;
540540
541541 expect ( files . length ) . toBeGreaterThan ( 0 ) ;
542542 expect ( waitForNetworkIdle ) . not . toHaveBeenCalled ( ) ;
@@ -553,7 +553,7 @@ describe("captureScrollScreenshots — consent-click page reload (#4923)", () =>
553553 const waitForNetworkIdle = vi . fn ( async ( ) => undefined ) ;
554554 const { page } = scrollablePage ( evaluate , waitForNetworkIdle ) ;
555555
556- const files = await captureScrollScreenshots ( page , dir ) ;
556+ const { files } = await captureScrollScreenshots ( page , dir ) ;
557557
558558 expect ( files . length ) . toBeGreaterThan ( 0 ) ;
559559 expect ( waitForNetworkIdle ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -594,7 +594,7 @@ describe("captureScrollScreenshots — consent-click page reload (#4923)", () =>
594594 const dir = tempDir ( "hf-scroll-loading-doc-" ) ;
595595 const { page, evaluate, waitForNetworkIdle } = loadingDocumentPage ( ) ;
596596
597- const files = await captureScrollScreenshots ( page , dir ) ;
597+ const { files } = await captureScrollScreenshots ( page , dir ) ;
598598
599599 expect ( files . length ) . toBeGreaterThan ( 0 ) ;
600600 // A second idle wait runs once the document finishes loading, before the
0 commit comments