[AAE-18442] Add data-automation-id to ACA user initials and sidenav #1868
pull-request.yml
on: pull_request
Annotations
7 errors, 13 warnings, and 7 notices
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]
Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
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:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:84:7
|
[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
|
[special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653]
Error: Expected to contain Remove Favorite Edit Offline,Upload New Version,Favorite,Copy,Manage Versions,Edit Aspects,Permissions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
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:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:94:7
|
[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
1) [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:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
Test finished within timeout of 45000ms, but tearing down "context" ran out of time.
Please allow more time for the test, since teardown is attributed towards the test timeout budget.
|
[Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/create-folder.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error:
e2e/playwright/actions/src/tests/create-folder.spec.ts#L151
2) [Actions] › src/tests/create-folder.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error
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: 'There\'s already a folder with this name. Try a different name.' }).first()
149 | await folderDialog.createNewFolderDialog(commonFolderName);
150 |
> 151 | await expect(folderSnackBar.getByMessageLocator(errorStrings.thereIsAlreadyAFolderWithThisName)).toBeVisible();
| ^
152 | });
153 |
154 | test.describe('On Personal Files dataTable', () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder.spec.ts:151:102
|
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-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Cproperties"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Callowable"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Cpermissions"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L133
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-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L287
Promise returned in function argument where a void return was expected
|
lint:
projects/aca-content/folder-rules/src/mock/action-parameter-constraints.mock.ts#L71
Unknown word: "tagscope"
|
lint:
projects/aca-content/folder-rules/src/mock/action-parameter-constraints.mock.ts#L103
Unknown word: "generalclassifiable"
|
lint:
projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.ts#L91
Unknown word: "tagscope"
|
lint:
projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.ts#L92
Unknown word: "generalclassifiable"
|
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.
|
E2e test suites: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 flaky
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
12 passed (2.6m)
|
🎭 Playwright Run Summary
2 flaky
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]
[special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653]
62 passed (8.5m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
20 passed (3.1m)
|
🎭 Playwright Run Summary
3 passed (45.1s)
|
🎭 Playwright Run Summary
5 passed (19.7s)
|
🎭 Playwright Run Summary
2 flaky
[Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
[Actions] › src/tests/create-folder.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error
81 passed (9.3m)
|
🎭 Playwright Run Summary
16 passed (1.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
24.7 MB |
|
copyMoveActions
Expired
|
2.16 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.16 MB |
|
navigation
Expired
|
5.7 MB |
|
pagination
Expired
|
15.2 MB |
|
search
Expired
|
2.3 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
4.1 MB |
|
uploadDownloadActions
Expired
|
2.13 MB |
|
viewer
Expired
|
4.72 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.18 MB |
|