Skip to content

Commit

Permalink
Add console log to test pageheight
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Jul 8, 2024
1 parent ed4d402 commit c141980
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/playwright/visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ test('visual', async ({page, extensionId}) => {
return body.scrollHeight;
});

console.log(`Page height: ${pageHeight}`);

// Set the viewport to match the full page size
await page.setViewportSize({width: 1280, height: pageHeight});

Expand Down

0 comments on commit c141980

Please sign in to comment.