Skip to content

Commit a908402

Browse files
- remove custom wheel example;
1 parent a2b4473 commit a908402

File tree

2 files changed

+1
-15
lines changed

2 files changed

+1
-15
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@ configs().forEach(({ title, screenshot, config }) => {
99
await expect(customGrid).toHaveScreenshot(screenshot(`customGrid-with-hidden-days`));
1010
});
1111

12-
test('with custom-wheel should not have any visual regressions', async ({ page }) => {
13-
await page.goto('/src/components/datetime/test/showDaysOutsideCurrentMonth', config);
14-
const customWheel = page.locator('#custom-wheel');
15-
await expect(customWheel).toHaveScreenshot(screenshot(`custom-wheel-with-hidden-days`));
16-
});
17-
1812
test('should set the first day of the week correctly', async ({ page }) => {
1913
await page.goto('/src/components/datetime/test/showDaysOutsideCurrentMonth', config);
2014
const customDatetime = page.locator('#custom-calendar-days');

core/src/components/datetime/test/showDaysOutsideCurrentMonth/index.html

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -151,15 +151,7 @@
151151
<h2>Grid Style</h2>
152152
<ion-datetime id="custom-grid" value="2020-03-14T14:23:00.000Z" class="custom-grid-wheel"></ion-datetime>
153153
</div>
154-
<div class="grid-item">
155-
<h2>Wheel Style</h2>
156-
<ion-datetime
157-
id="custom-wheel"
158-
prefer-wheel="true"
159-
value="2020-03-14T14:23:00.000Z"
160-
class="custom-grid-wheel"
161-
></ion-datetime>
162-
</div>
154+
163155
<div class="grid-item">
164156
<h2>Grid Style</h2>
165157
<ion-datetime id="custom-calendar-days" value="2023-06-15" presentation="date"></ion-datetime>

0 commit comments

Comments
 (0)