fix(headless commerce): do not set query to empty string when building non field suggestions facet search requests #26004
Annotations
3 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L217
1) [chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries
Error: Timed out 7000ms waiting for expect(locator).toBeVisible()
Locator: getByLabel(/recent query\.(?: Button\.)? \d of \d\./).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByLabel(/recent query\.(?: Button\.)? \d of \d\./).first()
215 |
216 | test('should display recent queries', async ({searchBox}) => {
> 217 | await expect(searchBox.recentQueries().first()).toBeVisible();
| ^
218 | });
219 |
220 | test('should clear recent queries when clicking the clear button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:217:55
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L1
2) [chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:220:5 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Test timeout of 30000ms exceeded.
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts#L223
2) [chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:220:5 › 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 locator('atomic-commerce-search-box').getByLabel('Clear recent searches.')
221 | searchBox,
222 | }) => {
> 223 | await searchBox.clearRecentQueriesButton.click();
| ^
224 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
225 | });
226 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:223:48
|
Run /./.github/actions/playwright-atomic
2 flaky
[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:216:5 › with instant results & query suggestions › with recent queries › should display recent queries
[chromium] › components/commerce/atomic-commerce-search-box/e2e/atomic-commerce-search-box.e2e.ts:220:5 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
22 passed (1.2m)
|
Loading