feat(headless): add applyCorrection function in didYouMean #24364
Annotations
3 errors, 1 warning, 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
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "result-lists-screenshots".
Please update your workflow to use v4 of the artifact actions.
Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
|
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
20 passed (33.8s)
|
Loading