Skip to content

feat(target-size-automation): adding target size to the needs-review rules #7741

feat(target-size-automation): adding target size to the needs-review rules

feat(target-size-automation): adding target size to the needs-review rules #7741

Triggered via pull request May 16, 2024 16:42
Status Failure
Total duration 5m 51s
Artifacts 7

ci.yml

on: pull_request
Matrix: unit-tests
Matrix: e2e-web-tests
publish-code-coverage
13s
publish-code-coverage
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 2 warnings
lints
Process completed with exit code 1.
Guidance Content pages › test/parsing/guidance › has no accessibility issues with highContrastMode=true: src/tests/end-to-end/tests/content/guidance-content.test.ts#L49
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"id": "target-size", "nodes": [{"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(1)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(2)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(3)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(5)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(7)"]}]}] at toHaveLength (src/tests/end-to-end/tests/content/guidance-content.test.ts:49:33)
Guidance Content pages › test/parsing/guidance › has no accessibility issues with highContrastMode=false: src/tests/end-to-end/tests/content/guidance-content.test.ts#L49
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"id": "target-size", "nodes": [{"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(1)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(2)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(10) > a:nth-child(3)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(5)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(7)"]}]}] at toHaveLength (src/tests/end-to-end/tests/content/guidance-content.test.ts:49:33)
Guidance Content pages › test/parsing/parsingContent/infoAndExamples › has no accessibility issues with highContrastMode=true: src/tests/end-to-end/tests/content/guidance-content.test.ts#L49
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"id": "target-size", "nodes": [{"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(12) > a"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(1)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(2)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(3)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(5)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(16) > a:nth-child(1)"]}]}] at toHaveLength (src/tests/end-to-end/tests/content/guidance-content.test.ts:49:33)
Guidance Content pages › test/parsing/parsingContent/infoAndExamples › has no accessibility issues with highContrastMode=false: src/tests/end-to-end/tests/content/guidance-content.test.ts#L49
expect(received).toHaveLength(expected) Expected length: 0 Received length: 1 Received array: [{"id": "target-size", "nodes": [{"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(12) > a"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(1)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(2)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(14) > a:nth-child(3)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": ["a:nth-child(5)"]}, {"failureSummary": "Fix any of the following: Target has insufficient size (1120px by 20px, should be at least 24px by 24px) Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of 0px instead of at least 24px.", "selector": [".content-hyperlinks:nth-child(16) > a:nth-child(1)"]}]}] at toHaveLength (src/tests/end-to-end/tests/content/guidance-content.test.ts:49:33)
e2e-web-tests (1/2)
Process completed with exit code 1.
codeql
This run of the CodeQL Action does not have permission to access Code Scanning API endpoints. As a result, it will not be opted into any experimental features. This could be because the Action is running on a pull request from a fork. If not, please ensure the Action has the 'security-events: write' permission. Details: Resource not accessible by integration
codeql
Feature flags do not specify a default CLI version. Falling back to the CLI version shipped with the Action. This is 2.17.2.

Artifacts

Produced during runtime
Name Size
build-results
53.2 MB
e2e-report-tests-results
545 Bytes
e2e-web-tests-1-debug-logs
91 MB
e2e-web-tests-1-results
7.46 KB
e2e-web-tests-2-results
2.04 KB
unit-tests-1-results
155 KB
unit-tests-2-results
156 KB