chore(headless): add commerce entry to quantic use case mappings #24974
Annotations
3 errors and 1 notice
Run /./.github/actions/playwright-atomic:
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
|
Run /./.github/actions/playwright-atomic:
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
|
Run /./.github/actions/playwright-atomic:
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
|
Run /./.github/actions/playwright-atomic
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)
|
Loading