refactor(atomic): split the atomic store into composable parts #25694
Annotations
7 errors, 1 warning, and 1 notice
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts#L31
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
TypeError: Cannot read properties of undefined (reading '0')
at components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31
29 | const response = await route.fetch();
30 | const body = await response.json();
> 31 | body.results[0].totalNumberOfChildResults = total;
| ^
32 |
33 | await route.fulfill({
34 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31:21
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts#L32
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
Error: expect(locator).toBeVisible()
Locator: locator('[part="children-root"]').first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for locator('[part="children-root"]').first()
30 |
31 | test('should show result children', async ({foldedResultList}) => {
> 32 | await expect(foldedResultList.resultChildren.first()).toBeVisible();
| ^
33 | });
34 |
35 | test('should NOT show a "no results" label', async ({foldedResultList}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:32:59
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts#L31
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31
29 | const response = await route.fetch();
30 | const body = await response.json();
> 31 | body.results[0].totalNumberOfChildResults = total;
| ^
32 |
33 | await route.fulfill({
34 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31:21
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts#L32
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('[part="children-root"]').first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for locator('[part="children-root"]').first()
30 |
31 | test('should show result children', async ({foldedResultList}) => {
> 32 | await expect(foldedResultList.resultChildren.first()).toBeVisible();
| ^
33 | });
34 |
35 | test('should NOT show a "no results" label', async ({foldedResultList}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:32:59
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts#L31
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
TypeError: Cannot read properties of undefined (reading '0')
at components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31
29 | const response = await route.fetch();
30 | const body = await response.json();
> 31 | body.results[0].totalNumberOfChildResults = total;
| ^
32 |
33 | await route.fulfill({
34 | response,
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/page-object.ts:31:21
|
Run /./.github/actions/playwright-atomic:
packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts#L32
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(locator).toBeVisible()
Locator: locator('[part="children-root"]').first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for locator('[part="children-root"]').first()
30 |
31 | test('should show result children', async ({foldedResultList}) => {
> 32 | await expect(foldedResultList.resultChildren.first()).toBeVisible();
| ^
33 | });
34 |
35 | test('should NOT show a "no results" label', async ({foldedResultList}) => {
at /home/runner/work/ui-kit/ui-kit/packages/atomic/src/components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:32:59
|
Run /./.github/actions/playwright-atomic
Process completed with exit code 1.
|
Run /./.github/actions/playwright-atomic:
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 28.8s
|
Run /./.github/actions/playwright-atomic
1 failed
[chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:31:3 › when more results are NOT available & there are result children › should show result children
22 passed (43.6s)
|
Loading