Skip to content

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

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

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

Status Failure
Total duration 48m 45s
Artifacts 3

pull-request.yml

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

Annotations

27 errors, 16 warnings, and 5 notices
[Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh: e2e/playwright/navigation/src/tests/sidebar.spec.ts#L1
1) [Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh Test timeout of 45000ms exceeded.
[Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh: e2e/playwright/navigation/src/tests/sidebar.spec.ts#L1
1) [Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh Pending operations: - page.reload at projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:94:21
[Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L87
1) [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action Error: expect(received).toContain(expected) // indexOf Expected substring: "file-docx-2kqju deleted" Received string: "file-docx-2kqju couldn't be deleted" 85 | await personalFiles.snackBar.getByMessageLocator(randomDocxDelete).waitFor({ state: 'attached' }); 86 | const deleteName = await personalFiles.snackBar.getByMessageLocator(randomDocxDelete).innerText(); > 87 | expect(deleteName).toContain(`${randomDocxDelete} deleted`); | ^ 88 | await personalFiles.dataTable.getCellLinkByName(randomDocxName).waitFor({ state: 'attached' }); 89 | expect(await personalFiles.dataTable.getCellLinkByName(randomDocxDelete).isVisible(), 'file should not visible').toBe(false); 90 | await trashPage.navigate({ waitUntil: 'domcontentloaded' }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.spec.ts:87:24
[Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
1) [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
1) [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
2) [Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
3) [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog Test timeout of 45000ms exceeded.
[Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L170
3) [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-docx-1qwj6' }) ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170 168 | */ 169 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 170 | await this.getCellLinkByName(name).click(); | ^ 171 | await this.spinnerWaitForReload(); 172 | } 173 | 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:170:40) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.spec.ts:126:35
[Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
3) [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170:40
[Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
3) [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L1
3) [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Viewer] › src/tests/viewer-protected.spec.ts:55:7 › viewer file › [C268958] Password dialog appears when opening a protected file: e2e/playwright/viewer/src/tests/viewer-protected.spec.ts#L46
4) [Viewer] › src/tests/viewer-protected.spec.ts:55:7 › viewer file › [C268958] Password dialog appears when opening a protected file Test timeout of 45000ms exceeded while running "beforeEach" hook. 44 | }); 45 | > 46 | test.beforeEach(async ({ personalFiles }) => { | ^ 47 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${folderId}` }); 48 | await personalFiles.dataTable.performClickFolderOrFileToOpen(randomDocxName); 49 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-protected.spec.ts:46:8
[Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L125
1) [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy Test timeout of 45000ms exceeded while running "beforeEach" hook. 123 | 124 | test.describe('Personal Files page', () => { > 125 | test.beforeEach(async ({ personalFiles }) => { | ^ 126 | selectFolderTemplateDialog = personalFiles.contentNodeSelector; 127 | dataTable = personalFiles.dataTable; 128 | toolbar = personalFiles.acaHeader; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:125:10
[Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy: projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts#L50
1) [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy Error: locator.click: Page closed =========================== logs =========================== waiting for locator('aca-toolbar [id="app.toolbar.create"]') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50 48 | 49 | async clickCreateFolderFromTemplate(): Promise<void> { > 50 | await this.createButton.click(); | ^ 51 | await this.matMenu.createFolderFromTemplate.click(); 52 | } 53 | } at AcaHeader.clickCreateFolderFromTemplate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50:29) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:129:21
[Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50:29
[Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Actions] › src/tests/create-folder-from-template.spec.ts:167:11 › Create folder from template › Personal Files page › Select Template dialog › [C325150] Templates list doesn't allow multiple selection: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
2) [Actions] › src/tests/create-folder-from-template.spec.ts:167:11 › Create folder from template › Personal Files page › Select Template dialog › [C325150] Templates list doesn't allow multiple selection Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L125
3) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Test timeout of 45000ms exceeded while running "beforeEach" hook. 123 | 124 | test.describe('Personal Files page', () => { > 125 | test.beforeEach(async ({ personalFiles }) => { | ^ 126 | selectFolderTemplateDialog = personalFiles.contentNodeSelector; 127 | dataTable = personalFiles.dataTable; 128 | toolbar = personalFiles.acaHeader; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:125:10
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts#L50
3) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Error: locator.click: Page closed =========================== logs =========================== waiting for locator('aca-toolbar [id="app.toolbar.create"]') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50 48 | 49 | async clickCreateFolderFromTemplate(): Promise<void> { > 50 | await this.createButton.click(); | ^ 51 | await this.matMenu.createFolderFromTemplate.click(); 52 | } 53 | } at AcaHeader.clickCreateFolderFromTemplate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50:29) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:129:21
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
3) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:50:29
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
3) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: <html>
E2e test suites: deleteActions
Process completed with exit code 1.
E2e test suites: pagination
Process completed with exit code 1.
E2e test suites: listViews,navigation
Process completed with exit code 1.
E2e test suites: actionsAvailableFilesFolders
Process completed with exit code 1.
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: actionsAvailableLibraries,actionsAvailableNewMenu
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: shareActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: viewer,infoDrawer,extensions
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: test-results/. No artifacts will be uploaded.
E2e test suites: search
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: actionsAvailableSpecialPermissions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: createActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: libraryActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: uploadDownloadActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: editActions,favoriteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: deleteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: pagination
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: listViews,navigation
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: actionsAvailableFilesFolders
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (45.6s)
🎭 Playwright Run Summary
6 passed (47.3s)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh 15 passed (2.8m)
🎭 Playwright Run Summary
10 failed [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action ─ [Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action [Viewer] › src/tests/viewer-action.spec.ts:125:7 › viewer action file › [C286314] Pressing ESC in the viewer closes only the action dialog [Viewer] › src/tests/viewer-protected.spec.ts:55:7 › viewer file › [C268958] Password dialog appears when opening a protected file [Viewer] › src/tests/viewer-protected.spec.ts:63:7 › viewer file › [C268959] File content is displayed when entering the correct *** [Viewer] › src/tests/viewer-protected.spec.ts:73:7 › viewer file › [C268960] Error appears when entering an incorrect *** [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries [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 7 skipped 4 passed (2.0m)
🎭 Playwright Run Summary
12 failed [Actions] › src/tests/create-folder-from-template.spec.ts:149:11 › Create folder from template › Personal Files page › Select Template dialog › [C325149] Navigate through the templates list with folder hierarchy [Actions] › src/tests/create-folder-from-template.spec.ts:167:11 › Create folder from template › Personal Files page › Select Template dialog › [C325150] Templates list doesn't allow multiple selection [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot [Actions] › src/tests/create-folder-from-template.spec.ts:268:11 › Create folder from template › Personal Files page › Create from template dialog › [C325146] Folder name containing only spaces [Actions] › src/tests/create-folder-from-template.spec.ts:346:11 › Create folder from template › Personal Files page › Folder created from template on Personal Files › [C325154] Create a folder from a template - with a Name, Title and Description [Actions] › src/tests/create-folder-from-template.spec.ts:352:11 › Create folder from template › Personal Files page › Folder created from template on Personal Files › [C325158] Trim spaces from folder Name [Actions] › src/tests/create-folder.spec.ts:54:7 › Create folders › [C216341] Create a folder with name only [Actions] › src/tests/create-folder.spec.ts:111:7 › Create folders › [C216348] Create folder when a name that ends with a dot "." [Actions] › src/tests/create-folder.spec.ts:154:7 › Create folders › [C216350] Duplicate folder name error [Actions] › src/tests/create-library.spec.ts:72:7 › Create Libraries › [C280024] Create Library dialog UI [Actions] › src/tests/create-library.spec.ts:134:7 › Create Libraries › [C289882] Create a library with a given ID and description [Actions] › src/tests/create-library.spec.ts:198:7 › Create Libraries › [C280026] Library ID cannot contain special characters 25 skipped 5 passed (2.2m)

Artifacts

Produced during runtime
Name Size
actions Expired
38 MB
navigation Expired
2.75 MB
viewer Expired
3.01 MB