Skip to content

Commit 1bdba4a

Browse files
committed
test(textarea): set the viewport size taller to capture all textareas
1 parent ef71541 commit 1bdba4a

File tree

4 files changed

+3
-0
lines changed

4 files changed

+3
-0
lines changed

core/src/components/textarea/test/states/textarea.e2e.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@ configs({ modes: ['ionic-md'], directions: ['ltr'] }).forEach(({ title, screensh
8484
config
8585
);
8686

87+
// Set the viewport size taller to capture all of the textareas
88+
await page.setViewportSize({ width: 393, height: 800 });
89+
8790
const container = page.locator('.container');
8891
await expect(container).toHaveScreenshot(screenshot(`textarea-disabled-no-fill`));
8992
});
Loading
Loading
Loading

0 commit comments

Comments
 (0)