From 772d27979a87e8aac8f0736d87155e157f9f178a Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 25 Oct 2023 13:30:50 -0400 Subject: [PATCH] test(alert): add annotations I forgot to add annotations to tests to indicate the bug fix they are validating. --- core/src/components/alert/test/a11y/alert.e2e.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/core/src/components/alert/test/a11y/alert.e2e.ts b/core/src/components/alert/test/a11y/alert.e2e.ts index eecb703d6f3..a5e454e7583 100644 --- a/core/src/components/alert/test/a11y/alert.e2e.ts +++ b/core/src/components/alert/test/a11y/alert.e2e.ts @@ -30,7 +30,11 @@ const testAria = async ( configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => { test.describe(title('alert: text wrapping'), () => { - test('should break on words and white spaces for radios', async ({ page }) => { + test('should break on words and white spaces for radios', async ({ page }, testInfo) => { + testInfo.annotations.push({ + type: 'issue', + description: 'https://github.com/ionic-team/ionic-framework/issues/28406', + }); await page.setContent( ` @@ -54,7 +58,11 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c await expect(page).toHaveScreenshot(screenshot(`alert-radio-text-wrap`)); }); - test('should break on words and white spaces for checkboxes', async ({ page }) => { + test('should break on words and white spaces for checkboxes', async ({ page }, testInfo) => { + testInfo.annotations.push({ + type: 'issue', + description: 'https://github.com/ionic-team/ionic-framework/issues/28406', + }); await page.setContent( `