PR Robot #26974
prbot.yml
on: merge_group
Matrix: Run e2e tests on Atomic
Check with linter
4m 19s
Run unit tests
3m 52s
Run e2e screenshots tests on Atomic
2m 10s
Run e2e tests on Atomic React
2m 35s
Run e2e tests on Atomic React NextJS
2m 21s
Run e2e tests for IIFE
12s
Run e2e tests on Atomic Angular
2m 24s
Run e2e tests on Vue.js sample
1m 15s
Run e2e tests on Stencil.js sample
2m 8s
Run e2e tests for Atomic Hosted Page
2m 29s
Run e2e tests for Headless Commerce SSR
2m 55s
Run e2e tests on Atomic insight panel
2m 0s
Run e2e tests on Headless SSR App router sample in dev mode
3m 3s
Run e2e tests on Headless SSR App router sample in prod mode
2m 41s
Run e2e tests on Headless SSR Pages router sample in dev mode
3m 0s
Run e2e tests on Headless SSR Pages router sample in prod mode
2m 18s
Verify compatibility of packages
1m 24s
Build typedoc
2m 7s
CDN Checks
4m 50s
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
Merge Playwright reports
1m 19s
Confirm build is valid
8s
Annotations
32 errors, 14 warnings, and 25 notices
Run e2e tests on Atomic (17)
The process '/opt/hostedtoolcache/node/22.14.0/x64/bin/npx' failed with exit code 1
|
[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
1) [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-x4dcy-left-suggestion-recent-coveoo" class="flex px-4 min-h-10 items-center text-left text-neutral-dark cursor-pointer">…</button> aka getByRole('button', { name: '“coveoo”, recent query. 2 of' })
2) <button part="correction-btn" class="text-primary hover:text-primary-light focus-visible:text-primary-light py-1 hover:underline focus-visible:underline">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-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:28:3 › with a delimiter › when field value does not include the specified delimiter:
packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts#L39
1) [chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:28:3 › with a delimiter › when field value does not include the specified delimiter, should render as a single value
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts:39
37 | const response = await route.fetch();
38 | const body = await response.json();
> 39 | body.products[0][field] = values.join(delimiter);
| ^
40 | await route.fulfill({
41 | response,
42 | json: body,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts:39:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:28:3 › with a delimiter › when field value does not include the specified delimiter:
packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts#L37
1) [chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:28:3 › with a delimiter › when field value does not include the specified delimiter, should render as a single value
Error: expect(locator).toHaveCount(expected)
Locator: locator('atomic-product-multi-value-text[class*="hydrated"]').first().locator('li[part="product-multi-value-text-value"]')
Expected: 1
Received: 0
Call log:
- expect.toHaveCount with timeout 7000ms
- waiting for locator('atomic-product-multi-value-text[class*="hydrated"]').first().locator('li[part="product-multi-value-text-value"]')
4 × locator resolved to 0 elements
- unexpected value "0"
35 | });
36 |
> 37 | await expect(productMultiValueText.values).toHaveCount(1);
| ^
38 | await expect(productMultiValueText.separators).toHaveCount(0);
39 | await expect(productMultiValueText.values.first()).toHaveText('a/b/c/d/e');
40 | await expect(productMultiValueText.moreValuesIndicator()).not.toBeVisible();
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:37:48
|
[chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:43:3 › with a delimiter › when field value includes the specified delimiter:
packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts#L39
2) [chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:43:3 › with a delimiter › when field value includes the specified delimiter, should render as distinct values
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts:39
37 | const response = await route.fetch();
38 | const body = await response.json();
> 39 | body.products[0][field] = values.join(delimiter);
| ^
40 | await route.fulfill({
41 | response,
42 | json: body,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts:39:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:43:3 › with a delimiter › when field value includes the specified delimiter:
packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts#L52
2) [chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:43:3 › with a delimiter › when field value includes the specified delimiter, should render as distinct values
Error: expect(locator).toHaveCount(expected)
Locator: locator('atomic-product-multi-value-text[class*="hydrated"]').first().locator('li[part="product-multi-value-text-value"]')
Expected: 3
Received: 0
Call log:
- expect.toHaveCount with timeout 7000ms
- waiting for locator('atomic-product-multi-value-text[class*="hydrated"]').first().locator('li[part="product-multi-value-text-value"]')
3 × locator resolved to 0 elements
- unexpected value "0"
50 | });
51 |
> 52 | await expect(productMultiValueText.values).toHaveCount(3);
| ^
53 | await expect(productMultiValueText.separators).toHaveCount(3);
54 | await expect(productMultiValueText.values.first()).toHaveText('a');
55 | await expect(productMultiValueText.values.nth(1)).toHaveText('b');
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:52:48
|
[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
3) [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/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class:
packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts#L48
1) [chromium] › src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class
Error: Timed out 7000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.result-root').first()
Expected pattern: /.*image-none.*/
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 7000ms
- waiting for locator('.result-root').first()
46 |
47 | test('should apply no image class', async ({instantProduct}) => {
> 48 | await expect(instantProduct.productRoots.first()).toHaveClass(
| ^
49 | /.*image-none.*/
50 | );
51 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:48:57
|
[chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page:
packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L157
1) [chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
TypeError: Cannot set properties of undefined (setting 'totalPages')
155 | const response = await route.fetch();
156 | const body = await response.json();
> 157 | body['pagination']['totalPages'] = 2;
| ^
158 | body['pagination']['page'] = 1;
159 | await route.fulfill({
160 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:157:41
|
[chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page:
packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L164
1) [chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
Error: expect(locator).toBeDisabled()
Locator: getByLabel('Next')
Expected: disabled
Received: <element(s) not found>
Call log:
- expect.toBeDisabled with timeout 7000ms
- waiting for getByLabel('Next')
162 | });
163 | });
> 164 | await expect(pager.nextButton).toBeDisabled();
| ^
165 | });
166 | });
167 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:164:38
|
[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts#L29
1) [chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].excerpt =
| ^
30 | 'This is a long excerpt that should be truncated'.repeat(10);
31 | await route.fulfill({
32 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L113
1) [chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-excerpt[class*="hydrated"]').first() to be visible
111 | args: {truncateAfter: value, isCollapsible: false},
112 | });
> 113 | await productExcerpt.hydrated.first().waitFor();
| ^
114 | await productExcerpt.showMoreButton.first().click();
115 | });
116 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:113:53
|
[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts#L29
1) [chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].excerpt =
| ^
30 | 'This is a long excerpt that should be truncated'.repeat(10);
31 | await route.fulfill({
32 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L113
1) [chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-excerpt[class*="hydrated"]').first() to be visible
111 | args: {truncateAfter: value, isCollapsible: false},
112 | });
> 113 | await productExcerpt.hydrated.first().waitFor();
| ^
114 | await productExcerpt.showMoreButton.first().click();
115 | });
116 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:113:53
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts#L34
2) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34
32 | const response = await route.fetch();
33 | const body = await response.json();
> 34 | body.products[0].ec_thumbnails = thumbnails;
| ^
35 |
36 | await route.fulfill({
37 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L38
2) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image
Error: locator.waitFor: Test ended.
Call log:
- waiting for getByRole('img').first() to be visible
36 | await productImage.withCustomThumbnails([]);
37 | await productImage.load({story: 'with-a-fallback-image'});
> 38 | await productImage.noCarouselImage.waitFor();
| ^
39 | });
40 |
41 | test('should render the fallback image', async ({productImage}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:38:42
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts#L34
2) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34
32 | const response = await route.fetch();
33 | const body = await response.json();
> 34 | body.products[0].ec_thumbnails = thumbnails;
| ^
35 |
36 | await route.fulfill({
37 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L38
2) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for getByRole('img').first() to be visible
36 | await productImage.withCustomThumbnails([]);
37 | await productImage.load({story: 'with-a-fallback-image'});
> 38 | await productImage.noCarouselImage.waitFor();
| ^
39 | });
40 |
41 | test('should render the fallback image', async ({productImage}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:38:42
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:59:5 › with a custom fallback image › when the product image is invalid › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts#L34
3) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:59:5 › with a custom fallback image › when the product image is invalid › should render the fallback image
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34
32 | const response = await route.fetch();
33 | const body = await response.json();
> 34 | body.products[0].ec_thumbnails = thumbnails;
| ^
35 |
36 | await route.fulfill({
37 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts:34:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:59:5 › with a custom fallback image › when the product image is invalid › should render the fallback image:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L60
3) [chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:59:5 › with a custom fallback image › when the product image is invalid › should render the fallback image
Error: locator.getAttribute: Test ended.
Call log:
- waiting for getByRole('img').first()
58 |
59 | test('should render the fallback image', async ({productImage}) => {
> 60 | const src = await productImage.noCarouselImage.getAttribute('src');
| ^
61 | expect(src).toContain(FALLBACK);
62 | });
63 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:60:54
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: foo:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L52
1) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: foo
Error: expect(received).toContain(expected) // indexOf
Expected substring: "truncateAfter: value should be one of: none, 1, 2, 3, 4"
Received string: "Failed to load resource: the server responded with a status of 429 ()"
50 | });
51 |
> 52 | expect(errorMessage.text()).toContain(
| ^
53 | 'truncateAfter: value should be one of: none, 1, 2, 3, 4'
54 | );
55 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:52:37
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: foo:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L52
1) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: foo
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "truncateAfter: value should be one of: none, 1, 2, 3, 4"
Received string: "Failed to load resource: the server responded with a status of 429 ()"
50 | });
51 |
> 52 | expect(errorMessage.text()).toContain(
| ^
53 | 'truncateAfter: value should be one of: none, 1, 2, 3, 4'
54 | );
55 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:52:37
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: 5:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L52
2) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: 5
Error: expect(received).toContain(expected) // indexOf
Expected substring: "truncateAfter: value should be one of: none, 1, 2, 3, 4"
Received string: "Failed to load resource: the server responded with a status of 429 ()"
50 | });
51 |
> 52 | expect(errorMessage.text()).toContain(
| ^
53 | 'truncateAfter: value should be one of: none, 1, 2, 3, 4'
54 | );
55 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:52:37
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: 5:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L52
2) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: 5
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "truncateAfter: value should be one of: none, 1, 2, 3, 4"
Received string: "Failed to load resource: the server responded with a status of 429 ()"
50 | });
51 |
> 52 | expect(errorMessage.text()).toContain(
| ^
53 | 'truncateAfter: value should be one of: none, 1, 2, 3, 4'
54 | );
55 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:52:37
|
[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L206
1) [chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries
Test timeout of 30000ms exceeded while running "beforeEach" hook.
204 |
205 | test.describe('with recent queries', () => {
> 206 | test.beforeEach(async ({searchBox, page}) => {
| ^
207 | await searchBox.searchInput.waitFor({state: 'visible'});
208 | await searchBox.searchInput.click();
209 | await searchBox.searchInput.fill('kayak');
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:206:10
|
[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L213
1) [chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
211 | await searchBox.clearButton.waitFor({state: 'visible'});
212 | await searchBox.searchInput.fill('');
> 213 | await page.waitForLoadState('networkidle');
| ^
214 | });
215 |
216 | test('should display recent queries', async ({searchBox}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:213:18
|
[chromium] › src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts#L31
1) [chromium] › src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button
TypeError: Cannot read properties of undefined (reading '0')
at components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31
29 | const response = await route.fetch();
30 | const body = await response.json();
> 31 | body.results[0].totalNumberOfChildResults = total;
| ^
32 |
33 | await route.fulfill({
34 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31:21
|
[chromium] › src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts#L84
1) [chromium] › src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button
Error: expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Load all results' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByRole('button', { name: 'Load all results' }).first()
82 | foldedResultList,
83 | }) => {
> 84 | await expect(foldedResultList.loadAllResultsButton.first()).toBeVisible();
| ^
85 | });
86 |
87 | test('should NOT show result children', async ({foldedResultList}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:84:65
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 4 › when clicking the "Show More" button › when isCollapsible is true › should expand description:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
1) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 4 › when clicking the "Show More" button › when isCollapsible is true › should expand description
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description that should be truncated'.repeat(10);
31 | await route.fulfill({
32 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29:20
|
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 4 › when clicking the "Show More" button › when isCollapsible is true › should expand description:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L112
1) [chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 4 › when clicking the "Show More" button › when isCollapsible is true › should expand description
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
110 | args: {truncateAfter: value, isCollapsible: true},
111 | });
> 112 | await productDescription.hydrated.first().waitFor();
| ^
113 | await productDescription.showMoreButton.first().click();
114 | });
115 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:112:57
|
Confirm build is valid (merge group)
Process completed with exit code 1.
|
Confirm build is valid
Process completed with exit code 1.
|
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 38.5s
|
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 19.0s
|
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 22.4s
|
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 24.3s
|
Slow Test:
packages/atomic/[chromium] › src/components/recommendations/atomic-recs-list/e2e/atomic-recs-list.e2e.ts#L1
packages/atomic/[chromium] › src/components/recommendations/atomic-recs-list/e2e/atomic-recs-list.e2e.ts took 15.2s
|
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 15.7s
|
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.1s
|
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 24.3s
|
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.2s
|
Slow Test:
packages/atomic/[chromium] › src/components/commerce/facets/atomic-commerce-category-facet/e2e/atomic-commerce-category-facet.e2e.ts#L1
packages/atomic/[chromium] › src/components/commerce/facets/atomic-commerce-category-facet/e2e/atomic-commerce-category-facet.e2e.ts took 15.2s
|
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.3s
|
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 20.1s
|
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.8s
|
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 26.5s
|
🎭 Playwright Run Summary
24 passed (43.6s)
|
🎭 Playwright Run Summary
24 passed (26.2s)
|
🎭 Playwright Run Summary
1 flaky
[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
15 passed (29.5s)
|
🎭 Playwright Run Summary
24 passed (33.1s)
|
🎭 Playwright Run Summary
25 passed (31.1s)
|
🎭 Playwright Run Summary
24 passed (32.9s)
|
🎭 Playwright Run Summary
25 passed (40.4s)
|
🎭 Playwright Run Summary
3 flaky
[chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:28:3 › with a delimiter › when field value does not include the specified delimiter, should render as a single value
[chromium] › src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/atomic-product-multi-value-text.e2e.ts:43:3 › with a delimiter › when field value includes the specified delimiter, should render as distinct values
[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
21 passed (44.0s)
|
🎭 Playwright Run Summary
2 skipped
22 passed (44.9s)
|
🎭 Playwright Run Summary
25 passed (51.1s)
|
🎭 Playwright Run Summary
24 passed (35.5s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class
23 passed (49.5s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
24 passed (38.6s)
|
🎭 Playwright Run Summary
6 flaky
[chromium] › src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:41:5 › with a custom fallback image › when the product image is missing › should render the fallback image
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:59:5 › with a custom fallback image › when the product image is invalid › should render the fallback image
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:64:5 › with a custom fallback image › when the product image is invalid › should have a 1:1 aspect ratio
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:82:5 › with a custom fallback image › when the product image is not a string › should have a 1:1 aspect ratio
[chromium] › src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts:111:5 › with an alt text field › when imageAltField is a valid string › should be accessible
18 passed (1.1m)
|
🎭 Playwright Run Summary
25 passed (46.8s)
|
🎭 Playwright Run Summary
2 flaky
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: foo
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:37:7 › atomic-product-description › when providing an invalid truncate-after value › should return error for value: 5
22 passed (1.0m)
|
🎭 Playwright Run Summary
24 passed (44.9s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries
24 passed (1.0m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button
23 passed (47.8s)
|
🎭 Playwright Run Summary
25 passed (39.4s)
|
🎭 Playwright Run Summary
24 passed (39.9s)
|
🎭 Playwright Run Summary
25 passed (1.0m)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 4 › when clicking the "Show More" button › when isCollapsible is true › should expand description
23 passed (1.0m)
|
🎭 Playwright Run Summary
24 passed (38.0s)
|
🎭 Playwright Run Summary
3 skipped
21 passed (51.3s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
atomic-e2e-screenshots-
|
248 KB |
|
atomic-hosted-page-playwright-report
|
172 KB |
|
atomic-playwright-report
|
10.4 MB |
|
blob-report-1
|
22.6 KB |
|
blob-report-10
|
2.71 MB |
|
blob-report-11
|
695 KB |
|
blob-report-12
|
2.62 MB |
|
blob-report-13
|
696 KB |
|
blob-report-14
|
22.9 KB |
|
blob-report-15
|
349 KB |
|
blob-report-16
|
22.3 KB |
|
blob-report-17
|
317 KB |
|
blob-report-18
|
22.3 KB |
|
blob-report-19
|
27 KB |
|
blob-report-2
|
27.7 KB |
|
blob-report-20
|
25 KB |
|
blob-report-21
|
19.9 KB |
|
blob-report-22
|
249 KB |
|
blob-report-23
|
22.1 KB |
|
blob-report-24
|
23.6 KB |
|
blob-report-3
|
23 KB |
|
blob-report-4
|
250 KB |
|
blob-report-5
|
33.3 KB |
|
blob-report-6
|
24.1 KB |
|
blob-report-7
|
1.98 MB |
|
blob-report-8
|
23.1 KB |
|
blob-report-9
|
22.8 KB |
|
result-lists-screenshots
|
13.6 MB |
|