[AAE-18779] Cannot update colours according to dynamically generated theme due to hardcoded values #1887
pull-request.yml
on: pull_request
Annotations
10 errors, 13 warnings, and 7 notices
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home:
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-ph3vv",
"userFolder-1qhv2",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home:
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-au5tg",
"userFolder-3yzq3",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
[Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps:
e2e/playwright/navigation/src/tests/breadcrumb.spec.ts#L67
2) [Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps
TypeError: Cannot read properties of null (reading 'entry')
65 | await sitesApiAction.createSite(siteName, Site.VisibilityEnum.PUBLIC);
66 | docLibId = await sitesApiAction.getDocLibId(siteName);
> 67 | parentFromSiteId = (await nodesApiAction.createFolder(parentFromSite, docLibId)).entry.id;
| ^
68 | subFolder1FromSiteId = (await nodesApiAction.createFolder(subFolder1FromSite, parentFromSiteId)).entry.id;
69 | subFolder2FromSiteId = (await nodesApiAction.createFolder(subFolder2FromSite, subFolder1FromSiteId)).entry.id;
70 | await nodesApiAction.createFile(fileName1FromSite, subFolder2FromSiteId);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb.spec.ts:67:86
|
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items:
e2e/playwright/pagination/src/tests/favorites.ts#L73
1) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
Error: expect(received).toContain(expected) // indexOf
Expected substring: "of 1"
Received string: "of 2"
71 | await favoritePage.pagination.clickMenuItem('100');
72 | expect(await favoritePage.pagination.getMaxItems()).toContain('100');
> 73 | expect(await favoritePage.pagination.getTotalPages()).toContain('of 1');
| ^
74 |
75 | await favoritePage.pagination.resetToDefaultPageSize();
76 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:73:61
|
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items:
e2e/playwright/pagination/src/tests/favorites.ts#L1
1) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"110819729 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)
|
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [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:76:7 › viewer file › [C279271] Close the viewer:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ───────────
Error: ENOENT: no such file or directory, open '/home/runner/work/alfresco-content-app/alfresco-content-app/test-results/.playwright-artifacts-1/766acfee9969e672a9004011ec1d34ad.zip'
|
[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
|
[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]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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
|
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries:
e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L280
1) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
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: 'playwright-Am-library-5ecac' }).locator('[title="Consumer"]')
278 | await adminSitesApi.approveSiteMembershipRequest(adminModerateLibrary1, username2);
279 | await favoriteLibrariesPage.navigate();
> 280 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, consumerRole)).toBeVisible();
| ^
281 | });
282 |
283 | test('[C290110] Leave a library from Favorite Libraries', async ({ favoriteLibrariesPage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:280:101
|
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#L95
Unknown word: "tagscope"
|
lint:
projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.ts#L96
Unknown word: "generalclassifiable"
|
E2e test suites: copyMoveActions
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.
|
🎭 Playwright Run Summary
5 passed (21.8s)
|
🎭 Playwright Run Summary
3 passed (28.4s)
|
🎭 Playwright Run Summary
2 flaky
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
[Navigation] › src/tests/breadcrumb.spec.ts:119:7 › viewer action file › [C213240] Browser back navigates to previous location regardless of breadcrumb steps
14 passed (1.4m)
|
🎭 Playwright Run Summary
1 flaky
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
12 passed (4.1m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ────────────
20 passed (4.2m)
|
🎭 Playwright Run Summary
1 flaky
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]
63 passed (8.5m)
|
🎭 Playwright Run Summary
1 flaky
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
82 passed (9.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
3.73 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.16 MB |
|
navigation
Expired
|
1.41 MB |
|
pagination
Expired
|
4.25 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
3.95 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
89.1 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.18 MB |
|