Skip to content

[ACS-6323] dynamic content list changing columns order with drag drop #1899

[ACS-6323] dynamic content list changing columns order with drag drop

[ACS-6323] dynamic content list changing columns order with drag drop #1899

Triggered via pull request December 10, 2023 19:30
Status Cancelled
Total duration 24m 17s
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

29 errors, 13 warnings, and 7 notices
[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-1grid", "userFolder-vbtb1", ] 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-z94y0", "userFolder-17rb5", ] 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 #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 0 Array [ "Personal Files", - "User Homes", - "userAdmin-f2i1x", "userFolder-1p4jo", ] 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
E2e test suites: Playwright (navigation, 5)
Process completed with exit code 1.
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items: e2e/playwright/pagination/src/tests/personal-files.ts#L60
1) [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items Error: expect(received).toBe(expected) // Object.is equality Expected: 3 Received: 0 58 | expect(await personalFiles.pagination.getMaxItems()).toContain('25'); 59 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 3'); > 60 | expect(await personalFiles.pagination.getItemsCount()).toBe(3); | ^ 61 | 62 | await personalFiles.pagination.openMaxItemsMenu(); 63 | await personalFiles.pagination.clickMenuItem('50'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:62
[Pagination] › src/tests/personal-files.ts:84: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#L1
2) [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"11101047 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.delete","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"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[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: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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── "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: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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── "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: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 ─────────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── "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: 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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── "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
E2e test suites: Playwright (viewer, 3)
Process completed with exit code 1.
[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
E2e test suites: listViews
Process completed with exit code 1.
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the test suite to run
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the teardown for test suite to run
[Actions] › src/tests/create/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L341
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected) Expected string: "file-title-628n4 file-description-1afeg" Received string: "" Call log: - expect.toHaveAttribute with timeout 5000ms - waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'playwright-file-1e9eh' }) 339 | await createFileFromTemplateDialog.createFromTemplateAction(randomFileName, randomFileTitle, randomFileDescription); 340 | await dataTable.goThroughPagesLookingForRowWithName(randomFileName); > 341 | await expect(dataTable.getCellLinkByName(randomFileName)).toHaveAttribute(titleLabel, randomFileTitle + `\n` + randomFileDescription); | ^ 342 | }); 343 | 344 | test('[C325042] Trim spaces from file Name', async () => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:341:67
[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 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-frehk' }).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
E2e test suites: Playwright (actions, 1)
Process completed with exit code 1.
E2e test suites: viewer,infoDrawer,extensions
The operation was canceled.
E2e test suites: shareActions
The operation was canceled.
E2e test suites: uploadDownloadActions
The operation was canceled.
E2e test suites: search
The operation was canceled.
Finalize
Process completed with exit code 1.
lint: app/src/main.ts#L35
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-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L133
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-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L287
Promise returned in function argument where a void return was expected
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
5 passed (22.0s)
🎭 Playwright Run Summary
3 passed (27.7s)
🎭 Playwright Run Summary
1 failed [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home 1 flaky [Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps 14 passed (1.4m)
🎭 Playwright Run Summary
2 flaky [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages 11 passed (3.5m)
🎭 Playwright Run Summary
1 failed [Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files 2 flaky [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 2 skipped 16 passed (4.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 (6.7m)
🎭 Playwright Run Summary
2 flaky [Actions] › src/tests/create/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 1 skipped 80 passed (9.9m) Timed out waiting 600s for the entire test run

Artifacts

Produced during runtime
Name Size
actions Expired
8.74 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.17 MB
navigation Expired
2.07 MB
pagination Expired
2.65 MB
search Expired
2.09 MB
shareActions Expired
2.14 MB
special-permissions Expired
3.35 MB
uploadDownloadActions Expired
2.23 MB
viewer Expired
33 KB
viewer,infoDrawer,extensions Expired
2.17 MB