Skip to content

Commit b509797

Browse files
committed
test(datetime): remove empty string test
This test was introduced for a temporary fix in v6. That fix was removed in v7 in favor of a breaking change that effects what an empty string will default to.
1 parent 92d7bd5 commit b509797

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

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

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,3 @@ test.describe('datetime: values', () => {
5050
await expect(items).toHaveText(['01', '02', '03']);
5151
});
5252
});
53-
54-
test('setting value to empty string should treat it as having no date', async ({ page, skip }) => {
55-
skip.rtl();
56-
skip.mode('ios');
57-
await page.setContent(`
58-
<ion-datetime value="" locale="en-US"></ion-datetime>
59-
`);
60-
61-
await page.waitForSelector('.datetime-ready');
62-
63-
// Should render current month with today outlined.
64-
const calendarDayToday = page.locator('ion-datetime .calendar-day-today');
65-
await expect(calendarDayToday).toBeVisible();
66-
});

0 commit comments

Comments
 (0)