[ACS-6278] - stop showing 'edit aspects' and 'manage rules' when node is a smart folder #1688
pull-request.yml
on: pull_request
Annotations
16 errors, 14 warnings, and 6 notices
[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
1) [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/dataTable/data-table.component.ts#L205
1) [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('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 DataTableComponent.performActionFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:142:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:52: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
1) [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/dataTable/data-table.component.ts:205:88
|
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule:
e2e/playwright/folder-rules/src/tests/manage-rules.spec.ts#L1
2) [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
Test timeout of 45000ms exceeded.
|
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
2) [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
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 DataTableComponent.performActionFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:142:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/manage-rules.spec.ts:51:5
|
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule:
e2e/playwright/folder-rules/src/tests/manage-rules.spec.ts#L1
2) [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
|
[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: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
|
[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
|
[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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
2) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
2) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
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-file-from-template.spec.ts:340:9
|
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
2) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
|
[Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L398
3) [Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-snackbar-content [data-automation-id=\'adf-snackbar-message-content\']').filter({ hasText: 'This name is already in use, try a different name.' }).first()
396 |
397 | await createFileFromTemplateDialog.createFromTemplateAction(commonFileName);
> 398 | await expect(snackBar.getByMessageLocator(errorStrings.nameAlreadyUsedError)).toBeVisible();
| ^
399 | await expect(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible();
400 | });
401 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:398:85
|
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 (navigation, 5)
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 (special-permissions, 6)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
16 passed (1.9m)
|
🎭 Playwright Run Summary
6 passed (55.6s)
|
🎭 Playwright Run Summary
2 flaky
[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
1 passed (1.6m)
|
🎭 Playwright Run Summary
36 passed (4.3m)
|
🎭 Playwright Run Summary
3 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:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
18 passed (4.7m)
|
🎭 Playwright Run Summary
3 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
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
[Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library
61 passed (7.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
14.1 MB |
|
actionsAvailableFilesFolders
Expired
|
2.44 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.21 MB |
|
actionsAvailableSpecialPermissions
Expired
|
3.22 MB |
|
copyMoveActions
Expired
|
2.15 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
folder-rules
Expired
|
5.96 MB |
|
libraryActions
Expired
|
2.14 MB |
|
listViews,navigation
Expired
|
2.1 MB |
|
pagination
Expired
|
3.13 MB |
|
search
Expired
|
2.1 MB |
|
shareActions
Expired
|
2.17 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
18.8 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.17 MB |
|