Skip to content

Commit b095789

Browse files
committed
test(datetime): wait for the last datetime to be ready
1 parent 1017729 commit b095789

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/components/datetime/test/custom/datetime.e2e.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ configs({ directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
3030
test('should allow styling calendar days in grid style datetimes', async ({ page }) => {
3131
const datetime = page.locator('#custom-calendar-days');
3232

33-
await page.locator('.datetime-ready').waitFor();
33+
await page.locator('.datetime-ready').last().waitFor();
3434

3535
await expect(datetime).toHaveScreenshot(screenshot(`datetime-custom-calendar-days`));
3636
});

0 commit comments

Comments
 (0)