chore(headless SSR): create commerce SSR sub-package #21101
Annotations
3 errors, 1 warning, and 1 notice
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L217
1) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:9 › with instant results & query suggestions › with recent queries › should display recent queries
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel(/recent query\.(?: Button\.)? \d of \d\./).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByLabel(/recent query\.(?: Button\.)? \d of \d\./).first()
215 |
216 | test('should display recent queries', async ({searchBox}) => {
> 217 | await expect(searchBox.recentQueries().first()).toBeVisible();
| ^
218 | });
219 |
220 | test('should clear recent queries when clicking the clear button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:217:55
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L256
2) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:253:9 › with instant results & query suggestions › after clicking the searchbox input › should be A11y compliant
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 190
- Array []
+ Array [
+ Object {
+ "description": "Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
+ "help": "Interactive controls must not be nested",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/nested-interactive?application=playwright",
+ "id": "nested-interactive",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "no-focusable-content",
+ "impact": "serious",
+ "message": "Element has focusable descendants",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"https://sports.barca.group/pdp/SP01006_00004\" target=\"_self\"><atomic-product-text data-atomic-rendered=\"true\" data-atomic-loaded=\"true\" innerhtml=\"Gulp! <b>Kayak</b>\" field=\"ec_name\" should-highlight=\"\" default=\"no-title\" class=\"hydrated\">Gulp! <b>Kayak</b></atomic-product-text></a>",
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-th19y-right-suggestion-instant-result-SP01006_00004 > atomic-product",
+ "a[target=\"_self\"]",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has focusable descendants",
+ "html": "<button id=\"atomic-commerce-search-box-th19y-right-suggestion-instant-result-SP01006_00004\" part=\"suggestion instant-results-item\" class=\"flex px-4 min-h-[40px] items-center text-left text-neutral-dark cursor-pointer\" aria-label=\"Gulp! Kayak, instant result. 1 of 6. In Right list.\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-th19y-right-suggestion-instant-result-SP01006_00004",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "no-focusable-content",
+ "impact": "serious",
+ "message": "Element has focusable descendants",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"https://sports.barca.group/pdp/SP01009_00004\" target=\"_self\"><atomic-product-text data-atomic-rendered=\"true\" data-atomic-loaded=\"true\" innerhtml=\"Gulp! <b>Kayak</b>\" field=\"ec_name\" should-highlight=\"\" default=\"no-title\" class=\"hydrated\">Gulp! <b>Kayak</b></atomic-product-text></a>",
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-th19y-right-suggestion-instant-result-SP01009_00004 > atomic-product",
+ "a[target=\"_self\"]",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has focusable descendants",
+ "html": "<button id=\"atomic-commerce-search-box-th19y-right-suggestion-instant-result-SP01009_00004\" part=\"suggestion instant-results-item
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L256
2) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:253:9 › with instant results & query suggestions › after clicking the searchbox input › should be A11y compliant
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 190
- Array []
+ Array [
+ Object {
+ "description": "Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",
+ "help": "Interactive controls must not be nested",
+ "helpUrl": "https://dequeuniversity.com/rules/axe/4.9/nested-interactive?application=playwright",
+ "id": "nested-interactive",
+ "impact": "serious",
+ "nodes": Array [
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "no-focusable-content",
+ "impact": "serious",
+ "message": "Element has focusable descendants",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"https://sports.barca.group/pdp/SP01006_00004\" target=\"_self\"><atomic-product-text data-atomic-rendered=\"true\" data-atomic-loaded=\"true\" innerhtml=\"Gulp! <b>Kayak</b>\" field=\"ec_name\" should-highlight=\"\" default=\"no-title\" class=\"hydrated\">Gulp! <b>Kayak</b></atomic-product-text></a>",
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-8kgyp-right-suggestion-instant-result-SP01006_00004 > atomic-product",
+ "a[target=\"_self\"]",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has focusable descendants",
+ "html": "<button id=\"atomic-commerce-search-box-8kgyp-right-suggestion-instant-result-SP01006_00004\" part=\"suggestion instant-results-item\" class=\"flex px-4 min-h-[40px] items-center text-left text-neutral-dark cursor-pointer\" aria-label=\"Gulp! Kayak, instant result. 1 of 6. In Right list.\">",
+ "impact": "serious",
+ "none": Array [],
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-8kgyp-right-suggestion-instant-result-SP01006_00004",
+ ],
+ ],
+ },
+ Object {
+ "all": Array [],
+ "any": Array [
+ Object {
+ "data": null,
+ "id": "no-focusable-content",
+ "impact": "serious",
+ "message": "Element has focusable descendants",
+ "relatedNodes": Array [
+ Object {
+ "html": "<a href=\"https://sports.barca.group/pdp/SP01009_00004\" target=\"_self\"><atomic-product-text data-atomic-rendered=\"true\" data-atomic-loaded=\"true\" innerhtml=\"Gulp! <b>Kayak</b>\" field=\"ec_name\" should-highlight=\"\" default=\"no-title\" class=\"hydrated\">Gulp! <b>Kayak</b></atomic-product-text></a>",
+ "target": Array [
+ Array [
+ "atomic-commerce-search-box",
+ "#atomic-commerce-search-box-8kgyp-right-suggestion-instant-result-SP01009_00004 > atomic-product",
+ "a[target=\"_self\"]",
+ ],
+ ],
+ },
+ ],
+ },
+ ],
+ "failureSummary": "Fix any of the following:
+ Element has focusable descendants",
+ "html": "<button id=\"atomic-commerce-s
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "result-lists-screenshots".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
2 flaky
[webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:9 › with instant results & query suggestions › with recent queries › should display recent queries
[webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:253:9 › with instant results & query suggestions › after clicking the searchbox input › should be A11y compliant
23 passed (1.2m)
|
This job succeeded
Loading