chore: migrate auth as well #24121
Annotations
2 errors, 1 warning, and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L56
1) [chromium] › 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
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-query-summary/e2e/atomic-commerce-query-summary.e2e.ts#L72
1) [chromium] › 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
|
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
1 flaky
[chromium] › 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
11 passed (16.9s)
|
Loading