feat(target-size-automation): adding target size to the needs-review rules #7742
Annotations
5 errors
yarn test:e2e:
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)
|
yarn test:e2e:
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)
|
yarn test:e2e:
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)
|
yarn test:e2e:
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)
|
yarn test:e2e
Process completed with exit code 1.
|
Loading