Skip to content

Commit dc94ae0

Browse files
authored
test(alert): add annotations (#28414)
Issue number: N/A --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> I forgot to add annotations to tests to indicate the bug fix they are validating: #28408 ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> - Added annotations ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. -->
1 parent 8e2f818 commit dc94ae0

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Diff for: core/src/components/alert/test/a11y/alert.e2e.ts

+10-2
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ const testAria = async (
3030

3131
configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, config }) => {
3232
test.describe(title('alert: text wrapping'), () => {
33-
test('should break on words and white spaces for radios', async ({ page }) => {
33+
test('should break on words and white spaces for radios', async ({ page }, testInfo) => {
34+
testInfo.annotations.push({
35+
type: 'issue',
36+
description: 'https://github.com/ionic-team/ionic-framework/issues/28406',
37+
});
3438
await page.setContent(
3539
`
3640
<ion-alert header='Text Wrapping'></ion-alert>
@@ -54,7 +58,11 @@ configs({ modes: ['ios'], directions: ['ltr'] }).forEach(({ title, screenshot, c
5458

5559
await expect(page).toHaveScreenshot(screenshot(`alert-radio-text-wrap`));
5660
});
57-
test('should break on words and white spaces for checkboxes', async ({ page }) => {
61+
test('should break on words and white spaces for checkboxes', async ({ page }, testInfo) => {
62+
testInfo.annotations.push({
63+
type: 'issue',
64+
description: 'https://github.com/ionic-team/ionic-framework/issues/28406',
65+
});
5866
await page.setContent(
5967
`
6068
<ion-alert header='Text Wrapping'></ion-alert>

0 commit comments

Comments
 (0)