Skip to content

Testing: Add e2e test for basic ContrastChecker functionality #124316

Testing: Add e2e test for basic ContrastChecker functionality

Testing: Add e2e test for basic ContrastChecker functionality #124316

Triggered via pull request January 30, 2025 08:00
Status Failure
Total duration 18m 57s
Artifacts 1

end2end-test.yml

on: pull_request
Matrix: e2e-playwright
Merge Artifacts
7s
Merge Artifacts
Report to GitHub
0s
Report to GitHub
Fit to window
Zoom out
Zoom in

Annotations

5 errors, 8 warnings, and 8 notices
[chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast: test/e2e/specs/editor/various/contrast-checker.spec.js#L53
1) [chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast › Check white text on default background Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.block-editor-contrast-checker') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.block-editor-contrast-checker') 51 | '.block-editor-contrast-checker' 52 | ); > 53 | await expect( lowContrastWarning ).toBeVisible(); | ^ 54 | await expect( lowContrastWarning ).toContainText( WARNING_TEXT ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:53:39 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:39:3
[chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast: test/e2e/specs/editor/various/contrast-checker.spec.js#L53
1) [chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast › Check white text on default background Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.block-editor-contrast-checker') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.block-editor-contrast-checker') 51 | '.block-editor-contrast-checker' 52 | ); > 53 | await expect( lowContrastWarning ).toBeVisible(); | ^ 54 | await expect( lowContrastWarning ).toContainText( WARNING_TEXT ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:53:39 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:39:3
[chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast: test/e2e/specs/editor/various/contrast-checker.spec.js#L53
1) [chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast › Check white text on default background Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.block-editor-contrast-checker') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.block-editor-contrast-checker') 51 | '.block-editor-contrast-checker' 52 | ); > 53 | await expect( lowContrastWarning ).toBeVisible(); | ^ 54 | await expect( lowContrastWarning ).toContainText( WARNING_TEXT ); 55 | } ); 56 | } ); at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:53:39 at /home/runner/work/gutenberg/gutenberg/test/e2e/specs/editor/various/contrast-checker.spec.js:39:3
Playwright - 3
Process completed with exit code 1.
Merge Artifacts
No artifacts found matching pattern 'flaky-tests-report*'
Playwright - 6
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 4
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 3
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 7
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 1
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 2
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 5
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
Playwright - 8
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@0c45773b623bea8c8e75f6c82b208c3cf94ea4f9. Please update your workflow to use either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
🎭 Playwright Run Summary
2 skipped 200 passed (5.7m)
🎭 Playwright Run Summary
1 failed [chromium] › editor/various/contrast-checker.spec.js:13:2 › ContrastChecker › should show warning for insufficient contrast 1 skipped 184 passed (8.1m)
🎭 Playwright Run Summary
1 skipped 224 passed (9.1m)
🎭 Playwright Run Summary
1 skipped 210 passed (8.7m)
🎭 Playwright Run Summary
1 skipped 174 passed (7.9m)
🎭 Playwright Run Summary
207 passed (9.1m)
🎭 Playwright Run Summary
3 skipped 188 passed (10.9m)
🎭 Playwright Run Summary
1 skipped 206 passed (11.0m)

Artifacts

Produced during runtime
Name Size
failures-artifacts
5.39 MB