Skip to content

Commit

Permalink
Fix input screenshot tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MajaZarkova committed May 30, 2024
1 parent dc1af08 commit 11e376e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/sit-onyx/src/components/OnyxInput/OnyxInput.ct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ test.describe("Screenshot tests", () => {
const tooltipButton = page.getByLabel("Info Tooltip");
const tooltip = page.getByRole("tooltip");

await tooltipButton.hover();

await component.evaluate((element) => {
element.style.padding = `3rem 5rem`;
});

await tooltipButton.hover();

await isTooltipVisible(tooltip);
},
});
Expand Down

0 comments on commit 11e376e

Please sign in to comment.