Skip to content

feat: Provide loader function for dynamically imported i18n messages #4236

feat: Provide loader function for dynamically imported i18n messages

feat: Provide loader function for dynamically imported i18n messages #4236

Triggered via pull request July 25, 2023 14:16
Status Failure
Total duration 40m 1s
Artifacts 2
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

dry-run.yml

on: pull_request
dry-run  /  Build browser-test-tools
3m 16s
dry-run / Build browser-test-tools
dry-run  /  Build documenter
2m 8s
dry-run / Build documenter
dry-run  /  Build global-styles
55s
dry-run / Build global-styles
dry-run  /  Build collection-hooks
48s
dry-run / Build collection-hooks
dry-run  /  Build jest-preset
23s
dry-run / Build jest-preset
dry-run  /  Build component-toolkit
1m 25s
dry-run / Build component-toolkit
dry-run  /  Build theming-core
1m 3s
dry-run / Build theming-core
dry-run  /  Build test-utils
1m 15s
dry-run / Build test-utils
dry-run  /  Build components
6m 11s
dry-run / Build components
dry-run  /  Build board components
3m 31s
dry-run / Build board components
dry-run  /  Components unit tests
9m 17s
dry-run / Components unit tests
dry-run  /  Components integration tests
18m 27s
dry-run / Components integration tests
dry-run  /  Components accessibility tests
28m 34s
dry-run / Components accessibility tests
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 39 warnings
dynamic messages are loaded correctly: src/i18n/__integ__/i18n.test.ts#L23
Element "body [class*="awsui_root_brdst"] [class*="awsui_add-button_n4qlp"]" is not visible upon waiting at node_modules/webdriverio/build/commands/browser/waitUntil.js:66:23 at runMicrotasks (<anonymous>) at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:137:29) at BasePageObject.waitForVisible (node_modules/@cloudscape-design/browser-test-tools/dist/page-objects/base.js:144:9) at src/i18n/__integ__/i18n.test.ts:23:5 at src/i18n/__integ__/i18n.test.ts:15:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
dry-run / Components integration tests
Process completed with exit code 1.
A11y checks for dark default › #/dark/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#2a2e33", "contrastRatio": 3.41, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
A11y checks for light default › #/light/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body>", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
A11y checks for light visual-refresh › #/light/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
A11y checks for dark visual-refresh › #/dark/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#0f1b2a", "contrastRatio": 4.33, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 4.33 (foreground color: #ff0000, background color: #0f1b2a, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 4.33 (foreground color: #ff0000, background color: #0f1b2a, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
dry-run / Components accessibility tests
Process completed with exit code 1.
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Unexpected any. Specify a different type
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "className" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
dry-run / Build board components
Prop "id" is forbidden on Components
RETRY 1: Keyboard navigation › with one single series › line series is navigable with keyboard: src/line-chart/__integ__/line-chart.test.ts#L34
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/line-chart/__integ__/line-chart.test.ts:34:5 at src/line-chart/__integ__/line-chart.test.ts:31:3 at Object.<anonymous> (src/line-chart/__integ__/line-chart.test.ts:30:1)
RETRY 1: Multiselect with keepOpen=false › opens with selected options: src/multiselect/__integ__/multiselect.test.ts#L22
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/multiselect/__integ__/multiselect.test.ts:22:5 at src/multiselect/__integ__/multiselect.test.ts:18:3 at Array.forEach (<anonymous>) at Object.<anonymous> (src/multiselect/__integ__/multiselect.test.ts:17:15)
RETRY 1: Segments › can be highlighted with mouse hover: src/pie-chart/__integ__/pie-chart.test.ts#L37
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/pie-chart/__integ__/pie-chart.test.ts:37:3 at Object.<anonymous> (src/pie-chart/__integ__/pie-chart.test.ts:36:1)
RETRY 1: Legend › can be controlled with mouse: src/mixed-line-bar-chart/__integ__/mixed-line-bar-chart.test.ts#L39
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/mixed-line-bar-chart/__integ__/mixed-line-bar-chart.test.ts:39:3 at Object.<anonymous> (src/mixed-line-bar-chart/__integ__/mixed-line-bar-chart.test.ts:38:1)
RETRY 1: ButtonDropdown expandableGroups property (with expandToViewport=true) › groups are initially closed: src/button-dropdown/__integ__/button-dropdown-expandable.test.ts#L25
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/button-dropdown/__integ__/button-dropdown-expandable.test.ts:25:5 at Array.forEach (<anonymous>) at Object.<anonymous> (src/button-dropdown/__integ__/button-dropdown-expandable.test.ts:22:29)
RETRY 1: Filter › can hide/un-hide series with a filter: src/area-chart/__integ__/area-chart.test.ts#L16
thrown: "Exceeded timeout of 60000 ms for a test. Use jest.setTimeout(newTimeout) to increase the timeout value, if this is a long-running test." at src/area-chart/__integ__/area-chart.test.ts:16:3 at Object.<anonymous> (src/area-chart/__integ__/area-chart.test.ts:15:1)
RETRY 1: dynamic messages are loaded correctly: src/i18n/__integ__/i18n.test.ts#L23
Element "body [class*="awsui_root_brdst"] [class*="awsui_add-button_n4qlp"]" is not visible upon waiting at node_modules/webdriverio/build/commands/browser/waitUntil.js:66:23 at runMicrotasks (<anonymous>) at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:137:29) at BasePageObject.waitForVisible (node_modules/@cloudscape-design/browser-test-tools/dist/page-objects/base.js:144:9) at src/i18n/__integ__/i18n.test.ts:23:5 at src/i18n/__integ__/i18n.test.ts:15:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 2: dynamic messages are loaded correctly: src/i18n/__integ__/i18n.test.ts#L23
Element "body [class*="awsui_root_brdst"] [class*="awsui_add-button_n4qlp"]" is not visible upon waiting at node_modules/webdriverio/build/commands/browser/waitUntil.js:66:23 at runMicrotasks (<anonymous>) at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:137:29) at BasePageObject.waitForVisible (node_modules/@cloudscape-design/browser-test-tools/dist/page-objects/base.js:144:9) at src/i18n/__integ__/i18n.test.ts:23:5 at src/i18n/__integ__/i18n.test.ts:15:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 3: dynamic messages are loaded correctly: src/i18n/__integ__/i18n.test.ts#L23
Element "body [class*="awsui_root_brdst"] [class*="awsui_add-button_n4qlp"]" is not visible upon waiting at node_modules/webdriverio/build/commands/browser/waitUntil.js:66:23 at runMicrotasks (<anonymous>) at Browser.wrapCommandFn (node_modules/@wdio/utils/build/shim.js:137:29) at BasePageObject.waitForVisible (node_modules/@cloudscape-design/browser-test-tools/dist/page-objects/base.js:144:9) at src/i18n/__integ__/i18n.test.ts:23:5 at src/i18n/__integ__/i18n.test.ts:15:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'loadCallback'. Either include it or remove the dependency array. If 'loadCallback' changes too often, find the parent component that defines it and wrap that definition in useCallback
dry-run / Demos tests
'React' is defined but never used
dry-run / Demos tests
'Alert' is defined but never used
dry-run / Demos tests
'Box' is defined but never used
dry-run / Demos tests
'ExternalLink' is defined but never used
dry-run / Demos tests
'setVisible' is assigned a value but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'AppLayout' is defined but never used
dry-run / Demos tests
'Link' is defined but never used
dry-run / Demos tests
React Hook useEffect has a missing dependency: 'updateDirty'. Either include it or remove the dependency array. If 'updateDirty' changes too often, find the parent component that defines it and wrap that definition in useCallback
RETRY 1: A11y checks for dark default › #/dark/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#2a2e33", "contrastRatio": 3.41, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 2: A11y checks for dark default › #/dark/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#2a2e33", "contrastRatio": 3.41, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 3: A11y checks for dark default › #/dark/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#2a2e33", "contrastRatio": 3.41, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.41 (foreground color: #ff0000, background color: #2a2e33, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 1: A11y checks for light default › #/light/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body>", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 2: A11y checks for light default › #/light/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body>", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 3: A11y checks for light default › #/light/i18n/dynamic?visualRefresh=false: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body>", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 1: A11y checks for light visual-refresh › #/light/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 2: A11y checks for light visual-refresh › #/light/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 3: A11y checks for light visual-refresh › #/light/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#ffffff", "contrastRatio": 3.99, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 3.99 (foreground color: #ff0000, background color: #ffffff, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)
RETRY 1: A11y checks for dark visual-refresh › #/dark/i18n/dynamic?visualRefresh=true: src/__a11y__/a11y-page-object.ts#L96
expect(received).toHaveLength(expected) Expected length: 0 Received length: 2 Received array: [{"description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", "help": "Elements must have sufficient color contrast", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/color-contrast?application=axeAPI", "id": "color-contrast", "impact": "serious", "nodes": [{"all": [], "any": [{"data": {"bgColor": "#0f1b2a", "contrastRatio": 4.33, "expectedContrastRatio": "4.5:1", "fgColor": "#ff0000", "fontSize": "12.0pt (16px)", "fontWeight": "normal", "messageKey": null, "shadowColor": null}, "id": "color-contrast", "impact": "serious", "message": "Element has insufficient color contrast of 4.33 (foreground color: #ff0000, background color: #0f1b2a, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "relatedNodes": [{"html": "<body class=\"awsui-visual-refresh awsui-dark-mode\">", "target": ["body"]}]}], "failureSummary": "Fix any of the following: Element has insufficient color contrast of 4.33 (foreground color: #ff0000, background color: #0f1b2a, font size: 12.0pt (16px), font weight: normal). Expected contrast ratio of 4.5:1", "html": "<span style=\"color: red; white-space: pre;\">", "impact": "serious", "none": [], "target": ["span"]}], "tags": ["cat.color", "wcag2aa", "wcag143"]}, {"description": "Ensure that the page, or at least one of its frames contains a level-one heading", "help": "Page should contain a level-one heading", "helpUrl": "https://dequeuniversity.com/rules/axe/4.4/page-has-heading-one?application=axeAPI", "id": "page-has-heading-one", "impact": "moderate", "nodes": [{"all": [{"data": null, "id": "page-has-heading-one", "impact": "moderate", "message": "Page must have a level-one heading", "relatedNodes": []}], "any": [], "failureSummary": "Fix all of the following: Page must have a level-one heading", "html": "<html lang=\"en\">", "impact": "moderate", "none": [], "target": ["html"]}], "tags": ["cat.semantics", "best-practice"]}] at A11yPageObject.assertNoAxeViolations (src/__a11y__/a11y-page-object.ts:96:31) at runMicrotasks (<anonymous>) at src/__a11y__/run-a11y-tests.ts:17:5 at Object.<anonymous> (node_modules/@cloudscape-design/browser-test-tools/dist/use-browser.js:28:13)

Artifacts

Produced during runtime
Name Size
components-package Expired
99.5 MB
dependencies Expired
324 KB