Pull request #4121
pull-request.yml
on: schedule
Annotations
20 errors, 8 warnings, and 17 notices
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library:
e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L123
1) [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-18uaa]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-18uaa]')
121 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName);
122 | await libraryDialog.createButton.click();
> 123 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible();
| ^
124 |
125 | await myLibrariesPage.navigate();
126 | await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:123:73
|
[Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/personal-files.ts#L83
1) [Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 26-50 of 51"
Received string: "Showing 1-25 of 51"
81 | await personalFiles.pagination.clickOnNextPage();
82 | await personalFiles.dataTable.spinnerWaitForReload();
> 83 | expect(await personalFiles.pagination.getRange()).toContain('Showing 26-50 of 51');
| ^
84 | await personalFiles.pagination.clickOnPreviousPage();
85 | await personalFiles.dataTable.spinnerWaitForReload();
86 | expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:83:57
|
[Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/favorites.ts#L85
2) [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 26-50 of 51"
Received string: "Showing 1-25 of 51"
83 | await favoritePage.pagination.clickOnNextPage();
84 | await favoritePage.dataTable.spinnerWaitForReload();
> 85 | expect(await favoritePage.pagination.getRange()).toContain('Showing 26-50 of 51');
| ^
86 | await favoritePage.pagination.clickOnPreviousPage();
87 | await favoritePage.dataTable.spinnerWaitForReload();
88 | expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:85:56
|
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content:
e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L161
1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content
Error: expect(received).toEqual(expected) // deep equality
Expected: " Showing 1--1 of -1 "
Received: " Showing 1-11 of 11 "
159 | expect(await personalFiles.dataTable.isItemPresent(folder1)).toBeFalsy();
160 | items--;
> 161 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `);
| ^
162 | await trashPage.navigate();
163 | expect(await personalFiles.dataTable.isItemPresent(folder1)).toBeTruthy();
164 | expect(await personalFiles.dataTable.isItemPresent(file1InFolder)).toBeFalsy();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:161:60
|
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:116:7 › Unshare a file from Search Results › [C306995] Unshare dialog UI:
e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts#L103
1) [Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:116:7 › Unshare a file from Search Results › [C306995] Unshare dialog UI
Error: ----- beforeAll failed : Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":500,"briefSummary":"Failed to update node 32","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"087c66bd-a834-47af-bc66-bda83437affd"}}
101 | await filesAction.waitForNodes(`search-file-${searchRandom}`, { expect: 6 });
102 | } catch (error) {
> 103 | throw new Error(`----- beforeAll failed : ${error}`);
| ^
104 | }
105 | });
106 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts:103:13
|
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file-docx"
Received string: "navigate_before
navigate_next"
208 |
209 | await personalFiles.viewer.waitForViewerToOpen();
> 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile);
| ^
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
|
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file-docx"
Received string: "navigate_before
navigate_next"
208 |
209 | await personalFiles.viewer.waitForViewerToOpen();
> 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile);
| ^
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
|
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L210
2) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file-docx"
Received string: "navigate_before
navigate_next"
208 |
209 | await personalFiles.viewer.waitForViewerToOpen();
> 210 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile);
| ^
211 |
212 | await personalFiles.acaHeader.clickViewerMoreActions();
213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:210:75
|
[Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites:
e2e/playwright/viewer/src/tests/viewer.e2e.ts#L1
3) [Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
Error: {"error":{"errorKey":"Person 'user-6idg9' already exists.","statusCode":409,"briefSummary":"112528525 Person 'user-6idg9' already exists.","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com","logId":"47aef853-a58d-489f-aef8-53a58d389fc0"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
E2E Playwright - viewer
Process completed with exit code 1.
|
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options:
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
|
[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:
e2e/playwright/search/src/tests/search-highlighting.e2e.ts#L77
2) [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
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination:
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
Test timeout of 150000ms exceeded.
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
Error: locator.click: Test timeout of 150000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-ezrfw' })
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204
202 | */
203 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 204 | await this.getCellLinkByName(name).click();
| ^
205 | await this.spinnerWaitForReload();
206 | }
207 |
at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204:40)
at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:76:37)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:92:11
|
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder:
e2e/playwright/list-views/src/tests/trash.e2e.ts#L1
1) [List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L291
1) [List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-d51bz.txt' }).locator('.aca-location-link')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291
289 |
290 | async clickItemLocation(name: string): Promise<void> {
> 291 | await this.getItemLocationEl(name).click();
| ^
292 | }
293 |
294 | async getSortingOrder(): Promise<string> {
at DataTableComponent.clickItemLocation (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.e2e.ts:103:33
|
Finalize
Process completed with exit code 1.
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Slow Test:
[Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 20.6s
|
Slow Test:
[Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 17.3s
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 22.2s
|
Slow Test:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 29.6s
|
Finalize
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
🎭 Playwright Run Summary
6 passed (23.7s)
|
🎭 Playwright Run Summary
11 passed (1.1m)
|
🎭 Playwright Run Summary
9 passed (1.3m)
|
🎭 Playwright Run Summary
16 passed (1.7m)
|
🎭 Playwright Run Summary
1 flaky
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
19 passed (2.5m)
|
🎭 Playwright Run Summary
25 passed (2.8m)
|
🎭 Playwright Run Summary
29 passed (3.0m)
|
🎭 Playwright Run Summary
2 flaky
[Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
[Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
9 passed (3.9m)
|
🎭 Playwright Run Summary
1 flaky
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:153:9 › Delete and undo delete › on Personal Files › [C217126] delete a folder with content
22 passed (3.9m)
|
🎭 Playwright Run Summary
24 passed (3.7m)
|
🎭 Playwright Run Summary
1 flaky
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:116:7 › Unshare a file from Search Results › [C306995] Unshare dialog UI
14 passed (4.1m)
|
🎭 Playwright Run Summary
2 failed
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked
1 flaky
[Viewer] › src/tests/viewer.e2e.ts:175:7 › viewer file › [C284634] Viewer opens for a file from Favorites
31 passed (4.9m)
|
🎭 Playwright Run Summary
64 passed (5.5m)
|
🎭 Playwright Run Summary
19 passed (6.2m)
|
🎭 Playwright Run Summary
2 flaky
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
[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
47 passed (6.4m)
|
🎭 Playwright Run Summary
1 flaky
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination
22 passed (6.6m)
|
🎭 Playwright Run Summary
1 flaky
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
67 passed (8.9m)
|