From b509797792e35db25d9731865349d97564a26171 Mon Sep 17 00:00:00 2001 From: Sean Perkins Date: Mon, 24 Oct 2022 11:29:09 -0400 Subject: [PATCH] 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. --- .../datetime/test/values/datetime.e2e.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/core/src/components/datetime/test/values/datetime.e2e.ts b/core/src/components/datetime/test/values/datetime.e2e.ts index 42c23da19c..788e5692f7 100644 --- a/core/src/components/datetime/test/values/datetime.e2e.ts +++ b/core/src/components/datetime/test/values/datetime.e2e.ts @@ -50,17 +50,3 @@ test.describe('datetime: values', () => { await expect(items).toHaveText(['01', '02', '03']); }); }); - -test('setting value to empty string should treat it as having no date', async ({ page, skip }) => { - skip.rtl(); - skip.mode('ios'); - await page.setContent(` - - `); - - await page.waitForSelector('.datetime-ready'); - - // Should render current month with today outlined. - const calendarDayToday = page.locator('ion-datetime .calendar-day-today'); - await expect(calendarDayToday).toBeVisible(); -});