Skip to content

Commit 5f1a25f

Browse files
committed
Dont scroll down
1 parent 3efa575 commit 5f1a25f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/playwright/visual.spec.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ test('visual', async ({page, extensionId}) => {
4848
// Wait for the advanced settings to be visible
4949
await page.locator('input#advanced-checkbox').evaluate((/** @type {HTMLInputElement} */ element) => element.click());
5050

51+
// TODO: Remove
5152
// Scroll to the bottom of the page
5253
// document.querySelector('.footer-padding').scrollIntoView()
53-
await page.locator('.footer-padding').evaluate((/** @type {HTMLElement} */ element) => element.scrollIntoView());
54+
// await page.locator('.footer-padding').evaluate((/** @type {HTMLElement} */ element) => element.scrollIntoView());
5455

5556
// Get page height by getting the footer and adding height and y position
5657

0 commit comments

Comments
 (0)