fix(atomic): use getter instead of fn #22790
Annotations
10 errors, 1 warning, and 1 notice
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L39
1) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:43:11 › default › after clicking the searchbox input › after clicking the submit button › should collapse the suggested queries
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/suggested query\.(?: Button\.)? \d of \d\./).first() to be visible
37 | .searchSuggestions()
38 | .first()
> 39 | .waitFor({state: 'visible', timeout: 10e3});
| ^
40 | await searchBox.submitButton.click();
41 | });
42 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:39:12
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L39
1) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:43:11 › default › after clicking the searchbox input › after clicking the submit button › should collapse the suggested queries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/suggested query\.(?: Button\.)? \d of \d\./).first() to be visible
37 | .searchSuggestions()
38 | .first()
> 39 | .waitFor({state: 'visible', timeout: 10e3});
| ^
40 | await searchBox.submitButton.click();
41 | });
42 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:39:12
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L39
1) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:43:11 › default › after clicking the searchbox input › after clicking the submit button › should collapse the suggested queries
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TimeoutError: locator.waitFor: Timeout 10000ms exceeded.
Call log:
- waiting for getByLabel(/suggested query\.(?: Button\.)? \d of \d\./).first() to be visible
37 | .searchSuggestions()
38 | .first()
> 39 | .waitFor({state: 'visible', timeout: 10e3});
| ^
40 | await searchBox.submitButton.click();
41 | });
42 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:39:12
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L69
2) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:68:9 › 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()
67 | });
68 | test('should display recent queries', async ({searchBox}) => {
> 69 | await expect(searchBox.recentQueries().first()).toBeVisible();
| ^
70 | });
71 |
72 | test('should clear recent queries when clicking the clear button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:55
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L69
2) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:68:9 › with instant results & query suggestions › with recent queries › should display recent queries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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()
67 | });
68 | test('should display recent queries', async ({searchBox}) => {
> 69 | await expect(searchBox.recentQueries().first()).toBeVisible();
| ^
70 | });
71 |
72 | test('should clear recent queries when clicking the clear button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:55
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L69
2) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:68:9 › with instant results & query suggestions › with recent queries › should display recent queries
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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()
67 | });
68 | test('should display recent queries', async ({searchBox}) => {
> 69 | await expect(searchBox.recentQueries().first()).toBeVisible();
| ^
70 | });
71 |
72 | test('should clear recent queries when clicking the clear button', async ({
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:69:55
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
3) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72: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#L75
3) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72: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 locator('atomic-search-box').getByLabel('Clear recent searches.')
73 | searchBox,
74 | }) => {
> 75 | await searchBox.clearRecentQueriesButton.click();
| ^
76 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
77 | });
78 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:75:48
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L1
3) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 30000ms exceeded.
|
packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts#L75
3) [chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Test timeout of 30000ms exceeded.
Call log:
- waiting for locator('atomic-search-box').getByLabel('Clear recent searches.')
73 | searchBox,
74 | }) => {
> 75 | await searchBox.clearRecentQueriesButton.click();
| ^
76 | await expect(searchBox.recentQueries().first()).not.toBeVisible();
77 | });
78 |
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:75:48
|
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "atomic-e2e-screenshots-", "result-lists-screenshots", "stencil-sample-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/
|
8 failed
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:43:11 › default › after clicking the searchbox input › after clicking the submit button › should collapse the suggested queries
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:68:9 › with instant results & query suggestions › with recent queries › should display recent queries
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:72:9 › with instant results & query suggestions › with recent queries › should clear recent queries when clicking the clear button
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:79:9 › with instant results & query suggestions › with recent queries › should clear recent queries when pressing enter while the clear button is focused
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:93:9 › with instant results & query suggestions › after clicking the searchbox input › should display suggested queries
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:99:9 › with instant results & query suggestions › after clicking the searchbox input › should display instant results
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:120:11 › with instant results & query suggestions › after clicking the searchbox input › after focusing on suggestion with the mouse › should submit what is in the search box regardless of the mouse position
[chromium] › components/search/atomic-search-box/e2e/atomic-search-box.e2e.ts:140:11 › with instant results & query suggestions › after clicking the searchbox input › after updating the redirect-url attribute › should redirect to the specified url after selecting a suggestion
4 passed (8.2m)
|
The logs for this run have expired and are no longer available.
Loading