Skip to content

Commit

Permalink
fix(core/input): solve strict error in e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreasBerliner committed Oct 25, 2024
1 parent 004e311 commit 3439728
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/core/src/tests/input/input.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,12 @@ regressionTest.describe('input', () => {
const inputElementBoundingBox = await page
.getByTestId('inputelement')
.boundingBox();
await page.mouse.move(inputElementBoundingBox.x, inputElementBoundingBox.y);
if (inputElementBoundingBox) {
await page.mouse.move(
inputElementBoundingBox.x,
inputElementBoundingBox.y
);
}

await expect(page.locator('ix-tooltip')).toBeVisible();
await expect(page).toHaveScreenshot();
Expand Down

0 comments on commit 3439728

Please sign in to comment.