[ACS-9154] Fix unstable tests in ACA after migration to local ACS #4259
Annotations
3 errors, 2 warnings, and 1 notice
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L92
1) [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: '1x8th-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: '1x8th-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
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-highlighting.e2e.ts#L71
2) [Search] › src/tests/search-highlighting.e2e.ts:69:7 › Search Highlighting › [XAT-17120] Matching phrases should be highlighted in the file description for search results
Error: expect(received).toBeTruthy()
Received: false
69 | test('[XAT-17120] Matching phrases should be highlighted in the file description for search results', async ({ searchPage }) => {
70 | await searchPage.searchWithin(fileDescription, 'files');
> 71 | expect(await searchPage.dataTable.hasHighlightedText('description')).toBeTruthy();
| ^
72 | expect(await searchPage.dataTable.hasHighlightedText('name')).toBeFalsy();
73 | });
74 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-highlighting.e2e.ts:71:74
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-sorting.e2e.ts#L112
3) [Search] › src/tests/search-sorting.e2e.ts:136:7 › Search sorting › [C277727] Sort by Relevance
Error: expect(received).toContain(expected) // indexOf
Expected substring: "search-sort-z217r-file-1.jpg"
Received string: " Select file search-sort-z217r-file-2.pdf ( search sort title )search-sort-${random}-fileCompany Home › User Homes › user1-z217r › parent-search-z217r2.96 KB less than a minute ago user2-z217r user2-z217r View 0 more "
110 | await searchPage.searchWithin(`*${random}*`, 'files');
111 | await searchPage.searchSortingPicker.sortBy(sortBy, sortOrder);
> 112 | expect(await searchPage.dataTable.getNthRow(0).textContent()).toContain(expectedFirstFile);
| ^
113 | expect(await searchPage.dataTable.getNthRow(1).textContent()).toContain(expectedSecondFile);
114 | }
115 |
at testSearchSorting (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:112:67)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:137:5
|
Run /./.github/actions/run-e2e-playwright:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 39.9s
|
Run /./.github/actions/run-e2e-playwright:
[Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 23.0s
|
Run /./.github/actions/run-e2e-playwright
3 flaky
[Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type
[Search] › src/tests/search-highlighting.e2e.ts:69:7 › Search Highlighting › [XAT-17120] Matching phrases should be highlighted in the file description for search results
[Search] › src/tests/search-sorting.e2e.ts:136:7 › Search sorting › [C277727] Sort by Relevance
45 passed (6.2m)
|
Loading