feat(quantic): added logic to include quantic version in analytic payloads #24888
Annotations
5 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-multi-value-text/e2e/page-object.ts#L39
1) [chromium] › 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
|
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#L37
1) [chromium] › 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"]')
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- locator resolved to 0 elements
- unexpected value "0"
- 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
|
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
2) [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
3) [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
3) [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
3 flaky
[chromium] › 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] › 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:53:3 › when the promotional price is higher than the original price › should render the price
20 passed (37.8s)
|
Loading