Skip to content

feat(tokens): add gray and text colors #17615

feat(tokens): add gray and text colors

feat(tokens): add gray and text colors #17615

Triggered via pull request December 3, 2025 23:37
@thetaPCthetaPC
synchronize #30799
FW-6751
Status Failure
Total duration 7m 12s
Artifacts 8

build.yml

on: pull_request
build-react
59s
build-react
build-vue
45s
build-vue
Matrix: test-core-screenshot
build-angular
1m 5s
build-angular
build-angular-server
39s
build-angular-server
test-core-clean-build
8s
test-core-clean-build
test-core-lint
55s
test-core-lint
test-core-spec
48s
test-core-spec
build-react-router
36s
build-react-router
build-vue-router
46s
build-vue-router
verify-screenshots
3s
verify-screenshots
Matrix: test-angular-e2e
Matrix: test-react-e2e
Matrix: test-react-router-e2e
Matrix: test-vue-e2e
verify-test-angular-e2e
3s
verify-test-angular-e2e
verify-test-react-e2e
3s
verify-test-react-e2e
verify-test-react-router-e2e
3s
verify-test-react-router-e2e
verify-test-vue-e2e
3s
verify-test-vue-e2e
Fit to window
Zoom out
Zoom in

Annotations

64 errors and 1 notice
test-core-spec
Process completed with exit code 1.
test-core-screenshot (7, 20)
Process completed with exit code 1.
[Mobile Firefox] › src/css/test/typography/a11y/typography.e2e.ts:40:9 › typography: a11y - md/ltr/dark › should not have accessibility violations for anchor tags: src/css/test/typography/a11y/typography.e2e.ts#L56
2) [Mobile Firefox] › src/css/test/typography/a11y/typography.e2e.ts:40:9 › typography: a11y - md/ltr/dark › should not have accessibility violations for anchor tags Error: expect(received).toEqual(expected) // deep equality - Expected - 1 + Received + 66 - Array [] + Array [ + Object { + "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds", + "help": "Elements must meet minimum color contrast ratio thresholds", + "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast?application=playwright", + "id": "color-contrast", + "impact": "serious", + "nodes": Array [ + Object { + "all": Array [], + "any": Array [ + Object { + "data": Object { + "bgColor": "#121212", + "contrastRatio": 3.07, + "expectedContrastRatio": "4.5:1", + "fgColor": "#0054e9", + "fontSize": "12.0pt (16px)", + "fontWeight": "normal", + "messageKey": null, + }, + "id": "color-contrast", + "impact": "serious", + "message": "Element has insufficient color contrast of 3.07 (foreground color: #0054e9, background color: #121212, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", + "relatedNodes": Array [ + Object { + "html": "<body> + + <main> + <a href=\"#\">Link</a> + </main> + + + + </body>", + "target": Array [ + "body", + ], + }, + ], + }, + ], + "failureSummary": "Fix any of the following: + Element has insufficient color contrast of 3.07 (foreground color: #0054e9, background color: #121212, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", + "html": "<a href=\"#\">Link</a>", + "impact": "serious", + "none": Array [], + "target": Array [ + "a", + ], + }, + ], + "tags": Array [ + "cat.color", + "wcag2aa", + "wcag143", + "TTv5", + "TT13.c", + "EN-301-549", + "EN-9.1.4.3", + "ACT", + "RGAAv4", + "RGAA-3.2.1", + ], + }, + ] 54 | const results = await new AxeBuilder({ page }).analyze(); 55 | > 56 | expect(results.violations).toEqual([]); | ^ 57 | }); 58 | }); 59 | }); at /ionic/src/css/test/typography/a11y/typography.e2e.ts:56:34
[Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions: src/components/action-sheet/test/translucent/action-sheet.e2e.ts#L17
1) [Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('ion-action-sheet') 19409 pixels (ratio 0.07 of all image pixels) are different. Snapshot: action-sheet-translucent-ios-ltr.png Call log: - Expect "toHaveScreenshot(action-sheet-translucent-ios-ltr.png)" with timeout 5000ms - verifying given screenshot expectation - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 19409 pixels (ratio 0.07 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 19409 pixels (ratio 0.07 of all image pixels) are different. 15 | 16 | const actionSheet = page.locator('ion-action-sheet'); > 17 | await expect(actionSheet).toHaveScreenshot(screenshot('action-sheet-translucent')); | ^ 18 | }); 19 | }); 20 | }); at /ionic/src/components/action-sheet/test/translucent/action-sheet.e2e.ts:17:33
[Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions: src/components/action-sheet/test/translucent/action-sheet.e2e.ts#L17
1) [Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('ion-action-sheet') 19409 pixels (ratio 0.07 of all image pixels) are different. Snapshot: action-sheet-translucent-ios-ltr.png Call log: - Expect "toHaveScreenshot(action-sheet-translucent-ios-ltr.png)" with timeout 5000ms - verifying given screenshot expectation - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 19409 pixels (ratio 0.07 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 19409 pixels (ratio 0.07 of all image pixels) are different. 15 | 16 | const actionSheet = page.locator('ion-action-sheet'); > 17 | await expect(actionSheet).toHaveScreenshot(screenshot('action-sheet-translucent')); | ^ 18 | }); 19 | }); 20 | }); at /ionic/src/components/action-sheet/test/translucent/action-sheet.e2e.ts:17:33
[Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions: src/components/action-sheet/test/translucent/action-sheet.e2e.ts#L17
1) [Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions Error: expect(locator).toHaveScreenshot(expected) failed Locator: locator('ion-action-sheet') 19409 pixels (ratio 0.07 of all image pixels) are different. Snapshot: action-sheet-translucent-ios-ltr.png Call log: - Expect "toHaveScreenshot(action-sheet-translucent-ios-ltr.png)" with timeout 5000ms - verifying given screenshot expectation - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - 19409 pixels (ratio 0.07 of all image pixels) are different. - waiting 100ms before taking screenshot - waiting for locator('ion-action-sheet') - locator resolved to <ion-action-sheet role="dialog" tabindex="-1" aria-modal="true" id="ion-overlay-1" aria-labelledby="action-sheet-1-header" class="sc-ion-action-sheet-ios-h ios action-sheet-translucent sc-ion-action-sheet-ios hydrated">…</ion-action-sheet> - taking element screenshot - disabled all CSS animations - waiting for fonts to load... - fonts loaded - attempting scroll into view action - waiting for element to be stable - captured a stable screenshot - 19409 pixels (ratio 0.07 of all image pixels) are different. 15 | 16 | const actionSheet = page.locator('ion-action-sheet'); > 17 | await expect(actionSheet).toHaveScreenshot(screenshot('action-sheet-translucent')); | ^ 18 | }); 19 | }); 20 | }); at /ionic/src/components/action-sheet/test/translucent/action-sheet.e2e.ts:17:33
test-core-screenshot (1, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (1, 20)
Process completed with exit code 12.
test-core-screenshot (1, 20)
The operation was canceled.
test-core-screenshot (2, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (2, 20)
Process completed with exit code 12.
test-core-screenshot (2, 20)
The operation was canceled.
test-core-screenshot (12, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (12, 20)
Process completed with exit code 12.
test-core-screenshot (12, 20)
The operation was canceled.
test-core-screenshot (6, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (6, 20)
Process completed with exit code 12.
test-core-screenshot (6, 20)
The operation was canceled.
test-core-screenshot (9, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (9, 20)
Process completed with exit code 12.
test-core-screenshot (9, 20)
The operation was canceled.
test-core-screenshot (3, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (19, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (19, 20)
Process completed with exit code 12.
test-core-screenshot (3, 20)
Process completed with exit code 12.
test-core-screenshot (19, 20)
The operation was canceled.
test-core-screenshot (3, 20)
The operation was canceled.
test-core-screenshot (4, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (4, 20)
Process completed with exit code 12.
test-core-screenshot (4, 20)
The operation was canceled.
test-core-screenshot (17, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (17, 20)
Process completed with exit code 12.
test-core-screenshot (17, 20)
The operation was canceled.
test-core-screenshot (13, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (13, 20)
Process completed with exit code 12.
test-core-screenshot (13, 20)
The operation was canceled.
test-core-screenshot (5, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (5, 20)
Process completed with exit code 12.
test-core-screenshot (5, 20)
The operation was canceled.
test-core-screenshot (18, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (18, 20)
Process completed with exit code 12.
test-core-screenshot (18, 20)
The operation was canceled.
test-core-screenshot (11, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (11, 20)
Process completed with exit code 12.
test-core-screenshot (11, 20)
The operation was canceled.
test-core-screenshot (15, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (15, 20)
Process completed with exit code 12.
test-core-screenshot (15, 20)
The operation was canceled.
test-core-screenshot (8, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (8, 20)
Process completed with exit code 12.
test-core-screenshot (8, 20)
The operation was canceled.
test-core-screenshot (16, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (16, 20)
Process completed with exit code 12.
test-core-screenshot (16, 20)
The operation was canceled.
test-core-screenshot (14, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (14, 20)
Process completed with exit code 12.
test-core-screenshot (14, 20)
The operation was canceled.
test-core-screenshot (20, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (20, 20)
Process completed with exit code 12.
test-core-screenshot (20, 20)
The operation was canceled.
test-core-screenshot (10, 20)
The strategy configuration was canceled because "test-core-screenshot._7_20" failed
test-core-screenshot (10, 20)
Process completed with exit code 12.
test-core-screenshot (10, 20)
The operation was canceled.
verify-screenshots
Process completed with exit code 1.
🎭 Playwright Run Summary
1 failed [Mobile Chrome] › src/components/action-sheet/test/translucent/action-sheet.e2e.ts:6:9 › action sheet: translucent - ios/ltr › should not have visual regressions 1 flaky [Mobile Firefox] › src/css/test/typography/a11y/typography.e2e.ts:40:9 › typography: a11y - md/ltr/dark › should not have accessibility violations for anchor tags 360 skipped 273 passed (2.4m)

Artifacts

Produced during runtime
Name Size Digest
ionic-angular
776 KB
sha256:ece3d29c261a6beffc40946c56474d2c95d3bf334ec4d6e3920c357614bced20
ionic-angular-server
8.55 KB
sha256:15dfdf83dd463dc127e19bbc6be9a39006d2c5d781e5c42d7cce5334aa237261
ionic-core
5.17 MB
sha256:c9edc1cda6aeca3bb3c37d6829135fbac8a4975eac4601d082cc34367a091100
ionic-react
314 KB
sha256:30fd68bbe0578c8c9775ebeaee8a15b16ab8c6f672c4b46811e1ba579efbc1de
ionic-react-router
27.9 KB
sha256:ca5a6a899afcaf64d8b05eff73efdc2a3a20a3a252a63cb5bcba496e900ccc2e
ionic-vue
345 KB
sha256:39208468c9fda729c4e4b0e1783acb856ab8f774167cb04e1b6cd456cab3d2ea
ionic-vue-router
17 KB
sha256:9c9f6b2585f4fa0afeb65b56277d3789fc44629863ff335e0da9aa470097cfb9
test-results-7-20
4.21 MB
sha256:d4358518eb7441799f9d1e13754b6722c3f9a9d43d53ccc1fde9499c2db1e803