PR Robot #24667
Annotations
2 errors 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:81:3 › when more results are available & there are NO result children › should show the "load all results" button
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#L84
1) [chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button
Error: expect(locator).toBeVisible()
Locator: getByRole('button', { name: 'Load all results' }).first()
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 7000ms
- waiting for getByRole('button', { name: 'Load all results' }).first()
82 | foldedResultList,
83 | }) => {
> 84 | await expect(foldedResultList.loadAllResultsButton.first()).toBeVisible();
| ^
85 | });
86 |
87 | test('should NOT show result children', 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:84:65
|
Run /./.github/actions/playwright-atomic
1 flaky
[chromium] › components/search/result-lists/atomic-folded-result-list/e2e/atomic-folded-result-list.e2e.ts:81:3 › when more results are available & there are NO result children › should show the "load all results" button
21 passed (33.0s)
|
Loading