feat(headless): Support the automatic query correction feature for the insight use case #24654
Annotations
4 errors and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts#L48
1) [chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class
Error: Timed out 7000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.result-root').first()
Expected pattern: /.*image-none.*/
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 7000ms
- waiting for locator('.result-root').first()
46 |
47 | test('should apply no image class', async ({instantProduct}) => {
> 48 | await expect(instantProduct.productRoots.first()).toHaveClass(
| ^
49 | /.*image-none.*/
50 | );
51 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:48:57
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts#L48
1) [chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 7000ms waiting for expect(locator).toHaveClass(expected)
Locator: locator('.result-root').first()
Expected pattern: /.*image-none.*/
Received: <element(s) not found>
Call log:
- expect.toHaveClass with timeout 7000ms
- waiting for locator('.result-root').first()
46 |
47 | test('should apply no image class', async ({instantProduct}) => {
> 48 | await expect(instantProduct.productRoots.first()).toHaveClass(
| ^
49 | /.*image-none.*/
50 | );
51 | });
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:48:57
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts#L1
2) [chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:66:5 › default › when clicking on "See All Results" › should redirect to the specified url after selecting a suggestion
Test timeout of 30000ms exceeded.
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts#L70
2) [chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:66:5 › default › when clicking on "See All Results" › should redirect to the specified url after selecting a suggestion
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for getByLabel('See all results')
68 | page,
69 | }) => {
> 70 | await instantProduct.showAllButton.click();
| ^
71 | await page.waitForURL(
72 | '**/iframe.html?id=atomic-commerce-search-box--in-page*'
73 | );
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:70:42
|
Run /./.github/actions/playwright-atomic
2 flaky
[chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:47:5 › default › with imageSize set to none › should apply no image class
[chromium] › components/commerce/search-box-suggestions/atomic-commerce-search-box-instant-products/e2e/atomic-commerce-search-box-instant-products.e2e.ts:66:5 › default › when clicking on "See All Results" › should redirect to the specified url after selecting a suggestion
20 passed (1.5m)
|
Loading