Skip to content

Commit

Permalink
limit viewport size for open screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
larsrickert committed Nov 25, 2024
1 parent c3bbc7f commit 0446c1f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ test.describe("Screenshot tests", () => {
});

test("should open flyout", async ({ mount, page }) => {
await page.setViewportSize({ width: 512, height: 512 });

// ARRANGE
const component = await mount(<OnyxDatePicker label="Test label" style="width: 12rem;" />);
const datepicker = component.getByLabel("Test label");
Expand Down

0 comments on commit 0446c1f

Please sign in to comment.