Skip to content

Commit

Permalink
Fix selector
Browse files Browse the repository at this point in the history
  • Loading branch information
MarvNC committed Jul 8, 2024
1 parent bd86d5a commit 275531b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/playwright/visual.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ test('visual', async ({page, extensionId}) => {

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

const footer = /** @type {import('@playwright/test').ElementHandle<HTMLElement>} */ (await page.locator('.footer-padding').elementHandle());
const footer = /** @type {import('@playwright/test').ElementHandle<HTMLElement>} */ (await page.locator('.footer-padding').elementHandle());
expect(footer).not.toBe(null);
const boundingBox = /** @type {NonNullable<Awaited<ReturnType<import('@playwright/test').ElementHandle<HTMLElement>['boundingBox']>>>} */ (await footer.boundingBox());
expect(boundingBox).not.toBe(null);
Expand Down

0 comments on commit 275531b

Please sign in to comment.