ci: split facet cypress tests in half #21174
Annotations
4 errors, 1 warning, and 1 notice
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L56
1) [firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:70:7 › when a query yield a single product › should display message
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
|
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L72
1) [firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:70:7 › when a query yield a single product › should display message
Error: expect(locator).toBeVisible()
Locator: locator(':not([role="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 locator(':not([role="status"])').filter({ hasText: /^Product 1 of 1 for kayak$/ })
70 | test('should display message', async ({querySummary}) => {
71 | const textRegex = /^Product 1 of 1 for kayak$/;
> 72 | await expect(querySummary.text(textRegex)).toBeVisible();
| ^
73 | });
74 |
75 | test('screen readers should read out', 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:72:48
|
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L56
2) [firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:7 › 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
|
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L77
2) [firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:7 › 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
|
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/
|
2 flaky
[firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:70:7 › when a query yield a single product › should display message
[firefox] › components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts:75:7 › when a query yield a single product › screen readers should read out
27 passed (43.8s)
|
This job succeeded
Loading