feat(atomic, headless): add support for sort criteria alphanumericNatural #24686
Annotations
2 errors, 1 warning, and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/page-object.ts#L31
1) [chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:53:3 › when the promotional price is higher than 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
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts#L55
1) [chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:53:3 › when the promotional price is higher than 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')
53 | test('should render the price', async ({page}) => {
54 | const price = page.getByText('$100.00');
> 55 | await expect(price).toBeVisible();
| ^
56 | await expect(price).not.toHaveClass(/.*line-through.*/);
57 | });
58 |
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:55:25
|
Run /./.github/actions/playwright-atomic:
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-rating/e2e/atomic-product-rating.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-rating/e2e/atomic-product-rating.e2e.ts took 15.1s
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › components/commerce/product-template-components/atomic-product-price/e2e/atomic-product-price.e2e.ts:53:3 › when the promotional price is higher than the original price › should render the price
21 passed (37.1s)
|
Loading