[ACS-6252] support disabling the tags and categories feature in the applications #1826
pull-request.yml
on: pull_request
Annotations
13 errors, 13 warnings, and 7 notices
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items:
e2e/playwright/pagination/src/tests/personal-files.ts#L60
1) [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
Error: expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 0
58 | expect(await personalFiles.pagination.getMaxItems()).toContain('25');
59 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 3');
> 60 | expect(await personalFiles.pagination.getItemsCount()).toBe(3);
| ^
61 |
62 | await personalFiles.pagination.openMaxItemsMenu();
63 | await personalFiles.pagination.clickMenuItem('50');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:62
|
[Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/personal-files.ts#L1
2) [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"102819845 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.delete","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
[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
1) [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
1) [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
1) [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-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name:
e2e/playwright/actions/src/tests/create-folder.spec.ts#L168
2) [Actions] › src/tests/create-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name, title and description
Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected)
- Expected string - 1
+ Received string + 1
- folder-title-1nd0q
+ playwright-folder-17vc2folder-title-1nd0q
folder-description-1tnx4
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'playwright-folder-17vc2' })
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-17vc2folder-title-1nd0q </span>
- unexpected value "playwright-folder-17vc2folder-title-1nd0q
folder-description-1tnx4"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-17vc2folder-title-1nd0q </span>
- unexpected value "playwright-folder-17vc2folder-title-1nd0q
folder-description-1tnx4"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-17vc2folder-title-1nd0q </span>
- unexpected value "playwright-folder-17vc2folder-title-1nd0q
folder-description-1tnx4"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-17vc2folder-title-1nd0q </span>
- unexpected value "playwright-folder-17vc2folder-title-1nd0q
folder-description-1tnx4"
166 | await folderDialog.createNewFolderDialog(randomFolderName, randomFolderTitle, randomFolderDescription);
167 |
> 168 | await expect(folderTable.getCellLinkByName(randomFolderName)).toHaveAttribute('title', randomFolderTitle + `\n` + randomFolderDescription);
| ^
169 | });
170 |
171 | test('[C216351] Folder created after trimmed ending spaces from a folder name', async () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder.spec.ts:168:69
|
[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
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Test timeout of 45000ms exceeded.
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: locator.waitFor: Page closed
=========================== logs ===========================
waiting for locator('.mat-menu-content')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57
55 |
56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> {
> 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' });
| ^
58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item');
59 | let actualMoreActions: string[] = await Promise.all(
60 | menus.map(async (button) => {
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50)
at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Pending operations:
- locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
|
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Test timeout of 45000ms exceeded.
|
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L170
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-16gqu-shared.txt' })
============================================================
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 checkViewerActions (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:255:36)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:283:9
|
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170:40
|
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#L340
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#L359
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: Playwright (navigation, 5)
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 (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
2 flaky
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
[Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
11 passed (4.5m)
|
🎭 Playwright Run Summary
16 passed (1.6m)
|
🎭 Playwright Run Summary
3 passed (30.9s)
|
🎭 Playwright Run Summary
5 passed (27.0s)
|
🎭 Playwright Run Summary
2 flaky
[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-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name, title and description
62 passed (5.6m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
20 passed (2.6m)
|
🎭 Playwright Run Summary
2 flaky
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
62 passed (6.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
7.58 MB |
|
copyMoveActions
Expired
|
2.12 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
libraryActions
Expired
|
2.12 MB |
|
listViews
Expired
|
2.16 MB |
|
pagination
Expired
|
4.94 MB |
|
search
Expired
|
2.15 MB |
|
shareActions
Expired
|
2.14 MB |
|
special-permissions
Expired
|
17.1 MB |
|
uploadDownloadActions
Expired
|
2.21 MB |
|
viewer
Expired
|
42.3 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.24 MB |
|