diff --git a/core/src/components/datetime/test/minmax/datetime.e2e.ts b/core/src/components/datetime/test/minmax/datetime.e2e.ts index b7007f2fe7..7f7819a513 100644 --- a/core/src/components/datetime/test/minmax/datetime.e2e.ts +++ b/core/src/components/datetime/test/minmax/datetime.e2e.ts @@ -304,7 +304,7 @@ configs({ directions: ['ltr'], modes: ['ios'] }).forEach(({ title, config }) => ); const datetime = page.locator('ion-datetime'); - const monthColumnItems = page.locator('ion-datetime .month-column .picker-item:not(.picker-item-empty)'); + const monthColumnItems = page.locator('ion-datetime .month-column ion-picker-column-option'); const ionChange = await page.spyOnEvent('ionChange'); await page.waitForSelector('.datetime-ready');