feat(quantic): added E2E and unit tests for insight notify trigger in quantic #24007
prbot.yml
on: pull_request
Matrix: Run e2e tests on Atomic
Check with linter
0s
Run unit tests
0s
Run e2e screenshots tests on Atomic
0s
Run e2e tests on Atomic React
0s
Run e2e tests on Atomic React NextJS
0s
Run e2e tests for IIFE
0s
Run e2e tests on Atomic Angular
0s
Run e2e tests on Vue.js sample
0s
Run e2e tests on Stencil.js sample
0s
Run e2e tests for Atomic Hosted Page
0s
Run e2e tests on Atomic insight panel
0s
Run e2e tests on Headless SSR App router sample in dev mode
0s
Run e2e tests on Headless SSR App router sample in prod mode
0s
Run e2e tests on Headless SSR Pages router sample in dev mode
0s
Run e2e tests on Headless SSR Pages router sample in prod mode
0s
CDN Checks
0s
Run Quantic E2E tests
/
Setup e2e tests on Quantic
Matrix: Run Playwright tests for Atomic
Matrix: Run Quantic E2E tests / Run e2e tests on Quantic
Waiting for pending jobs
Merge Playwright reports
0s
Confirm build is valid
0s
Annotations
11 errors, 11 warnings, and 24 notices
Build CDN
The run was canceled by @madame-la-pieuvre[bot].
|
Build
The run was canceled by @madame-la-pieuvre[bot].
|
Report bundle size
The run was canceled by @madame-la-pieuvre[bot].
|
Report bundle size
The operation was canceled.
|
[chromium] › components/commerce/atomic-commerce-interface/e2e/atomic-commerce-interface.e2e.ts:77:5 › when a query is performed automatically › when a language is provided › should support changing the language of the interface after initialization:
packages/atomic/src/components/commerce/atomic-commerce-interface/e2e/atomic-commerce-interface.e2e.ts#L91
1) [chromium] › components/commerce/atomic-commerce-interface/e2e/atomic-commerce-interface.e2e.ts:77:5 › when a query is performed automatically › when a language is provided › should support changing the language of the interface after initialization
Error: Timed out 7000ms waiting for expect(locator).toContainText(expected)
Locator: locator('atomic-commerce-interface')
- Expected string - 1
+ Received string + 28
- Produits
+ Produit 0 de 632
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Call log:
- expect.toContainText with timeout 7000ms
- waiting for locator('atomic-commerce-interface')
- locator resolved to <atomic-commerce-interface analytics="" type="search" language="fr" class="hydrated" reflect-state-in-url="" icon-assets-path="./assets" language-assets-path="./lang" scroll-container="atomic-commerce-interface">…</atomic-commerce-interface>
- unexpected value "Products 0-0 of 0
|
[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
1) [chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused
Test timeout of 30000ms exceeded.
|
[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L230
1) [chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused
Error: locator.hover: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('atomic-commerce-search-box').getByLabel('Clear recent searches.')
228 | searchBox,
229 | }) => {
> 230 | await searchBox.clearRecentQueriesButton.hover();
| ^
231 | await searchBox.searchInput.press('Enter');
232 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
233 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:230:48
|
[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer:
packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L1
1) [chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer
Test timeout of 30000ms exceeded.
|
[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer:
packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L151
1) [chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer
Error: locator.waitFor: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByText('Generated answer', { exact: true }) to be visible
149 | await searchBox.searchInput.press('Enter');
150 |
> 151 | await tabManager.generatedAnswer.waitFor({state: 'visible'});
| ^
152 | await expect(tabManager.generatedAnswer).toBeVisible();
153 | });
154 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:151:44
|
Confirm build is valid (PR)
Process completed with exit code 1.
|
Confirm build is valid
Process completed with exit code 1.
|
Slow Test:
packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts took 15.4s
|
Slow Test:
packages/atomic/[chromium] › components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts#L1
packages/atomic/[chromium] › components/search/facets/atomic-timeframe-facet/e2e/atomic-timeframe-facet.e2e.ts took 20.9s
|
Slow Test:
packages/atomic/[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
packages/atomic/[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts took 19.8s
|
Slow Test:
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts took 21.5s
|
Slow Test:
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/product-template-components/atomic-product-image/e2e/atomic-product-image.e2e.ts took 17.5s
|
Slow Test:
packages/atomic/[chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-pager/e2e/atomic-commerce-pager.e2e.ts took 23.5s
|
Slow Test:
packages/atomic/[chromium] › components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts#L1
packages/atomic/[chromium] › components/search/facets/atomic-facet/e2e/atomic-facet.e2e.ts took 25.2s
|
Slow Test:
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 19.7s
|
Slow Test:
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts#L1
packages/atomic/[chromium] › components/commerce/atomic-commerce-breadbox/e2e/atomic-commerce-breadbox.e2e.ts took 32.5s
|
Slow Test:
packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L1
packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts took 33.5s
|
Slow Test:
packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts#L1
packages/atomic/[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts took 15.3s
|
🎭 Playwright Run Summary
17 passed (16.8s)
|
🎭 Playwright Run Summary
17 passed (22.7s)
|
🎭 Playwright Run Summary
17 passed (22.3s)
|
🎭 Playwright Run Summary
18 passed (20.4s)
|
🎭 Playwright Run Summary
18 passed (18.7s)
|
🎭 Playwright Run Summary
17 passed (25.9s)
|
🎭 Playwright Run Summary
18 passed (30.1s)
|
🎭 Playwright Run Summary
18 passed (22.7s)
|
🎭 Playwright Run Summary
17 passed (20.0s)
|
🎭 Playwright Run Summary
17 passed (27.2s)
|
🎭 Playwright Run Summary
17 passed (23.0s)
|
🎭 Playwright Run Summary
17 passed (28.2s)
|
🎭 Playwright Run Summary
18 passed (30.4s)
|
🎭 Playwright Run Summary
18 passed (33.0s)
|
🎭 Playwright Run Summary
18 passed (26.8s)
|
🎭 Playwright Run Summary
17 passed (28.6s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › components/commerce/atomic-commerce-interface/e2e/atomic-commerce-interface.e2e.ts:77:5 › when a query is performed automatically › when a language is provided › should support changing the language of the interface after initialization
17 passed (47.7s)
|
🎭 Playwright Run Summary
18 passed (35.9s)
|
🎭 Playwright Run Summary
17 passed (36.8s)
|
🎭 Playwright Run Summary
18 passed (34.0s)
|
🎭 Playwright Run Summary
1 skipped
16 passed (31.3s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:227:5 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused
17 passed (58.0s)
|
🎭 Playwright Run Summary
1 flaky
[chromium] › components/search/tabs/atomic-tab-manager/e2e/atomic-tab-manager.e2e.ts:143:9 › AtomicTabManager › when viewport is large enough to display all tabs › when clicking on tab button › should change other component visibility › generated answer
16 passed (1.1m)
|
🎭 Playwright Run Summary
18 passed (28.0s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
blob-report-1
Expired
|
17.3 KB |
|
blob-report-10
Expired
|
16.9 KB |
|
blob-report-11
Expired
|
17 KB |
|
blob-report-12
Expired
|
16.5 KB |
|
blob-report-13
Expired
|
16.7 KB |
|
blob-report-14
Expired
|
15.8 KB |
|
blob-report-15
Expired
|
15 KB |
|
blob-report-16
Expired
|
18 KB |
|
blob-report-17
Expired
|
16.5 KB |
|
blob-report-18
Expired
|
17 KB |
|
blob-report-19
Expired
|
16.3 KB |
|
blob-report-2
Expired
|
583 KB |
|
blob-report-20
Expired
|
16.4 KB |
|
blob-report-21
Expired
|
15.4 KB |
|
blob-report-22
Expired
|
15 KB |
|
blob-report-23
Expired
|
3.59 MB |
|
blob-report-24
Expired
|
18 KB |
|
blob-report-3
Expired
|
19.2 KB |
|
blob-report-4
Expired
|
13.6 KB |
|
blob-report-5
Expired
|
15.4 KB |
|
blob-report-6
Expired
|
17.1 KB |
|
blob-report-7
Expired
|
19.1 KB |
|
blob-report-8
Expired
|
531 KB |
|
blob-report-9
Expired
|
16.9 KB |
|