[AAE-18779] Cannot update colours according to dynamically generated theme due to hardcoded values #1886
pull-request.yml
on: pull_request
Annotations
10 errors, 14 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-1heok",
"userFolder-lh9xb",
]
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-oxy54",
"userFolder-7c8t2",
]
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/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
|
[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
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the test suite to run
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the teardown for test suite to run
|
[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-cj8m5' }).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
|
E2e test suites: Playwright (actions, 1)
Process completed with exit code 1.
|
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-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.
|
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
5 passed (19.0s)
|
🎭 Playwright Run Summary
3 passed (28.0s)
|
🎭 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.5m)
|
🎭 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.7m)
|
🎭 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.9m)
|
🎭 Playwright Run Summary
64 passed (6.0m)
|
🎭 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
1 skipped
81 passed (9.9m)
Timed out waiting 600s for the entire test run
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
3.72 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.1 MB |
|
navigation
Expired
|
1.4 MB |
|
pagination
Expired
|
2.66 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
4.72 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|