[ACS-8398] unit tests part 3 #3625
Annotations
4 errors, 2 warnings, and 1 notice
Run /./.github/actions/run-e2e-playwright:
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
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L92
2) [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: '177dq-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: '177dq-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#L77
3) [Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results
Error: expect(received).toBeTruthy()
Received: false
75 | test('[XAT-17121] Matching phrases should be highlighted in the file content for search results', async ({ searchPage }) => {
76 | await searchPage.searchWithin(fileContent, 'files');
> 77 | expect(await searchPage.dataTable.hasHighlightedText('content')).toBeTruthy();
| ^
78 | expect(await searchPage.dataTable.hasHighlightedText('name')).toBeFalsy();
79 | });
80 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-highlighting.e2e.ts:77:70
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-results-libraries.e2e.ts#L190
4) [Search] › src/tests/search-results-libraries.e2e.ts:179:7 › Search Results - General › [C290017] Library visibility is correctly displayed
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 1
Object {
"user-site-98v0z-moderated": "MODERATED",
+ "user-site-98v0z-private": "PRIVATE",
"user-site-98v0z-public": "PUBLIC",
}
188 | const actualSitesVisibility = await searchPage.dataTable.getSitesNameAndVisibility();
189 |
> 190 | expect(expectedSitesVisibility).toEqual(actualSitesVisibility);
| ^
191 | });
192 |
193 | test('[C290018] User role is correctly displayed', async ({ searchPage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-libraries.e2e.ts:190:37
|
Run /./.github/actions/run-e2e-playwright:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 30.0s
|
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/
|
Run /./.github/actions/run-e2e-playwright
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:87:7 › Search - Filters - Properties › [C699047] Filter by type
[Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results
[Search] › src/tests/search-results-libraries.e2e.ts:179:7 › Search Results - General › [C290017] Library visibility is correctly displayed
45 passed (6.5m)
|
Loading