feat(atomic): add Lit equivalent for @MapProp
decorator
#26123
Annotations
4 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts#L29
1) [chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].excerpt =
| ^
30 | 'This is a long excerpt that should be truncated'.repeat(10);
31 | await route.fulfill({
32 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L113
1) [chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-excerpt[class*="hydrated"]').first() to be visible
111 | args: {truncateAfter: value, isCollapsible: false},
112 | });
> 113 | await productExcerpt.hydrated.first().waitFor();
| ^
114 | await productExcerpt.showMoreButton.first().click();
115 | });
116 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:113:53
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts#L29
1) [chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].excerpt =
| ^
30 | 'This is a long excerpt that should be truncated'.repeat(10);
31 | await route.fulfill({
32 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts#L113
1) [chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-excerpt[class*="hydrated"]').first() to be visible
111 | args: {truncateAfter: value, isCollapsible: false},
112 | });
> 113 | await productExcerpt.hydrated.first().waitFor();
| ^
114 | await productExcerpt.showMoreButton.first().click();
115 | });
116 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:113:53
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › components/commerce/product-template-components/atomic-product-excerpt/e2e/atomic-product-excerpt.e2e.ts:122:13 › atomic-product-excerpt › when excerpt is truncated › when truncateAfter is set to 3 › when clicking the "Show More" button › when isCollapsible is false › should not show "Show Less" button
23 passed (59.8s)
|
Loading