test(set-content): use the proper theme keyterm #17536
build.yml
on: pull_request
build-core
1m 30s
Matrix: test-core-screenshot
test-core-clean-build
13s
test-core-lint
57s
test-core-spec
47s
verify-screenshots
4s
Matrix: test-angular-e2e
Matrix: test-react-e2e
Matrix: test-react-router-e2e
Matrix: test-vue-e2e
verify-test-angular-e2e
3s
verify-test-react-e2e
3s
verify-test-react-router-e2e
2s
verify-test-vue-e2e
3s
Annotations
38 errors and 1 notice
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should pass AAA guidelines:
src/components/toast/test/a11y/toast.e2e.ts#L273
4) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should pass AAA guidelines
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 99
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
+ "help": "Elements must meet enhanced color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast-enhanced?application=playwright",
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "html": "<div class=\"toast-button-inner\">Cancel</div>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-button-cancel > .toast-button-inner",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "html"
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
3) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
84 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
3) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
84 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
3) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
84 pixels (ratio 0.01 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 84 pixels (ratio 0.01 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines:
src/components/toast/test/a11y/toast.e2e.ts#L273
2) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 99
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
+ "help": "Elements must meet enhanced color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast-enhanced?application=playwright",
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "html": "<div class=\"toast-button-inner\">Cancel</div>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-button-cancel > .toast-button-inner",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines:
src/components/toast/test/a11y/toast.e2e.ts#L273
2) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 99
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
+ "help": "Elements must meet enhanced color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast-enhanced?application=playwright",
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "html": "<div class=\"toast-button-inner\">Cancel</div>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-button-cancel > .toast-button-inner",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines:
src/components/toast/test/a11y/toast.e2e.ts#L273
2) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 99
- Array []
+ Array [
+ Object {
+ "description": "Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
+ "help": "Elements must meet enhanced color contrast ratio thresholds",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.11/color-contrast-enhanced?application=playwright",
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "html": "<div class=\"toast-button-inner\">Cancel</div>",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-button-cancel > .toast-button-inner",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": Object {
+ "bgColor": "#f2f2f2",
+ "contrastRatio": 5.44,
+ "expectedContrastRatio": "7:1",
+ "fgColor": "#0054e9",
+ "fontSize": "12.8pt (17px)",
+ "fontWeight": "normal",
+ "messageKey": null,
+ },
+ "id": "color-contrast-enhanced",
+ "impact": "serious",
+ "message": "Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "relatedNodes": Array [
+ Object {
+ "html": "<div class=\"toast-wrapper toast-bottom toast-layout-baseline\">",
+ "target": Array [
+ Array [
+ "#ion-overlay-1",
+ ".toast-wrapper",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has insufficient color contrast of 5.44 (foreground color: #0054e9, background color: #f2f2f2, font size: 12.8pt (17px), font weight: normal). Expected contrast ratio of 7:1",
+ "
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
1) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
22814 pixels (ratio 0.97 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
1) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
22814 pixels (ratio 0.97 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions:
src/components/toast/test/a11y/toast.e2e.ts#L262
1) [Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions
Error: expect(locator).toHaveScreenshot(expected) failed
Locator: locator('ion-toast').locator('.toast-wrapper')
22814 pixels (ratio 0.97 of all image pixels) are different.
Snapshot: toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png
Call log:
- Expect "toHaveScreenshot(toast-high-contrast-buttons-ios-ltr-high-contrast-dark.png)" with timeout 5000ms
- verifying given screenshot expectation
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
- waiting 100ms before taking screenshot
- waiting for locator('ion-toast').locator('.toast-wrapper')
- locator resolved to <div class="toast-wrapper toast-bottom toast-layout-baseline">…</div>
- 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
- 22814 pixels (ratio 0.97 of all image pixels) are different.
260 |
261 | const toastWrapper = toast.locator('.toast-wrapper');
> 262 | await expect(toastWrapper).toHaveScreenshot(screenshot(`toast-high-contrast-buttons`));
| ^
263 | });
264 |
265 | test('should pass AAA guidelines', async ({ page }) => {
at /ionic/src/components/toast/test/a11y/toast.e2e.ts:262:36
|
|
test-core-screenshot (6, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (5, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (1, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (13, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (15, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (4, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (18, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (17, 20)
The strategy configuration was canceled because "test-core-screenshot._19_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 (2, 20)
The strategy configuration was canceled because "test-core-screenshot._19_20" failed
|
|
test-core-screenshot (2, 20)
Process completed with exit code 12.
|
|
test-core-screenshot (2, 20)
The operation was canceled.
|
|
verify-screenshots
Process completed with exit code 1.
|
|
🎭 Playwright Run Summary
6 failed
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should not have visual regressions
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast-dark › should pass AAA guidelines
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should not have visual regressions
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:265:11 › toast: high contrast: buttons - ios/ltr/high-contrast › should pass AAA guidelines
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - md/ltr/high-contrast-dark › should not have visual regressions
[Mobile Safari] › src/components/toast/test/a11y/toast.e2e.ts:256:11 › toast: high contrast: buttons - md/ltr/high-contrast › should not have visual regressions
10 skipped
642 passed (7.1m)
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
test-results-19-20
|
15.1 MB |
sha256:aa56d20e7998a165faec0ebd4995d6a1c433cc3a38b417a618dd806b233574e1
|
|