Pull request #4081
Annotations
7 errors, 1 warning, and 1 notice
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L112
1) [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
|
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: 'da7jt-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: 'da7jt-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
3) [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-highlighting.e2e.ts#L77
4) [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-highlighting.e2e.ts#L77
4) [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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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-files-folders.e2e.ts#L62
5) [Search] › src/tests/search-results-files-folders.e2e.ts:57:7 › Search results - files and folders › [C290029] Search file with special characters
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'любимый-сайт-hq7xj' })
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'любимый-сайт-hq7xj' })
60 | await nodesApi.createFile(fileRussian);
61 | await searchPage.searchWithin(fileRussian, 'filesAndFolders');
> 62 | await expect(searchPage.dataTable.getRowByName(fileRussian)).toBeVisible();
| ^
63 | });
64 |
65 | test('[C279177] Location column redirect - file in user Home', async ({ searchPage, personalFiles }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts:62:66
|
Run /./.github/actions/run-e2e-playwright:
e2e/playwright/search/src/tests/search-sorting.e2e.ts#L114
6) [Search] › src/tests/search-sorting.e2e.ts:162:9 › Search sorting › [C277736] Sort by Modified date
Error: expect(received).toContain(expected) // indexOf
Expected substring: "search-sort-2fzj5-file-1.jpg"
Received string: " Select file search-sort-2fzj5-file-2.pdf ( search sort title )search-sort-${random}-fileCompany Home › User Homes › user1-2fzj5 › parent-search-2fzj52.96 KB less than a minute ago user2-2fzj5 user2-2fzj5 View 0 more "
112 | await searchPage.searchSortingPicker.sortBy(sortBy, sortOrder);
113 |
> 114 | expect(await searchPage.dataTable.getNthRow(0).textContent()).toContain(expectedFirstFile);
| ^
115 | expect(await searchPage.dataTable.getNthRow(1).textContent()).toContain(expectedSecondFile);
116 | }
117 |
at testSearchSorting (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:114:67)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-sorting.e2e.ts:163:7
|
Run /./.github/actions/run-e2e-playwright:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 29.1s
|
Run /./.github/actions/run-e2e-playwright
6 flaky
[Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude
[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-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-files-folders.e2e.ts:57:7 › Search results - files and folders › [C290029] Search file with special characters
[Search] › src/tests/search-sorting.e2e.ts:162:9 › Search sorting › [C277736] Sort by Modified date
43 passed (6.4m)
|
Loading