[ACS-7466] [E2E] Added e2e tests for search highlighting #3482
Annotations
7 errors, 1 warning, and 1 notice
e2e/playwright/search/src/tests/search-filters-location.e2e.ts#L45
1) [Search] › src/tests/search-filters-location.e2e.ts:69:7 › Search - Filters - Location › [C279231] Filter by location - files
"beforeAll" hook timeout of 85000ms exceeded.
43 | });
44 |
> 45 | test.beforeAll(async () => {
| ^
46 | try {
47 | const apiClientFactory = new ApiClientFactory();
48 | await apiClientFactory.setUpAcaBackend('admin');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-location.e2e.ts:45:8
|
e2e/playwright/search/src/tests/search-filters-location.e2e.ts#L45
1) [Search] › src/tests/search-filters-location.e2e.ts:69:7 › Search - Filters - Location › [C279231] Filter by location - files
"beforeAll" hook timeout of 85000ms exceeded.
43 | });
44 |
> 45 | test.beforeAll(async () => {
| ^
46 | try {
47 | const apiClientFactory = new ApiClientFactory();
48 | await apiClientFactory.setUpAcaBackend('admin');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-location.e2e.ts:45:8
|
e2e/playwright/search/src/tests/search-filters-location.e2e.ts#L45
2) [Search] › src/tests/search-filters-location.e2e.ts:81:7 › Search - Filters - Location › [C279231] Filter by location - folders
"beforeAll" hook timeout of 85000ms exceeded.
43 | });
44 |
> 45 | test.beforeAll(async () => {
| ^
46 | try {
47 | const apiClientFactory = new ApiClientFactory();
48 | await apiClientFactory.setUpAcaBackend('admin');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-location.e2e.ts:45:8
|
e2e/playwright/search/src/tests/search-filters-location.e2e.ts#L45
2) [Search] › src/tests/search-filters-location.e2e.ts:81:7 › Search - Filters - Location › [C279231] Filter by location - folders
"beforeAll" hook timeout of 85000ms exceeded.
43 | });
44 |
> 45 | test.beforeAll(async () => {
| ^
46 | try {
47 | const apiClientFactory = new ApiClientFactory();
48 | await apiClientFactory.setUpAcaBackend('admin');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-location.e2e.ts:45:8
|
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L112
3) [Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
110 | await searchPage.dataTable.progressBarWaitForReload();
111 |
> 112 | expect(await searchPage.dataTable.getRowsCount()).toBe(1);
| ^
113 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden();
114 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible();
115 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:112:55
|
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L157
4) [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#L92
5) [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '119xe-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: '119xe-fileNameKb.pdf' })
90 |
91 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: pdf');
> 92 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible();
| ^
93 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden();
94 | });
95 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:92:68
|
The following actions use a deprecated Node.js version 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/
|
5 flaky
[Search] › src/tests/search-filters-location.e2e.ts:69:7 › Search - Filters - Location › [C279231] Filter by location - files
[Search] › src/tests/search-filters-location.e2e.ts:81:7 › Search - Filters - Location › [C279231] Filter by location - folders
[Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude
[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:87:7 › Search - Filters - Properties › [C699047] Filter by type
44 passed (8.4m)
|
This job succeeded
Loading