Skip to content

[ACS-6443] cleanup for redundant e2es and unused methods #1844

[ACS-6443] cleanup for redundant e2es and unused methods

[ACS-6443] cleanup for redundant e2es and unused methods #1844

Re-run triggered November 30, 2023 08:41
Status Success
Total duration 10m 59s
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

6 errors, 4 warnings, and 7 notices
[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
[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#L66
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: Expected to contain Favorite Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66 64 | ); 65 | for (const action of expectedToolbarMore) { > 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 67 | } 68 | } 69 | } 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:66:104) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:5) 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/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653] Error: Expected to contain Remove Favorite Edit Offline,Upload New Version,Favorite,Copy,Manage Versions,Edit Aspects,Permissions Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66 64 | ); 65 | for (const action of expectedToolbarMore) { > 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 67 | } 68 | } 69 | } 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:66:104) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:94:7
[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
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 (navigation, 5)
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: Playwright (actions, 1)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 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.2m)
🎭 Playwright Run Summary
3 passed (27.3s)
🎭 Playwright Run Summary
16 passed (1.1m)
🎭 Playwright Run Summary
5 passed (19.3s)
🎭 Playwright Run Summary
2 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] [special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653] 62 passed (7.4m)
🎭 Playwright Run Summary
1 flaky [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items 12 passed (2.2m)
🎭 Playwright Run Summary
83 passed (7.4m)

Artifacts

Produced during runtime
Name Size
actions Expired
10 MB
copyMoveActions Expired
2.16 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.16 MB
pagination Expired
11.3 MB
search Expired
2.27 MB
shareActions Expired
2.18 MB
special-permissions Expired
4.67 MB
uploadDownloadActions Expired
2.12 MB
viewer Expired
14.1 KB
viewer,infoDrawer,extensions Expired
2.19 MB