PR Robot #24667
Annotations
4 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L28
1) [chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:34:3 › when search yields no products › should not display anything
Test timeout of 30000ms exceeded while running "beforeEach" hook.
26 |
27 | test.describe('when search yields no products', () => {
> 28 | test.beforeEach(async ({querySummary, page}) => {
| ^
29 | await querySummary.noProducts();
30 | await querySummary.load({story: 'default '});
31 | await page.waitForLoadState('networkidle');
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:28:8
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L31
1) [chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:34:3 › when search yields no products › should not display anything
Error: page.waitForLoadState: Test timeout of 30000ms exceeded.
29 | await querySummary.noProducts();
30 | await querySummary.load({story: 'default '});
> 31 | await page.waitForLoadState('networkidle');
| ^
32 | });
33 |
34 | test('should not display anything', async ({querySummary}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:31:16
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L56
2) [chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:3 › when a query yield a single product › screen readers should read out
TypeError: Cannot read properties of undefined (reading '0')
54 | const response = await route.fetch();
55 | const body = await response.json();
> 56 | body.products = [body.products[0]];
| ^
57 | body.pagination.totalEntries = 1;
58 | body.pagination.totalPages = 1;
59 | await route.fulfill({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:56:37
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L77
2) [chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:3 › when a query yield a single product › screen readers should read out
Error: expect(locator).toBeVisible()
Locator: getByRole('status').filter({ hasText: /^Product 1 of 1 for kayak$/ })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByRole('status').filter({ hasText: /^Product 1 of 1 for kayak$/ })
75 | test('screen readers should read out', async ({querySummary}) => {
76 | const textRegex = /^Product 1 of 1 for kayak$/;
> 77 | await expect(querySummary.ariaLive(textRegex)).toBeVisible();
| ^
78 | });
79 | });
80 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:77:52
|
Run /./.github/actions/playwright-atomic
2 flaky
[chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:34:3 › when search yields no products › should not display anything
[chromium] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:3 › when a query yield a single product › screen readers should read out
20 passed (1.1m)
|
Loading