feat(atomic, headless): add support for sort criteria alphanumericNatural #24686
Annotations
2 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/page-object.ts#L34
1) [chromium] › 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
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L60
1) [chromium] › 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
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › 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
21 passed (40.8s)
|
Loading