Skip to content

[ACS-5949] library property update and cancel button do not reflect the change in UI #1437

[ACS-5949] library property update and cancel button do not reflect the change in UI

[ACS-5949] library property update and cancel button do not reflect the change in UI #1437

Status Success
Total duration 16m 35s
Artifacts 3
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

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

17 errors, 26 warnings, and 5 notices
[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/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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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#L57
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Error: locator.click: Target closed =========================== logs =========================== waiting for locator('.cdk-overlay-pane .mat-option span').filter({ hasText: '(=) Equals' }) locator resolved to <span class="mat-option-text"> (=) Equals </span> attempting click action waiting for element to be visible, enabled and stable element is not stable - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:57 55 | await this.comparatorDropDown.nth(index).click(); 56 | const option = this.getOptionLocator(comparators); > 57 | await option.click(); | ^ 58 | } 59 | 60 | async addCondition(fields: Partial<Field>, comparators: Partial<Comparator>, value: string, index: number): Promise<void> { at ConditionComponent.selectComparator (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:57:18) at ConditionComponent.addCondition (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:63:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:56: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.type at e2e/playwright/folder-rules/src/tests/conditions.spec.ts:55:60
[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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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#L61
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('aca-edit-rule-dialog [data-automation-id="add-condition-button"]') locator resolved to <button mat-button="" data-automation-id="add-condition-…>…</button> attempting click action waiting for element to be visible, enabled and stable ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:61 59 | 60 | async addCondition(fields: Partial<Field>, comparators: Partial<Comparator>, value: string, index: number): Promise<void> { > 61 | await this.addConditionButton.click(); | ^ 62 | await this.selectField(fields, index); 63 | await this.selectComparator(comparators, index); 64 | await this.valueField.nth(index).type(value); at ConditionComponent.addCondition (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:61:35) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:57:40
[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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:61:35
[Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L193
1) [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file 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: 'file-in-root-zqyl0.txt' }) 191 | 192 | test('[C325139] Next button is disabled when selecting a file', async () => { > 193 | await expect(dataTable.getRowByName(fileInRootFolder)).toBeVisible(); | ^ 194 | await expect(selectFolderTemplateDialog.actionButton).toBeDisabled(); 195 | 196 | await dataTable.getRowByName(fileInRootFolder).click(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:193:64
[Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file: projects/aca-playwright-shared/src/api/nodes-api.ts#L263
1) [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── TypeError: Cannot read properties of null (reading 'entry') at ../../../projects/aca-playwright-shared/src/api/nodes-api.ts:263 261 | 262 | async createFolderLink(originalNodeId: string, destinationId: string): Promise<NodeEntry | null> { > 263 | const name = (await this.getNodeById(originalNodeId)).entry.name; | ^ 264 | const nodeBody = { 265 | name: `Link to ${name}.url`, 266 | nodeType: 'app:folderlink', at NodesApi.createFolderLink (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/api/nodes-api.ts:263:59) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:107:19
[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: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:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files: e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
3) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[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
4) [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
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: 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.
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: viewer,infoDrawer,extensions
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: actionsAvailableFilesFolders
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: uploadDownloadActions
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: libraryActions
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: listViews,navigation
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.
🎭 Playwright Run Summary
3 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 [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
🎭 Playwright Run Summary
1 flaky [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file 41 passed (7.0m)
🎭 Playwright Run Summary
4 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:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file 17 passed (6.1m)
🎭 Playwright Run Summary
6 passed (43.1s)
🎭 Playwright Run Summary
16 passed (2.4m)

Artifacts

Produced during runtime
Name Size
actions Expired
2.25 MB
folder-rules Expired
21.1 MB
viewer Expired
3.03 MB