Skip to content

[ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder #1678

[ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder

[ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder #1678

Triggered via pull request November 8, 2023 14:22
Status Cancelled
Total duration 27m 3s
Artifacts 16

pull-request.yml

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

Annotations

24 errors, 14 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#L1
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 Test timeout of 45000ms exceeded.
[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#L70
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 Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'folder1-148ig' }) ============================================================ 68 | test('[C280034] Navigate inside the folder when clicking the hyperlink on Personal Files', async ({ personalFiles }) => { 69 | await personalFiles.navigate(); > 70 | await personalFiles.dataTable.getCellLinkByName(folder1).click(); | ^ 71 | await personalFiles.dataTable.spinnerWaitForReload(); 72 | expect(await personalFiles.breadcrumb.currentItem.innerText()).toBe(folder1); 73 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
[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#L1
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 Pending operations: - locator.click at e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
[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#L1
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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[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#L70
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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'folder1-v1e7p' }) ============================================================ 68 | test('[C280034] Navigate inside the folder when clicking the hyperlink on Personal Files', async ({ personalFiles }) => { 69 | await personalFiles.navigate(); > 70 | await personalFiles.dataTable.getCellLinkByName(folder1).click(); | ^ 71 | await personalFiles.dataTable.spinnerWaitForReload(); 72 | expect(await personalFiles.breadcrumb.currentItem.innerText()).toBe(folder1); 73 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
[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#L1
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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
[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#L1
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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[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#L70
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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'folder1-91syk' }) ============================================================ 68 | test('[C280034] Navigate inside the folder when clicking the hyperlink on Personal Files', async ({ personalFiles }) => { 69 | await personalFiles.navigate(); > 70 | await personalFiles.dataTable.getCellLinkByName(folder1).click(); | ^ 71 | await personalFiles.dataTable.spinnerWaitForReload(); 72 | expect(await personalFiles.breadcrumb.currentItem.innerText()).toBe(folder1); 73 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
[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#L1
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 Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at e2e/playwright/navigation/src/tests/single-click.spec.ts:70:62
E2e test suites: Playwright (navigation, 5)
Process completed with exit code 1.
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Error: locator.click: Target closed =========================== logs =========================== waiting for locator('adf-pagination [aria-label="Next page button"]') locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205 203 | } 204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled(); > 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click(); | ^ 206 | await this.spinnerWaitForReload(); 207 | } 208 | } at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-library.spec.ts:100:5
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('adf-pagination [aria-label="Next page button"]') locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205 203 | } 204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled(); > 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click(); | ^ 206 | await this.spinnerWaitForReload(); 207 | } 208 | } at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-library.spec.ts:100:5
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Target closed =========================== logs =========================== waiting for locator('adf-pagination [aria-label="Next page button"]') locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205 203 | } 204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled(); > 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click(); | ^ 206 | await this.spinnerWaitForReload(); 207 | } 208 | } at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-library.spec.ts:100:5
[Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library: e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
E2e test suites: Playwright (actions, 1)
Process completed with exit code 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]: 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-vy8wq.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
E2e test suites: actionsAvailableSpecialPermissions
The operation was canceled.
E2e test suites: actionsAvailableFilesFolders
The operation was canceled.
Finalize
Process completed with exit code 1.
lint: app/src/main.ts#L35
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L339
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L358
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L132
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L167
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L47
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L59
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L118
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L121
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L143
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
E2e test suites: createActions
No files were found with the provided path: e2e-output/. 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 (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
6 passed (23.0s)
🎭 Playwright Run Summary
3 passed (31.4s)
🎭 Playwright Run Summary
21 passed (2.5m)
🎭 Playwright Run Summary
1 failed [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 (3.7m)
🎭 Playwright Run Summary
1 failed [Actions] › src/tests/create-library.spec.ts:89:7 › Create Libraries › [C280025] Create a public library 63 passed (7.7m)
🎭 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 (7.0m)

Artifacts

Produced during runtime
Name Size
actions Expired
7.91 MB
actionsAvailableFilesFolders Expired
2.09 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.21 MB
actionsAvailableSpecialPermissions Expired
2.09 MB
copyMoveActions Expired
2.16 MB
deleteActions Expired
2.15 MB
editActions,favoriteActions Expired
2.13 MB
libraryActions Expired
2.14 MB
listViews,navigation Expired
2.13 MB
navigation Expired
5.71 MB
pagination Expired
3.13 MB
search Expired
2.27 MB
shareActions Expired
2.17 MB
special-permissions Expired
2.13 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.18 MB