[ACS-8371] Fix viewer preview #3265
Annotations
5 errors, 2 warnings, and 1 notice
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L157
1) [Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
155 | await searchPage.dataTable.progressBarWaitForReload();
156 |
> 157 | expect(await searchPage.dataTable.getRowsCount()).toBe(1);
| ^
158 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden();
159 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible();
160 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:157:55
|
e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L74
2) [Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'z3dw7-fileNameKb.pdf' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'z3dw7-fileNameKb.pdf' })
72 |
73 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: At Most 1 MB');
> 74 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible();
| ^
75 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden();
76 | });
77 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:74:68
|
e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts#L1
3) [Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
Test timeout of 85000ms exceeded.
|
e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts#L71
3) [Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
Error: locator.textContent: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item')
69 | await searchPage.searchWithin(file, 'files');
70 | await searchPage.dataTable.clickItemLocation(file);
> 71 | expect((await personalFiles.breadcrumb.items.textContent()).trim()).toEqual('Personal Files');
| ^
72 | });
73 | });
74 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts:71:50
|
e2e/playwright/search/src/tests/search-results-general.e2e.ts#L98
4) [Search] › src/tests/search-results-general.e2e.ts:95:7 › Search Results - General › [C279162] Results are updated automatically when changing the search term
Error: expect(received).toBeTruthy()
Received: false
96 | await searchPage.searchWithin(file, 'filesAndFolders');
97 |
> 98 | expect(await searchPage.dataTable.isItemPresent(file)).toBeTruthy();
| ^
99 | expect(await searchPage.dataTable.isItemPresent(folder)).toBeFalsy();
100 |
101 | await searchPage.searchInput.searchButton.click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-general.e2e.ts:98:60
|
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 35.5s
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
4 flaky
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
[Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB
[Search] › src/tests/search-results-files-folders.e2e.ts:63:7 › Search results - files and folders › [C279177] Location column redirect - file in user Home
[Search] › src/tests/search-results-general.e2e.ts:95:7 › Search Results - General › [C279162] Results are updated automatically when changing the search term
42 passed (6.4m)
|
This job succeeded
Loading