PR Robot #24667
Annotations
10 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description 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-description/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L95
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
93 | args: {truncateAfter: value},
94 | });
> 95 | await productDescription.hydrated.first().waitFor();
| ^
96 |
97 | const descriptionText = productDescription.textContent.first();
98 | expect(descriptionText).toHaveClass(expectedClass);
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:95:53
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description 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-description/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L95
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
93 | args: {truncateAfter: value},
94 | });
> 95 | await productDescription.hydrated.first().waitFor();
| ^
96 |
97 | const descriptionText = productDescription.textContent.first();
98 | expect(descriptionText).toHaveClass(expectedClass);
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:95:53
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description 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-description/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L95
1) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
93 | args: {truncateAfter: value},
94 | });
> 95 | await productDescription.hydrated.first().waitFor();
| ^
96 |
97 | const descriptionText = productDescription.textContent.first();
98 | expect(descriptionText).toHaveClass(expectedClass);
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:95:53
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
2) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is true › should expand description
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description 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-description/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L112
2) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is true › should expand description
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
110 | args: {truncateAfter: value, isCollapsible: true},
111 | });
> 112 | await productDescription.hydrated.first().waitFor();
| ^
113 | await productDescription.showMoreButton.first().click();
114 | });
115 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:112:57
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts#L29
2) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is true › should expand description
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/commerce/product-template-components/atomic-product-description/e2e/page-object.ts:29
27 | const response = await route.fetch();
28 | const body = await response.json();
> 29 | body.products[0].ec_description =
| ^
30 | 'This is a long description 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-description/e2e/page-object.ts:29:20
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts#L112
2) [chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is true › should expand description
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.waitFor: Test ended.
Call log:
- waiting for locator('atomic-product-description[class*="hydrated"]').first() to be visible
110 | args: {truncateAfter: value, isCollapsible: true},
111 | });
> 112 | await productDescription.hydrated.first().waitFor();
| ^
113 | await productDescription.showMoreButton.first().click();
114 | });
115 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:112:57
|
Run /./.github/actions/playwright-atomic
1 failed
[chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:89:9 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › should truncate description after 1 lines
1 flaky
[chromium] › components/commerce/product-template-components/atomic-product-description/e2e/atomic-product-description.e2e.ts:116:13 › atomic-product-description › when description is truncated › when truncateAfter is set to 1 › when clicking the "Show More" button › when isCollapsible is true › should expand description
20 passed (1.1m)
|
Loading