feat(headless commerce): retrieve clientId from Relay instead of coveoua when building commerce API requests #20038
Annotations
7 errors, 7 warnings, and 1 notice
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
1) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Test timeout of 30000ms exceeded.
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L72
1) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Clear recent searches.')
70 | searchBox,
71 | }) => {
> 72 | await searchBox.clearRecentQueriesButton.click();
| ^
73 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
74 | });
75 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:72:48
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
2) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:76:9 › 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.
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L79
2) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:76:9 › 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 getByLabel('Clear recent searches.')
77 | searchBox,
78 | }) => {
> 79 | await searchBox.clearRecentQueriesButton.hover();
| ^
80 | await searchBox.searchInput.press('Enter');
81 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
82 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:79:48
|
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L113
3) [webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:108:9 › with instant results & query suggestions › after clicking the searchbox input › should display in the search box what has been submitted
Error: Timed out 20000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByRole('combobox', { name: 'Search' })
Expected string: "Rec"
Received string: "repair"
Call log:
- expect.toHaveValue with timeout 20000ms
- waiting for getByRole('combobox', { name: 'Search' })
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
- locator resolved to <textarea rows="1" part="textarea" role="combobox" autocor…></textarea>
- unexpected value "repair"
111 | await searchBox.searchInput.fill('Rec');
112 | await searchBox.searchInput.press('Enter');
> 113 | await expect(searchBox.searchInput).toHaveValue('Rec');
| ^
114 | });
115 |
116 | test.describe('after focusing on suggestion with the mouse
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
4) [webkit] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Test timeout of 30000ms exceeded.
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L72
4) [webkit] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('Clear recent searches.')
70 | searchBox,
71 | }) => {
> 72 | await searchBox.clearRecentQueriesButton.click();
| ^
73 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
74 | });
75 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72:48
|
packages/atomic/[firefox] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
packages/atomic/[firefox] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts took 51.2s
|
packages/atomic/[firefox] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
packages/atomic/[firefox] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts took 44.9s
|
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 39.6s
|
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 32.4s
|
|
|
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/
|
4 flaky
[webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
[webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:76:9 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused
[webkit] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:108:9 › with instant results & query suggestions › after clicking the searchbox input › should display in the search box what has been submitted
[webkit] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
215 passed (7.5m)
|
This job succeeded
Loading