From dc94ae01fe9e6c1b570559f0c8308b31e96cc5bf Mon Sep 17 00:00:00 2001 From: Liam DeBeasi Date: Wed, 25 Oct 2023 16:48:33 -0400 Subject: [PATCH] test(alert): add annotations (#28414) Issue number: N/A --------- ## What is the current behavior? I forgot to add annotations to tests to indicate the bug fix they are validating: https://github.com/ionic-team/ionic-framework/pull/28408 ## What is the new behavior? - Added annotations ## Does this introduce a breaking change? - [ ] Yes - [x] No ## Other information --- 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 eecb703d6f..a5e454e758 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( `