feat(quantic): QuanticResultsPerPage fixes and refactor tests #26380
prbot.yml
on: pull_request
Matrix: Run e2e tests on Atomic
Check with linter
3m 55s
Run unit tests
3m 50s
Run e2e screenshots tests on Atomic
2m 9s
Run e2e tests on Atomic React
2m 32s
Run e2e tests on Atomic React NextJS
1m 47s
Run e2e tests for IIFE
12s
Run e2e tests on Atomic Angular
2m 18s
Run e2e tests on Vue.js sample
1m 4s
Run e2e tests on Stencil.js sample
1m 43s
Run e2e tests for Atomic Hosted Page
2m 27s
Run e2e tests for Headless Commerce SSR
2m 27s
Run e2e tests on Atomic insight panel
1m 47s
Run e2e tests on Headless SSR App router sample in dev mode
2m 44s
Run e2e tests on Headless SSR App router sample in prod mode
1m 59s
Run e2e tests on Headless SSR Pages router sample in dev mode
2m 51s
Run e2e tests on Headless SSR Pages router sample in prod mode
2m 2s
Verify compatibility of packages
1m 20s
Build typedoc
2m 6s
CDN Checks
4m 57s
Run Quantic E2E tests
/
Setup e2e tests on Quantic
8m 54s
Matrix: Run Playwright tests for Atomic
Matrix: Run Quantic E2E tests / Run Cypress e2e tests on Quantic
Run Quantic E2E tests
/
Run Playwright e2e tests on Quantic
9m 10s
Merge Playwright reports
1m 36s
Confirm build is valid
8s
Annotations
5 errors, 1 warning, and 1 notice
[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts:208:7 › Default › when a category facet value is selected › when a nested category facet value is selected › should disappear when clicking on the "Clear all" button:
packages/atomic/src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L215
1) [chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts:208:7 › Default › when a category facet value is selected › when a nested category facet value is selected › should disappear when clicking on the "Clear all" button
Error: Timed out 7000ms waiting for expect(locator).not.toBeVisible()
Locator: getByLabel('Remove Inclusion filter on').filter({ hasText: 'Accessories' })
Expected: not visible
Received: visible
Call log:
- expect.not.toBeVisible with timeout 7000ms
- waiting for getByLabel('Remove Inclusion filter on').filter({ hasText: 'Accessories' })
3 × locator resolved to <button part="breadcrumb-button" title="Category: Accessories" aria-label="Remove inclusion filter on Category: Accessories" class="btn-outline-bg-neutral py-2 px-3 flex items-center btn-pill group">…</button>
- unexpected value "visible"
8 × locator resolved to <button part="breadcrumb-button" title="Category: Accessories / Surf Accessories" class="btn-outline-bg-neutral py-2 px-3 flex items-center btn-pill group" aria-label="Remove inclusion filter on Category: Accessories / Surf Accessories">…</button>
- unexpected value "visible"
213 | await clearButton.click();
214 |
> 215 | await expect(breadcrumbButton).not.toBeVisible();
| ^
216 | });
217 |
218 | test('should contain the selected value and the facet name in the breadcrumb button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts:215:44
|
Run Quantic E2E tests / Run Playwright e2e tests on Quantic
The run was canceled by @madame-la-pieuvre[bot].
|
Run Quantic E2E tests / Run Cypress e2e tests on Quantic (cypress/e2e/default-2/**/*)
The run was canceled by @madame-la-pieuvre[bot].
|
Confirm build is valid (PR)
Process completed with exit code 1.
|
Confirm build is valid
Process completed with exit code 1.
|
Check with linter:
packages/atomic/src/autoloader/index.ts#L1
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
🎭 Playwright Run Summary
1 flaky
[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts:208:7 › Default › when a category facet value is selected › when a nested category facet value is selected › should disappear when clicking on the "Clear all" button
22 passed (50.8s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
atomic-hosted-page-playwright-report
|
172 KB |
|
atomic-playwright-report
|
168 KB |
|
blob-report-0
|
584 Bytes |
|
result-lists-screenshots
|
22.3 MB |
|