Playwright #768
Annotations
2 errors, 2 warnings, and 1 notice
playwright/support/helper.ts#L55
1) [chromium] › src/components/drawer/drawer.pw.tsx:356:9 › Accessibility tests for Drawer component › should pass accessibility tests when animation time is set to 3s
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 124
- Array []
+ Array [
+ Object {
+ "description": "Ensures 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.7/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#edf1f2",
+ "contrastRatio": 4.13,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#727474",
+ "fontSize": "10.5pt (14px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 4.13 (foreground color: #727474, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"sc-eNQAEJ cakBln closed closing\">",
+ "target": Array [
+ ".sc-eNQAEJ",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 4.13 (foreground color: #727474, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<li>link a</li>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ "li:nth-child(1)",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#edf1f2",
+ "contrastRatio": 4.13,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#727474",
+ "fontSize": "10.5pt (14px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 4.13 (foreground color: #727474, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"sc-eNQAEJ cakBln closed closing\">",
+ "target": Array [
+ ".sc-eNQAEJ",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 4.13 (foreground color: #727474, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<li>link b</li>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ "li:nth-child(2)",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#edf1f2",
+ "contrastRatio"
|
playwright/support/helper.ts#L55
1) [chromium] › src/components/drawer/drawer.pw.tsx:356:9 › Accessibility tests for Drawer component › should pass accessibility tests when animation time is set to 3s
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 124
- Array []
+ Array [
+ Object {
+ "description": "Ensures 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.7/color-contrast?application=playwright",
+ "id": "color-contrast",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#edf1f2",
+ "contrastRatio": 1.07,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#e5e9ea",
+ "fontSize": "10.5pt (14px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 1.07 (foreground color: #e5e9ea, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"sc-eNQAEJ cakBln closed closing\">",
+ "target": Array [
+ ".sc-eNQAEJ",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 1.07 (foreground color: #e5e9ea, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<li>link a</li>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ "li:nth-child(1)",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#edf1f2",
+ "contrastRatio": 1.07,
+ "expectedContrastRatio": "4.5:1",
+ "fgColor": "#e5e9ea",
+ "fontSize": "10.5pt (14px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 1.07 (foreground color: #e5e9ea, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"sc-eNQAEJ cakBln closed closing\">",
+ "target": Array [
+ ".sc-eNQAEJ",
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 1.07 (foreground color: #e5e9ea, background color: #edf1f2, font size: 10.5pt (14px), font weight: normal). Expected contrast ratio of 4.5:1",
+ "html": "<li>link b</li>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ "li:nth-child(2)",
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+
|
|
|
|
The logs for this run have expired and are no longer available.
Loading