Skip to content

[ACS-5994] Remove redundant deleteNodes method from e2e's #1694

[ACS-5994] Remove redundant deleteNodes method from e2e's

[ACS-5994] Remove redundant deleteNodes method from e2e's #1694

Triggered via pull request November 9, 2023 11:05
Status Cancelled
Total duration 23m 49s
Artifacts 17

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

21 errors, 3 warnings, and 6 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: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: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 #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: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
[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 #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
E2e test suites: Playwright (viewer, 3)
Process completed with exit code 1.
[Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L143
1) [Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-content-node-selector [data-automation-id="current-folder"]').filter({ hasText: 'Node Templates' }) 141 | 142 | test(`[C325045] Navigate through the templates list with folder hierarchy`, async () => { > 143 | await expect(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible(); | ^ 144 | await expect(dataTable.getRowByName(templatesFolder1)).toBeVisible(); 145 | await expect(dataTable.getRowByName(templatesFolder2)).toBeVisible(); 146 | await expect(dataTable.getRowByName(template1InRoot)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:143:80
E2e test suites: deleteActions
Process completed with exit code 1.
[special-permissions] › src/tests/viewer.ts:341:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File Office - [C326664]: projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts#L47
1) [special-permissions] › src/tests/viewer.ts:341:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File Office - [C326664] TimeoutError: locator.waitFor: Timeout 5000ms exceeded. =========================== logs =========================== waiting for locator('aca-page-layout .adf-datatable-row[role="row"]').filter({ hasText: 'file-umigw-docx.docx' }) to be visible ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts:47 45 | 46 | async performDoubleClickFolderOrFileToOpen(name: string): Promise<void> { > 47 | await this.getCellLinkByName(name).waitFor({ state: 'visible', timeout: timeouts.medium }); | ^ 48 | await this.getCellLinkByName(name).dblclick(); 49 | await this.spinnerWaitForReload(); 50 | } at SearchInputComponent.performDoubleClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts:47:40) at checkViewerActions (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:334:38) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:342:9
E2e test suites: uploadDownloadActions
The operation was canceled.
E2e test suites: listViews,navigation
The operation was canceled.
E2e test suites: actionsAvailableFilesFolders
The operation was canceled.
E2e test suites: pagination
The operation was canceled.
E2e test suites: actionsAvailableSpecialPermissions
The operation was canceled.
E2e test suites: search
The operation was canceled.
E2e test suites: viewer,infoDrawer,extensions
The operation was canceled.
Finalize
Process completed with exit code 1.
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: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (41.2s)
🎭 Playwright Run Summary
6 passed (26.1s)
🎭 Playwright Run Summary
16 passed (1.9m)
🎭 Playwright Run Summary
3 failed [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 6 skipped 12 passed (4.0m)
🎭 Playwright Run Summary
1 flaky [Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy 63 passed (5.4m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/viewer.ts:341:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File Office - [C326664] 35 passed (7.3m)

Artifacts

Produced during runtime
Name Size
actions Expired
2.41 MB
actionsAvailableFilesFolders Expired
2.09 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.21 MB
actionsAvailableSpecialPermissions Expired
2.09 MB
copyMoveActions Expired
2.11 MB
createActions Expired
2.18 MB
deleteActions Expired
2.27 MB
editActions,favoriteActions Expired
2.13 MB
libraryActions Expired
2.11 MB
listViews,navigation Expired
2.09 MB
pagination Expired
2.09 MB
search Expired
2.23 MB
shareActions Expired
2.17 MB
special-permissions Expired
1.76 MB
uploadDownloadActions Expired
2.09 MB
viewer Expired
42.4 KB
viewer,infoDrawer,extensions Expired
2.12 MB