[ACS-5647] rework template of library metadata form component #1541
pull-request.yml
on: pull_request
Annotations
19 errors, 13 warnings, and 6 notices
[Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh:
e2e/playwright/navigation/src/tests/sidebar.spec.ts#L55
1) [Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh
Error: Sidebar not expanded
Expected: true
Received: false
53 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true);
54 | await personalFiles.reload();
> 55 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true);
| ^
56 |
57 | await personalFiles.sidenav.collapseSideNav();
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/sidebar.spec.ts:55:85
|
[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: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 #2 ───────────────────────────────────────────────────────────────────────────────────────
"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
|
E2e test suites: Playwright (viewer, 3)
Process completed with exit code 1.
|
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/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L193
1) [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file
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: 'file-in-root-1if5k.txt' })
191 |
192 | test('[C325139] Next button is disabled when selecting a file', async () => {
> 193 | await expect(dataTable.getRowByName(fileInRootFolder)).toBeVisible();
| ^
194 | await expect(selectFolderTemplateDialog.actionButton).toBeDisabled();
195 |
196 | await dataTable.getRowByName(fileInRootFolder).click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:193:64
|
[Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L193
1) [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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: 'file-in-root-1ljgx.txt' })
191 |
192 | test('[C325139] Next button is disabled when selecting a file', async () => {
> 193 | await expect(dataTable.getRowByName(fileInRootFolder)).toBeVisible();
| ^
194 | await expect(selectFolderTemplateDialog.actionButton).toBeDisabled();
195 |
196 | await dataTable.getRowByName(fileInRootFolder).click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:193:64
|
[Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L193
1) [Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
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: 'file-in-root-1ca67.txt' })
191 |
192 | test('[C325139] Next button is disabled when selecting a file', async () => {
> 193 | await expect(dataTable.getRowByName(fileInRootFolder)).toBeVisible();
| ^
194 | await expect(selectFolderTemplateDialog.actionButton).toBeDisabled();
195 |
196 | await dataTable.getRowByName(fileInRootFolder).click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:193:64
|
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L230
2) [Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
Error: Timed out 5000ms waiting for expect(received).toHaveValue(expected)
Expected string: "template-folder1-1gcpf"
Received string: ""
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' })
228 |
229 | test('[C325143] Folder name is required', async () => {
> 230 | await expect(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1);
| ^
231 |
232 | await createFolderFromTemplateDialog.getDialogLabel(nameLabel).clear();
233 | await createFolderFromTemplateDialog.page.keyboard.press(tabKeyString);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:230:80
|
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
2) [Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L232
2) [Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.clear: Page closed
=========================== logs ===========================
waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' })
============================================================
230 | await expect(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1);
231 |
> 232 | await createFolderFromTemplateDialog.getDialogLabel(nameLabel).clear();
| ^
233 | await createFolderFromTemplateDialog.page.keyboard.press(tabKeyString);
234 | await expect(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(emptyString);
235 | expect
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:232:72
|
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
2) [Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.clear at e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:232:72
|
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
2) [Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
E2e test suites: viewer,infoDrawer,extensions
The operation was canceled.
|
Finalize
Process completed with exit code 1.
|
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/rule-set-picker/rule-set-picker.smart-component.spec.ts#L86
Unknown word: "Cproperties"
|
lint:
projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts#L86
Unknown word: "Callowable"
|
lint:
projects/aca-content/folder-rules/src/rule-set-picker/rule-set-picker.smart-component.spec.ts#L86
Unknown word: "Cpermissions"
|
lint:
projects/aca-content/preview/src/lib/components/preview.component.ts#L180
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-content/src/lib/components/common/location-link/location-link.component.ts#L86
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-content/src/lib/components/common/location-link/location-link.component.ts#L89
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-content/src/lib/components/common/toggle-shared/toggle-shared.component.ts#L65
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
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 (special-permissions, 6)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
3 passed (48.8s)
|
🎭 Playwright Run Summary
1 flaky
[Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh
15 passed (2.7m)
|
🎭 Playwright Run Summary
6 passed (41.3s)
|
🎭 Playwright Run Summary
36 passed (6.5m)
|
🎭 Playwright Run Summary
1 failed
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
2 flaky
[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
2 skipped
16 passed (4.7m)
|
🎭 Playwright Run Summary
3 failed
[Actions] › src/tests/create-folder-from-template.spec.ts:192:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file
[Actions] › src/tests/create-folder-from-template.spec.ts:229:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required
[Actions] › src/tests/create-folder-from-template.spec.ts:390:9 › Create folder from template › Folder created from template on Personal Files Libraries › [C325161] Create a folder from a template from library - with Name, Title and Description
3 flaky
[Actions] › src/tests/create-folder-from-template.spec.ts:217:11 › Create folder from template › Personal Files page › Create from template dialog › [C325142] Create folder from template - dialog UI
[Actions] › src/tests/create-folder-from-template.spec.ts:336:11 › Create folder from template › Personal Files page › Folder created from template on Personal Files › [C325157] Create a folder from a template - with a new Name
[Actions] › src/tests/create-folder-from-template.spec.ts:352:11 › Create folder from template › Personal Files page › Folder created from template on Personal Files › [C325158] Trim spaces from folder Name
11 skipped
25 passed (9.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
52.8 MB |
|
actionsAvailableFilesFolders
Expired
|
3.21 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.21 MB |
|
actionsAvailableSpecialPermissions
Expired
|
3.26 MB |
|
copyMoveActions
Expired
|
2.15 MB |
|
createActions
Expired
|
2.18 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.28 MB |
|
libraryActions
Expired
|
2.14 MB |
|
listViews,navigation
Expired
|
2.39 MB |
|
navigation
Expired
|
964 KB |
|
pagination
Expired
|
3.14 MB |
|
search
Expired
|
2.12 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
4.3 MB |
|
uploadDownloadActions
Expired
|
2.32 MB |
|
viewer
Expired
|
42.4 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.65 MB |
|