Skip to content

[ACS-6085] user is not prevented from renaming library to name containing only spaces #1508

[ACS-6085] user is not prevented from renaming library to name containing only spaces

[ACS-6085] user is not prevented from renaming library to name containing only spaces #1508

Status Success
Total duration 21m 21s
Artifacts 5

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

20 errors, 25 warnings, and 6 notices
[Navigation] › src/tests/single-click.spec.ts:68:7 › Single click on item name › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files: e2e/playwright/navigation/src/tests/single-click.spec.ts#L49
1) [Navigation] › src/tests/single-click.spec.ts:68:7 › Single click on item name › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files TypeError: Cannot read properties of null (reading 'entry') 47 | const node = await apiClientFactory.nodes.createNode('-my-', { name: folder1, nodeType: 'cm:folder', relativePath: '/' }); 48 | folder1Id = node.entry.id; > 49 | folderSearchId = (await nodesApiAction.createFolder(folderSearch)).entry.id; | ^ 50 | deletedFile1Id = (await nodesApiAction.createFile(deletedFile1)).entry.id; 51 | deletedFolder1Id = (await nodesApiAction.createFolder(deletedFolder1)).entry.id; 52 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:49:72
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L220
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected) Expected string: "template-folder1-1revp" Received string: "" Call log: - expect.soft.toHaveValue with timeout 5000ms - waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' }) 218 | await expect.soft(createFolderFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible(); 219 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible(); > 220 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1); | ^ 221 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible(); 222 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString); 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:220:85
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L221
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Title' }) 219 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible(); 220 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1); > 221 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible(); | ^ 222 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString); 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:221:86
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L222
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected) Expected string: "" Received string: serializes to the same string Call log: - expect.soft.toHaveValue with timeout 5000ms - waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Title' }) 220 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1); 221 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible(); > 222 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString); | ^ 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); 225 | await expect.soft(createFolderFromTemplateDialog.cancelButton).toBeEnabled(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:222:86
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L223
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Description' }) 221 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible(); 222 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString); > 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); | ^ 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); 225 | await expect.soft(createFolderFromTemplateDialog.cancelButton).toBeEnabled(); 226 | await expect(createFolderFromTemplateDialog.createButton).toBeEnabled(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:223:92
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L224
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: expect(received).toHaveValue(expected) Expected string: "" Received string: serializes to the same string Call log: - expect.soft.toHaveValue with timeout 5000ms - waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Description' }) 222 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString); 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); > 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); | ^ 225 | await expect.soft(createFolderFromTemplateDialog.cancelButton).toBeEnabled(); 226 | await expect(createFolderFromTemplateDialog.createButton).toBeEnabled(); 227 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:224:92
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer: e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [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
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L225
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: expect.soft.toBeEnabled: Target page, context or browser has been closed 223 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible(); 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); > 225 | await expect.soft(createFolderFromTemplateDialog.cancelButton).toBeEnabled(); | ^ 226 | await expect(createFolderFromTemplateDialog.createButton).toBeEnabled(); 227 | }); 228 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:225:72
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L226
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Error: expect.toBeEnabled: Target page, context or browser has been closed 224 | await expect.soft(createFolderFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString); 225 | await expect.soft(createFolderFromTemplateDialog.cancelButton).toBeEnabled(); > 226 | await expect(createFolderFromTemplateDialog.createButton).toBeEnabled(); | ^ 227 | }); 228 | 229 | test('[C325143] Folder name is required', async () => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:226:67
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer: projects/aca-playwright-shared/src/page-objects/pages/base.page.ts#L69
1) [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ─────────── Error: page.goto: Page closed =========================== logs =========================== navigating to "***/#/personal-files/e90ae90f-9811-45d9-8570-e9c0ab58bd52", 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 { 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:76:7 › viewer file › [C279271] Close the viewer: e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ─────────── Pending operations: - page.goto at projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:69:23
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI Pending operations: - expect.soft.toHaveValue at e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:224:92
[Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
2) [Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs Test timeout of 45000ms exceeded.
[special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666]: projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts#L47
1) [special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666] TimeoutError: locator.waitFor: Timeout 5000ms exceeded. =========================== logs =========================== waiting for locator('aca-page-layout .adf-datatable-row[role="row"]').filter({ hasText: 'file-1vysk.txt' }) 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:362:9
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions: e2e/playwright/folder-rules/src/tests/actions.spec.ts#L1
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Test timeout of 45000ms exceeded.
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions: e2e/playwright/folder-rules/src/tests/actions.spec.ts#L1
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Pending operations: - expect.soft.toBeVisible at e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition: e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Test timeout of 45000ms exceeded.
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition: projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts#L55
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Error: locator.click: Target page, context or browser has been closed at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:55 53 | 54 | private async selectComparator(comparators: Partial<Comparator>, index: number): Promise<void> { > 55 | await this.comparatorDropDown.nth(index).click(); | ^ 56 | const option = this.getOptionLocator(comparators); 57 | await option.click(); 58 | } at ConditionComponent.selectComparator (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:55:46) at ConditionComponent.addConditionGroup (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:70:16) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:59:5
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition: e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:57:18
lint: projects/aca-content/preview/src/lib/components/preview.component.ts#L180
Prefer using an optional chain expression instead, as it's more concise and easier to read
lint: projects/aca-content/src/lib/components/common/location-link/location-link.component.ts#L86
Prefer using an optional chain expression instead, as it's more concise and easier to read
lint: projects/aca-content/src/lib/components/common/location-link/location-link.component.ts#L89
Prefer using an optional chain expression instead, as it's more concise and easier to read
lint: projects/aca-content/src/lib/components/common/toggle-shared/toggle-shared.component.ts#L65
Prefer using an optional chain expression instead, as it's more concise and easier to read
E2e test suites: uploadDownloadActions
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: deleteActions
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: editActions,favoriteActions
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: actionsAvailableFilesFolders
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: 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: actionsAvailableSpecialPermissions
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: search
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: viewer,infoDrawer,extensions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/single-click.spec.ts:68:7 › Single click on item name › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files 15 passed (2.4m)
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ──────────── 20 passed (4.7m)
🎭 Playwright Run Summary
2 flaky [Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI [Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs 40 passed (7.1m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666] 35 passed (6.5m)
🎭 Playwright Run Summary
2 flaky [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition 1 passed (1.7m)
🎭 Playwright Run Summary
6 passed (40.4s)

Artifacts

Produced during runtime
Name Size
actions Expired
5.82 MB
folder-rules Expired
10.2 MB
navigation Expired
6.65 KB
special-permissions Expired
2.28 MB
viewer Expired
59.3 KB