Skip to content

fix(atomic): add isMobile to insight store #26681

fix(atomic): add isMobile to insight store

fix(atomic): add isMobile to insight store #26681

Triggered via pull request February 12, 2025 14:27
Status Success
Total duration 23m 36s
Artifacts 27

prbot.yml

on: pull_request
Matrix: Run e2e tests on Atomic
Check with linter
3m 59s
Check with linter
Run unit tests
4m 42s
Run unit tests
Run e2e screenshots tests on Atomic
2m 18s
Run e2e screenshots tests on Atomic
Run e2e tests on Atomic React
3m 26s
Run e2e tests on Atomic React
Run e2e tests on Atomic React NextJS
2m 7s
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 59s
Run e2e tests on Atomic Angular
Run e2e tests on Vue.js sample
1m 6s
Run e2e tests on Vue.js sample
Run e2e tests on Stencil.js sample
3m 9s
Run e2e tests on Stencil.js sample
Run e2e tests for Atomic Hosted Page
2m 22s
Run e2e tests for Atomic Hosted Page
Run e2e tests for Headless Commerce SSR
3m 44s
Run e2e tests for Headless Commerce SSR
Run e2e tests on Atomic insight panel
1m 56s
Run e2e tests on Atomic insight panel
Run e2e tests on Headless SSR App router sample in dev mode
3m 19s
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 32s
Run e2e tests on Headless SSR App router sample in prod mode
Run e2e tests on Headless SSR Pages router sample in dev mode
3m 18s
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 53s
Run e2e tests on Headless SSR Pages router sample in prod mode
Should test Quantic?
1m 27s
Should test Quantic?
Run e2e tests on Atomic CSP
2m 52s
Run e2e tests on Atomic CSP
Determine Playwright E2E tests to run
1m 52s
Determine Playwright E2E tests to run
Verify compatibility of packages
1m 12s
Verify compatibility of packages
Build typedoc
2m 11s
Build typedoc
Run Quantic E2E tests  /  Setup e2e tests on Quantic
Run Quantic E2E tests / Setup e2e tests on Quantic
Matrix: Run Playwright tests for Atomic
Matrix: Run Quantic E2E tests / Run Cypress e2e tests on Quantic
Waiting for pending jobs
Run Quantic E2E tests  /  Run Playwright e2e tests on Quantic
Run Quantic E2E tests / Run Playwright e2e tests on Quantic
Confirm build is valid (merge group)
0s
Confirm build is valid (merge group)
Merge Playwright reports
1m 41s
Merge Playwright reports
Run Quantic E2E tests  /  e2e-quantic-cleanup
Run Quantic E2E tests / e2e-quantic-cleanup
Confirm build is valid (PR)
9s
Confirm build is valid (PR)
Confirm build is valid
9s
Confirm build is valid
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 28 warnings, and 25 notices
[chromium] › src/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] › src/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] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:49:3 › with a manual query correction › should show manual correction button: packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts#L52
1) [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:49:3 › with a manual query correction › should show manual correction button Error: expect.toBeVisible: Error: strict mode violation: getByRole('button', { name: 'coveo' }) resolved to 2 elements: 1) <button data-query="coveoo" aria-label="“coveoo”, recent query. 2 of 2." part="suggestion suggestion-with-query recent-query-item" id="atomic-search-box-aov2u-left-suggestion-recent-coveoo" class="flex px-4 min-h-[40px] items-center text-left text-neutral-dark cursor-pointer">…</button> aka getByRole('button', { name: '“coveoo”, recent query. 2 of' }) 2) <button class="link py-1" part="correction-btn">coveo</button> aka getByRole('button', { name: 'coveo', exact: true }) Call log: - expect.toBeVisible with timeout 7000ms - waiting for getByRole('button', { name: 'coveo' }) 50 | await expect( 51 | page.getByRole('button', {name: CORRECTED_QUERY}) > 52 | ).toBeVisible(); | ^ 53 | }); 54 | 55 | test('when clicking on the manual correction button, the search box should contain the corrected query', async ({ at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:52:7
[chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:55:3 › with a manual query correction › when clicking on the manual correction button: packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts#L59
2) [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:55:3 › with a manual query correction › when clicking on the manual correction button, the search box should contain the corrected query Error: locator.click: Error: strict mode violation: getByRole('button', { name: 'coveo' }) resolved to 2 elements: 1) <button data-query="coveoo" aria-label="“coveoo”, recent query. 2 of 2." part="suggestion suggestion-with-query recent-query-item" id="atomic-search-box-4v13v-left-suggestion-recent-coveoo" class="flex px-4 min-h-[40px] items-center text-left text-neutral-dark cursor-pointer">…</button> aka getByRole('button', { name: '“coveoo”, recent query. 2 of' }) 2) <button class="link py-1" part="correction-btn">coveo</button> aka getByRole('button', { name: 'coveo', exact: true }) Call log: - waiting for getByRole('button', { name: 'coveo' }) 57 | page, 58 | }) => { > 59 | await page.getByRole('button', {name: CORRECTED_QUERY}).click(); | ^ 60 | await expect(searchBox.searchInput).toHaveValue(CORRECTED_QUERY); 61 | }); 62 | }); at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:59:61
[chromium] › src/components/commerce/product-template-components/atomic-product-link/e2e/atomic-product-link.e2e.ts:37:3 › with alternative content › should render alternative content: packages/atomic/src/components/commerce/product-template-components/atomic-product-link/e2e/atomic-product-link.e2e.ts#L42
1) [chromium] › src/components/commerce/product-template-components/atomic-product-link/e2e/atomic-product-link.e2e.ts:37:3 › with alternative content › should render alternative content Error: Timed out 7000ms waiting for expect(locator).toBeVisible() Locator: getByRole('link').first().locator('img') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 7000ms - waiting for getByRole('link').first().locator('img') 11 × locator resolved to <img class="thumbnail" src="https://picsum.photos/350"/> - unexpected value "hidden" 40 | ); 41 | > 42 | await expect(productLink.anchor().first().locator('img')).toBeVisible(); | ^ 43 | }); 44 | }); 45 | at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-link/e2e/atomic-product-link.e2e.ts:42:63
[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused: packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
1) [chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused Test timeout of 30000ms exceeded.
[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused: packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L230
1) [chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused Error: locator.hover: Test timeout of 30000ms exceeded. Call log: - waiting for locator('atomic-commerce-search-box').getByLabel('Clear recent searches.') 228 | searchBox, 229 | }) => { > 230 | await searchBox.clearRecentQueriesButton.hover(); | ^ 231 | await searchBox.searchInput.press('Enter'); 232 | await expect(searchBox.recentQueries().first()).not.toBeVisible(); 233 | }); at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:230:48
[chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:22:3 › with an automatic query correction › should display the auto corrected: packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts#L26
1) [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:22:3 › with an automatic query correction › should display the auto corrected Error: expect.toBeVisible: Error: strict mode violation: getByText('coveo', { exact: true }) resolved to 2 elements: 1) <span part="recent-query-text" class="line-clamp-2 break-all">…</span> aka getByRole('button', { name: '“coveo”, recent query. 2 of' }) 2) <b part="highlight">coveo</b> aka locator('#code-root').getByText('coveo', { exact: true }) Call log: - expect.toBeVisible with timeout 7000ms - waiting for getByText('coveo', { exact: true }) 24 | page.getByText('Query was automatically corrected to') 25 | ).toBeVisible(); > 26 | await expect(page.getByText(CORRECTED_QUERY, {exact: true})).toBeVisible(); | ^ 27 | }); 28 | }); 29 | at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:26:66
[chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:39:3 › with a manual query correction › search box should contain the original query: packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts#L40
2) [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:39:3 › with a manual query correction › search box should contain the original query Error: Timed out 7000ms waiting for expect(locator).toHaveValue(expected) Locator: locator('atomic-search-box').getByPlaceholder('Search') Expected string: "coveoo" Received string: "" Call log: - expect.toHaveValue with timeout 7000ms - waiting for locator('atomic-search-box').getByPlaceholder('Search') 11 × locator resolved to <textarea rows="1" part="textarea" autocorrect="off" autocomplete="off" placeholder="Search" autocapitalize="off" aria-haspopup="true" aria-autocomplete="both" class="placeholder-neutral-dark" aria-controls="atomic-search-box-l8y9r-popup" title="Search field with suggestions. To begin navigating suggestions, while focused, press Down Arrow. To send, press Enter." aria-label="Search field with suggestions. To begin navigating suggestions, while focused, press Down Arrow. To send, press Enter."></textarea> - unexpected value "" 38 | 39 | test('search box should contain the original query', async ({searchBox}) => { > 40 | await expect(searchBox.searchInput).toHaveValue(ORIGINAL_QUERY); | ^ 41 | }); 42 | 43 | test('should show did you mean text', async ({page}) => { at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:40:41
Build CDN
Cache not found for keys: npm-cfd31c09d564c7ec78022c6975337a2b284f009196e5efe8553b319524a2ae5d
Build CDN
Cache not found for keys: quantic-2d2bf948b6eec245fbc9451fb09b02a879f26cc7e793525d100a84d0769d8a71}}
Build CDN
Cache not found for keys: cy-2d2bf948b6eec245fbc9451fb09b02a879f26cc7e793525d100a84d0769d8a71
Build CDN
Cache not found for keys: nx-4575e772d433cdbda0b030bf313e86c508d7ecb9-cdn
Build
Cache not found for keys: npm-cfd31c09d564c7ec78022c6975337a2b284f009196e5efe8553b319524a2ae5d
Build
Cache not found for keys: quantic-2d2bf948b6eec245fbc9451fb09b02a879f26cc7e793525d100a84d0769d8a71}}
Build
Cache not found for keys: cy-2d2bf948b6eec245fbc9451fb09b02a879f26cc7e793525d100a84d0769d8a71
Build
Cache not found for keys: nx-4575e772d433cdbda0b030bf313e86c508d7ecb9-default
Build
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Build
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 39.7s
Slow Test: packages/atomic/[chromium] › src/components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts#L1
packages/atomic/[chromium] › src/components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts took 18.2s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts took 19.5s
Slow Test: packages/atomic/[chromium] › src/components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts#L1
packages/atomic/[chromium] › src/components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts took 19.9s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-recommendation-list/e2e/atomic-commerce-recommendation-list.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-recommendation-list/e2e/atomic-commerce-recommendation-list.e2e.ts took 15.3s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts took 17.9s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-product-list/e2e/atomic-commerce-product-list.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-product-list/e2e/atomic-commerce-product-list.e2e.ts took 30.9s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts took 28.6s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts took 19.8s
Slow Test: packages/atomic/[chromium] › src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
packages/atomic/[chromium] › src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts took 20.6s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts took 26.5s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts took 22.5s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts took 17.9s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 41.5s
Slow Test: packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts took 17.8s
Slow Test: packages/atomic/[chromium] › src/components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts#L1
packages/atomic/[chromium] › src/components/search/result-template-components/atomic-quickview/e2e/atomic-quickview.e2e.ts took 35.7s
Slow Test: packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 39.1s
🎭 Playwright Run Summary
24 passed (46.5s)
🎭 Playwright Run Summary
24 passed (31.5s)
🎭 Playwright Run Summary
24 passed (32.1s)
🎭 Playwright Run Summary
24 passed (37.0s)
🎭 Playwright Run Summary
1 flaky [chromium] › src/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 23 passed (36.2s)
🎭 Playwright Run Summary
24 passed (37.9s)
🎭 Playwright Run Summary
24 passed (24.1s)
🎭 Playwright Run Summary
24 passed (32.5s)
🎭 Playwright Run Summary
24 passed (33.7s)
🎭 Playwright Run Summary
2 flaky [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:49:3 › with a manual query correction › should show manual correction button [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:55:3 › with a manual query correction › when clicking on the manual correction button, the search box should contain the corrected query 8 skipped 14 passed (33.6s)
🎭 Playwright Run Summary
1 flaky [chromium] › src/components/commerce/product-template-components/atomic-product-link/e2e/atomic-product-link.e2e.ts:37:3 › with alternative content › should render alternative content 23 passed (48.6s)
🎭 Playwright Run Summary
24 passed (47.1s)
🎭 Playwright Run Summary
2 skipped 22 passed (44.3s)
🎭 Playwright Run Summary
24 passed (54.3s)
🎭 Playwright Run Summary
24 passed (30.5s)
🎭 Playwright Run Summary
24 passed (33.1s)
🎭 Playwright Run Summary
3 skipped 21 passed (47.5s)
🎭 Playwright Run Summary
24 passed (36.6s)
🎭 Playwright Run Summary
1 flaky [chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused 23 passed (1.0m)
🎭 Playwright Run Summary
24 passed (46.4s)
🎭 Playwright Run Summary
24 passed (55.3s)
🎭 Playwright Run Summary
24 passed (48.7s)
🎭 Playwright Run Summary
2 flaky [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:22:3 › with an automatic query correction › should display the auto corrected [chromium] › src/components/search/atomic-did-you-mean/e2e/atomic-did-you-mean.e2e.ts:39:3 › with a manual query correction › search box should contain the original query 22 passed (40.7s)
🎭 Playwright Run Summary
24 passed (51.2s)
🎭 Playwright Run Summary
24 passed (49.3s)

Artifacts

Produced during runtime
Name Size
atomic-hosted-page-playwright-report Expired
172 KB
atomic-playwright-report Expired
3.14 MB
blob-report-1 Expired
21.8 KB
blob-report-10 Expired
22.2 KB
blob-report-11 Expired
25.6 KB
blob-report-12 Expired
23.9 KB
blob-report-13 Expired
305 KB
blob-report-14 Expired
232 KB
blob-report-15 Expired
26.1 KB
blob-report-16 Expired
624 KB
blob-report-17 Expired
591 KB
blob-report-18 Expired
22.4 KB
blob-report-19 Expired
27 KB
blob-report-2 Expired
26 KB
blob-report-20 Expired
25.2 KB
blob-report-21 Expired
19.8 KB
blob-report-22 Expired
20.6 KB
blob-report-23 Expired
22.1 KB
blob-report-24 Expired
23.7 KB
blob-report-3 Expired
23.2 KB
blob-report-4 Expired
20.4 KB
blob-report-5 Expired
34 KB
blob-report-6 Expired
22.4 KB
blob-report-7 Expired
700 KB
blob-report-8 Expired
22.5 KB
blob-report-9 Expired
22.4 KB
result-lists-screenshots
28.6 MB