feat(commerce-ssr): add parameter manager #24321
Annotations
2 errors, 1 warning, and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L157
1) [chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
TypeError: Cannot set properties of undefined (setting 'totalPages')
155 | const response = await route.fetch();
156 | const body = await response.json();
> 157 | body['pagination']['totalPages'] = 2;
| ^
158 | body['pagination']['page'] = 1;
159 | await route.fulfill({
160 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:157:41
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L164
1) [chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
Error: expect(locator).toBeDisabled()
Locator: getByLabel('Next')
Expected: disabled
Received: <element(s) not found>
Call log:
- expect.toBeDisabled with timeout 7000ms
- waiting for getByLabel('Next')
162 | });
163 | });
> 164 | await expect(pager.nextButton).toBeDisabled();
| ^
165 | });
166 | });
167 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts:164:38
|
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-pager/e2e/atomic-commerce-pager.e2e.ts:150:5 › Default › with 2 pages of products › it should disable next button when reaching last page
21 passed (33.1s)
|
Loading