Skip to content

Commit 0e59e06

Browse files
committed
chore(e2e): fix e2e
1 parent 2371946 commit 0e59e06

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

core/src/components/datetime-button/test/overlays/datetime-button.e2e.ts

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,17 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
192192

193193
const calendarBody = datetime.locator('.calendar-body');
194194
await expect(calendarBody).toBeVisible();
195-
196-
const firstEnabledDay = datetime.locator('.calendar-day:not([disabled])').first();
197-
await firstEnabledDay.click();
198-
await page.waitForChanges();
199-
200-
await modal.evaluate((el: HTMLIonModalElement) => el.dismiss());
201-
await ionModalDidDismiss.next();
202195
};
203196

204197
await openAndInteract();
198+
199+
const firstEnabledDay = datetime.locator('.calendar-day:not([disabled])').first();
200+
await firstEnabledDay.click();
201+
await page.waitForChanges();
202+
203+
await modal.evaluate((el: HTMLIonModalElement) => el.dismiss());
204+
await ionModalDidDismiss.next();
205+
205206
await openAndInteract();
206207
});
207208
});

0 commit comments

Comments
 (0)