Skip to content

chore(headless): add commerce entry to quantic use case mappings #24974

chore(headless): add commerce entry to quantic use case mappings

chore(headless): add commerce entry to quantic use case mappings #24974

Triggered via pull request November 27, 2024 18:47
Status Success
Total duration 32m 8s
Artifacts 27

prbot.yml

on: pull_request
Matrix: Run e2e tests on Atomic
Check with linter
4m 16s
Check with linter
Run unit tests
3m 25s
Run unit tests
Run e2e screenshots tests on Atomic
4m 39s
Run e2e screenshots tests on Atomic
Run e2e tests on Atomic React
2m 26s
Run e2e tests on Atomic React
Run e2e tests on Atomic React NextJS
2m 4s
Run e2e tests on Atomic React NextJS
Run e2e tests for IIFE
12s
Run e2e tests for IIFE
Run e2e tests on Atomic Angular
2m 12s
Run e2e tests on Atomic Angular
Run e2e tests on Vue.js sample
1m 19s
Run e2e tests on Vue.js sample
Run e2e tests on Stencil.js sample
2m 19s
Run e2e tests on Stencil.js sample
Run e2e tests for Atomic Hosted Page
2m 34s
Run e2e tests for Atomic Hosted Page
Run e2e tests for Headless Commerce SSR
3m 3s
Run e2e tests for Headless Commerce SSR
Run e2e tests on Atomic insight panel
4m 22s
Run e2e tests on Atomic insight panel
Run e2e tests on Headless SSR App router sample in dev mode
2m 51s
Run e2e tests on Headless SSR App router sample in dev mode
Run e2e tests on Headless SSR App router sample in prod mode
2m 17s
Run e2e tests on Headless SSR App router sample in prod mode
Run e2e tests on Headless SSR Pages router sample in dev mode
2m 49s
Run e2e tests on Headless SSR Pages router sample in dev mode
Run e2e tests on Headless SSR Pages router sample in prod mode
2m 15s
Run e2e tests on Headless SSR Pages router sample in prod mode
Should test Quantic?
1m 50s
Should test Quantic?
Run e2e tests on Atomic CSP
3m 25s
Run e2e tests on Atomic CSP
Determine Playwright E2E tests to run
1m 58s
Determine Playwright E2E tests to run
Verify compatibility of packages
1m 22s
Verify compatibility of packages
Run Quantic E2E tests  /  Setup e2e tests on Quantic
5m 45s
Run Quantic E2E tests / Setup e2e tests on Quantic
Matrix: Run Playwright tests for Atomic
Matrix: Run Quantic E2E tests / Run e2e tests on Quantic
Confirm build is valid (merge group)
0s
Confirm build is valid (merge group)
Merge Playwright reports
2m 17s
Merge Playwright reports
Run Quantic E2E tests  /  e2e-quantic-cleanup
1m 38s
Run Quantic E2E tests / e2e-quantic-cleanup
Confirm build is valid (PR)
10s
Confirm build is valid (PR)
Confirm build is valid
9s
Confirm build is valid
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 15 warnings, and 25 notices
[chromium] › components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:105:3 › with max-values-to-display set to total number of values (6) › should not render an indicator that more values are available: packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts#L108
1) [chromium] › components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:105:3 › with max-values-to-display set to total number of values (6) › should not render an indicator that more values are available Error: expect(locator).not.toBeVisible() Locator: locator('atomic-product-multi-value-text[class*="hydrated"]').first().getByText('more...') Expected: not visible Received: visible Call log: - expect.not.toBeVisible with timeout 7000ms - waiting for locator('atomic-product-multi-value-text[class*="hydrated"]').first().getByText('more...') 106 | productMultiValueText, 107 | }) => { > 108 | expect(productMultiValueText.moreValuesIndicator()).not.toBeVisible(); | ^ 109 | }); 110 | }); 111 | at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:108:61
[chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:71:3 › when the promotional price is the same as the original price › should render the price: packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/page-object.ts#L31
2) [chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:71:3 › when the promotional price is the same as the original price › should render the price TypeError: Cannot read properties of undefined (reading '0') at components/commerce/product-template-components/atomic-product-price/e2e/page-object.ts:31 29 | const response = await route.fetch(); 30 | const body = await response.json(); > 31 | body.products[0].ec_price = price; | ^ 32 | body.products[0].ec_promo_price = promoPrice; 33 | await route.fulfill({ 34 | response, at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/page-object.ts:31:20
[chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:71:3 › when the promotional price is the same as the original price › should render the price: packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts#L73
2) [chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:71:3 › when the promotional price is the same as the original price › should render the price Error: expect(locator).toBeVisible() Locator: getByText('$100.00') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 7000ms - waiting for getByText('$100.00') 71 | test('should render the price', async ({page}) => { 72 | const price = page.getByText('$100.00'); > 73 | await expect(price).toBeVisible(); | ^ 74 | await expect(price).not.toHaveClass(/.*line-through.*/); 75 | }); 76 | at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:73:25
[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer: packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L1
1) [chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer Test timeout of 30000ms exceeded.
[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer: packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L151
1) [chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer Error: locator.waitFor: Test timeout of 30000ms exceeded. Call log: - waiting for getByText('Generated answer', { exact: true }) to be visible 149 | await searchBox.searchInput.press('Enter'); 150 | > 151 | await tabManager.generatedAnswer.waitFor({state: 'visible'}); | ^ 152 | await expect(tabManager.generatedAnswer).toBeVisible(); 153 | }); 154 | }); at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:151:44
[chromium] › components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:151:5 › Quickview › when used in mobile mode › should open in full screen: packages/atomic/src/components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts#L143
1) [chromium] › components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:151:5 › Quickview › when used in mobile mode › should open in full screen Test timeout of 30000ms exceeded while running "beforeEach" hook. 141 | const {width, height} = mobileViewportSize(); 142 | > 143 | test.beforeEach(async ({quickview, page}) => { | ^ 144 | await quickview.load(); 145 | await page.setViewportSize({width, height}); 146 | await quickview.resultButton.click(); at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:143:10
[chromium] › components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:151:5 › Quickview › when used in mobile mode › should open in full screen: packages/atomic/src/components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts#L147
1) [chromium] › components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:151:5 › Quickview › when used in mobile mode › should open in full screen Error: locator.click: Test timeout of 30000ms exceeded. Call log: - waiting for getByRole('button', { name: 'Quick View' }) - locator resolved to <button part="button" title="Quick View" class="btn-outline-primary p-2 ripple-parent ripple-relative">…</button> - attempting click action - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #1 - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #2 - waiting 20ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #3 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #4 - waiting 100ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #5 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #6 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts pointer events - retrying click action, attempt #7 - waiting 500ms - waiting for element to be visible, enabled and stable - element is visible, enabled and stable - scrolling into view if needed - done scrolling - <atomic-quickview-modal class="hydrated" data-atomic-loaded="true" data-atomic-rendered="true" sandbox="allow-popups allow-top-navigation allow-same-origin"></atomic-quickview-modal> intercepts p
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 38.2s
Slow Test: packages/atomic/[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
packages/atomic/[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts took 26.6s
Slow Test: packages/atomic/[chromium] › components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts#L1
packages/atomic/[chromium] › components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts took 15.4s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts took 26.6s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts took 27.2s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-product-list/e2e/atomic-commerce-product-list.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-product-list/e2e/atomic-commerce-product-list.e2e.ts took 34.0s
Slow Test: packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts took 41.9s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts took 22.0s
Slow Test: packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L1
packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts took 51.7s
Slow Test: packages/atomic/[chromium] › components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts#L1
packages/atomic/[chromium] › components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts took 27.4s
Slow Test: packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts took 36.2s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-recommendation-list/e2e/atomic-commerce-recommendation-list.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-recommendation-list/e2e/atomic-commerce-recommendation-list.e2e.ts took 17.9s
Slow Test: packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts took 29.5s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 42.1s
Slow Test: packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 40.1s
🎭 Playwright Run Summary
23 passed (41.8s)
🎭 Playwright Run Summary
8 skipped 15 passed (22.4s)
🎭 Playwright Run Summary
23 passed (30.3s)
🎭 Playwright Run Summary
23 passed (30.0s)
🎭 Playwright Run Summary
24 passed (33.1s)
🎭 Playwright Run Summary
23 passed (26.2s)
🎭 Playwright Run Summary
23 passed (24.5s)
🎭 Playwright Run Summary
24 passed (30.8s)
🎭 Playwright Run Summary
2 flaky [chromium] › components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:105:3 › with max-values-to-display set to total number of values (6) › should not render an indicator that more values are available [chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:71:3 › when the promotional price is the same as the original price › should render the price 21 passed (36.3s)
🎭 Playwright Run Summary
24 passed (39.2s)
🎭 Playwright Run Summary
23 passed (44.1s)
🎭 Playwright Run Summary
24 passed (49.3s)
🎭 Playwright Run Summary
23 passed (54.8s)
🎭 Playwright Run Summary
24 passed (41.1s)
🎭 Playwright Run Summary
24 passed (25.6s)
🎭 Playwright Run Summary
23 passed (55.3s)
🎭 Playwright Run Summary
23 passed (33.9s)
🎭 Playwright Run Summary
23 passed (49.8s)
🎭 Playwright Run Summary
23 passed (41.1s)
🎭 Playwright Run Summary
24 passed (36.4s)
🎭 Playwright Run Summary
23 passed (40.2s)
🎭 Playwright Run Summary
24 passed (45.6s)
🎭 Playwright Run Summary
24 passed (53.5s)
🎭 Playwright Run Summary
1 flaky [chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer 22 passed (1.3m)
🎭 Playwright Run Summary
1 flaky [chromium] › components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts:151:5 › Quickview › when used in mobile mode › should open in full screen 22 passed (1.3m)

Artifacts

Produced during runtime
Name Size
atomic-hosted-page-playwright-report Expired
184 KB
atomic-playwright-report Expired
5.69 MB
blob-report-1 Expired
21.8 KB
blob-report-10 Expired
20.3 KB
blob-report-11 Expired
24.9 KB
blob-report-12 Expired
24.9 KB
blob-report-13 Expired
22.3 KB
blob-report-14 Expired
458 KB
blob-report-15 Expired
25.4 KB
blob-report-16 Expired
21.1 KB
blob-report-17 Expired
17.2 KB
blob-report-18 Expired
23 KB
blob-report-19 Expired
22.4 KB
blob-report-2 Expired
26 KB
blob-report-20 Expired
22.1 KB
blob-report-21 Expired
19.2 KB
blob-report-22 Expired
911 KB
blob-report-23 Expired
3.76 MB
blob-report-24 Expired
24.3 KB
blob-report-3 Expired
24.1 KB
blob-report-4 Expired
20.5 KB
blob-report-5 Expired
30.8 KB
blob-report-6 Expired
22.9 KB
blob-report-7 Expired
25.1 KB
blob-report-8 Expired
22.5 KB
blob-report-9 Expired
22.3 KB
result-lists-screenshots
16 MB