Skip to content

Commit 3ba19fe

Browse files
committed
test: remove invalid test case
1 parent fc5115c commit 3ba19fe

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

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

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,6 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
174174
await expect(monthYear).toHaveText(/June 2022/);
175175
});
176176

177-
test('should not scroll to new month when value is updated with dates in different months', async ({ page }) => {
178-
const datetime = await datetimeFixture.goto(config, MULTIPLE_DATES);
179-
await datetime.evaluate((el: HTMLIonDatetimeElement, dates: string[]) => {
180-
el.value = dates;
181-
}, MULTIPLE_DATES_SEPARATE_MONTHS);
182-
183-
await page.waitForChanges();
184-
185-
const monthYear = datetime.locator('.calendar-month-year');
186-
await expect(monthYear).toHaveText(/June 2022/);
187-
});
188-
189177
test('with buttons, should only update value when confirm is called', async ({ page }) => {
190178
const datetime = await datetimeFixture.goto(config, SINGLE_DATE, { showDefaultButtons: true });
191179
const june2Button = datetime.locator('[data-month="6"][data-day="2"]');

0 commit comments

Comments
 (0)