Skip to content

Commit 1ad9dfe

Browse files
committed
test(datetime): add GH issue annotation
1 parent c862689 commit 1ad9dfe

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

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

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,14 +301,26 @@ configs({ modes: ['md'], directions: ['ltr'] }).forEach(({ title, config }) => {
301301
});
302302

303303
test.describe('with selected days in different months', () => {
304-
test(`set the active month view to the latest value's month`, async ({ page }) => {
304+
test(`set the active month view to the latest value's month`, async ({ page }, testInfo) => {
305+
testInfo.annotations.push({
306+
type: 'issue',
307+
description: 'https://github.com/ionic-team/ionic-framework/issues/29094',
308+
});
309+
305310
const datetime = await new DatetimeMultipleFixture(page).goto(config, MULTIPLE_DATES_SEPARATE_MONTHS);
306311
const calendarMonthYear = datetime.locator('.calendar-month-year');
307312

308313
await expect(calendarMonthYear).toHaveText(/May 2022/);
309314
});
310315

311-
test('does not change the active month view when selecting a day in a different month', async ({ page }) => {
316+
test('does not change the active month view when selecting a day in a different month', async ({
317+
page,
318+
}, testInfo) => {
319+
testInfo.annotations.push({
320+
type: 'issue',
321+
description: 'https://github.com/ionic-team/ionic-framework/issues/29094',
322+
});
323+
312324
const datetime = await new DatetimeMultipleFixture(page).goto(config, MULTIPLE_DATES_SEPARATE_MONTHS);
313325
const nextButton = page.locator('.calendar-next-prev ion-button:nth-child(2)');
314326
const calendarMonthYear = datetime.locator('.calendar-month-year');

0 commit comments

Comments
 (0)