Skip to content

GH Auto: Upstream dependencies ADF:6.6.0-7146652899 JS-API:7.5.0-7146652899 using Tag:6.6.0-7146652899 #1891

GH Auto: Upstream dependencies ADF:6.6.0-7146652899 JS-API:7.5.0-7146652899 using Tag:6.6.0-7146652899

GH Auto: Upstream dependencies ADF:6.6.0-7146652899 JS-API:7.5.0-7146652899 using Tag:6.6.0-7146652899 #1891

Re-run triggered December 8, 2023 23:16
Status Success
Total duration 5m 19s
Artifacts 12

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
4s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 13 warnings, and 7 notices
[Actions] › src/tests/library/library-actions.spec.ts:214:9 › Library actions › My Libraries page › [C289974] Mark library as favorite from My Libraries: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L215
1) [Actions] › src/tests/library/library-actions.spec.ts:214:9 › Library actions › My Libraries page › [C289974] Mark library as favorite from My Libraries Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-A-library-ziaqk' }).locator('[title="Contributor"]') 213 | 214 | test('[C289974] Mark library as favorite from My Libraries', async () => { > 215 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminLibrary3, contributorRole)).toBeVisible(); | ^ 216 | await libraryTable.getCellByColumnNameAndRowItem(adminLibrary3, contributorRole).click(); 217 | await myLibrariesHeader.clickMoreActions(); 218 | await libraryMenu.clickMenuItem(favoriteButton); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:215:96
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L272
2) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries TypeError: Cannot read properties of undefined (reading 'addFavoriteById') 270 | 271 | test('[C290109] Join a moderated library from Favorite Libraries', async ({ favoriteLibrariesPage }) => { > 272 | await favoritesApi.addFavoriteById(siteString, adminModerateLibrary1); | ^ 273 | await favoriteLibrariesPage.navigate(); 274 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, notMemberString)).toBeVisible(); 275 | await libraryTable.performActionFromExpandableMenu(adminModerateLibrary1, joinButton); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:272:26
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L280
2) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-Am-library-15goa' }).locator('[title="Consumer"]') 278 | await adminSitesApi.approveSiteMembershipRequest(adminModerateLibrary1, username2); 279 | await favoriteLibrariesPage.navigate(); > 280 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, consumerRole)).toBeVisible(); | ^ 281 | }); 282 | 283 | test('[C290110] Leave a library from Favorite Libraries', async ({ favoriteLibrariesPage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:280:101
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home: e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ "Personal Files", - "User Homes", - "userAdmin-bv0tf", "userFolder-1rs8m", ] 53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` }); 54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' }); > 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]); | ^ 56 | }); 57 | }); 58 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home: e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ "Personal Files", - "User Homes", - "userAdmin-1o1k4", "userFolder-dru3p", ] 53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` }); 54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' }); > 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]); | ^ 56 | }); 57 | }); 58 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
[Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps: e2e/playwright/navigation/src/tests/breadcrumb.spec.ts#L67
2) [Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps TypeError: Cannot read properties of null (reading 'entry') 65 | await sitesApiAction.createSite(siteName, Site.VisibilityEnum.PUBLIC); 66 | docLibId = await sitesApiAction.getDocLibId(siteName); > 67 | parentFromSiteId = (await nodesApiAction.createFolder(parentFromSite, docLibId)).entry.id; | ^ 68 | subFolder1FromSiteId = (await nodesApiAction.createFolder(subFolder1FromSite, parentFromSiteId)).entry.id; 69 | subFolder2FromSiteId = (await nodesApiAction.createFolder(subFolder2FromSite, subFolder1FromSiteId)).entry.id; 70 | await nodesApiAction.createFile(fileName1FromSite, subFolder2FromSiteId); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb.spec.ts:67:86
[Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page: e2e/playwright/navigation/src/tests/sidebar.spec.ts#L76
3) [Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page Error: Sidebar not expanded Expected: true Received: false 74 | await searchPage.searchInput.getIconByName('close').click(); 75 | await searchPage.sidenav.expandedSidenav.waitFor({ state: 'attached' }); > 76 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true); | ^ 77 | }); 78 | }); 79 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/sidebar.spec.ts:76:85
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files: e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files "beforeAll" hook timeout of 45000ms exceeded. 34 | let fileDocxId: string; 35 | > 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => { | ^ 37 | await apiClientFactory.setUpAcaBackend('***'); 38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' }); 39 | folderId = node.entry.id; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer: e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
2) [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ─────────── "beforeAll" hook timeout of 45000ms exceeded. 34 | let fileDocxId: string; 35 | > 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => { | ^ 37 | await apiClientFactory.setUpAcaBackend('***'); 38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' }); 39 | folderId = node.entry.id; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file: e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
3) [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file "beforeAll" hook timeout of 45000ms exceeded. 34 | let fileDocxId: string; 35 | > 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => { | ^ 37 | await apiClientFactory.setUpAcaBackend('***'); 38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' }); 39 | folderId = node.entry.id; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file: projects/aca-playwright-shared/src/page-objects/pages/base.page.ts#L69
3) [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file Error: page.goto: Page closed =========================== logs =========================== navigating to "***/#/personal-files/305c2b28-a6ee-45db-a1d3-67440b48ee22", waiting until "load" ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:69 67 | 68 | if (actualOptions.remoteUrl) { > 69 | await this.page.goto(actualOptions.remoteUrl, { | ^ 70 | waitUntil: actualOptions.waitUntil 71 | }); 72 | } else if (this.urlRequest && actualOptions.waitForRequest) { at PersonalFilesPage.navigate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:69:23) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:49:25
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file: e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
3) [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file Pending operations: - browserContext.newPage
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Test timeout of 45000ms exceeded.
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('.mat-menu-content') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57 55 | 56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> { > 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' }); | ^ 58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item'); 59 | let actualMoreActions: string[] = await Promise.all( 60 | menus.map(async (button) => { at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items: e2e/playwright/pagination/src/tests/favorites.ts#L60
1) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 0 58 | expect(await favoritePage.pagination.getMaxItems()).toContain('25'); 59 | expect(await favoritePage.pagination.getTotalPages()).toContain('of 3'); > 60 | expect(await favoritePage.pagination.getItemsCount()).toBe(3); | ^ 61 | await favoritePage.pagination.closeMenu(); 62 | 63 | await favoritePage.pagination.openMaxItemsMenu(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:60:61
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L340
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L359
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L132
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L167
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L47
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L59
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L118
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L121
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L143
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (27.7s)
🎭 Playwright Run Summary
2 flaky [Actions] › src/tests/library/library-actions.spec.ts:214:9 › Library actions › My Libraries page › [C289974] Mark library as favorite from My Libraries [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 81 passed (9.8m)
🎭 Playwright Run Summary
5 passed (22.1s)
🎭 Playwright Run Summary
3 flaky [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home [Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps [Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page 13 passed (1.4m)
🎭 Playwright Run Summary
3 flaky [Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ──────────── [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file 18 passed (3.5m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] 63 passed (5.7m)
🎭 Playwright Run Summary
1 flaky [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items 12 passed (2.1m)

Artifacts

Produced during runtime
Name Size
actions Expired
6.72 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.1 MB
navigation Expired
2.19 MB
pagination Expired
10.3 MB
search Expired
2.1 MB
shareActions Expired
2.18 MB
special-permissions Expired
10.7 MB
uploadDownloadActions Expired
2.12 MB
viewer Expired
29.1 KB
viewer,infoDrawer,extensions Expired
2.19 MB