[APPS-2170] Replace moment.js to date-fns in file-folder-properties.test.ts #1441
pull-request.yml
on: pull_request
Annotations
17 errors, 16 warnings, and 5 notices
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
1) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Test timeout of 45000ms exceeded.
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts#L79
1) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('.mat-select-panel .mat-option-text').filter({ hasText: 'Increment Counter' }).first()
locator resolved to <span class="mat-option-text"> Increment Counter </span>
attempting click action
waiting for element to be visible, enabled and stable
element is not stable - waiting...
element is visible, enabled and stable
scrolling into view if needed
done scrolling
performing click action
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:79
77 | await this.actionDropdownLocator.nth(index).click();
78 | const option = this.getOptionLocator(action);
> 79 | await option.click();
| ^
80 | }
81 |
82 | async dropdownSelection(selectValue: string, locator: string, index: number): Promise<void> {
at ActionsDropdownComponent.selectAction (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:79:18)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:61:5
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
1) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Pending operations:
- locator.type at projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:71:38
|
[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: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 (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:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L181
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
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: 'template-folder1-1kjz5' })
179 |
180 | test('[C325153] Links to folders are not displayed', async () => {
> 181 | await expect(dataTable.getRowByName(templateFolder1)).toBeVisible();
| ^
182 | await expect(dataTable.getRowByName(folderLink)).not.toBeVisible();
183 | });
184 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:181:63
|
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L114
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
"afterAll" hook timeout of 45000ms exceeded.
112 | });
113 |
> 114 | test.afterAll(async ({ nodesApiAction }) => {
| ^
115 | await nodesApiAction.cleanupSpaceTemplatesItems([
116 | folderInRootFolder,
117 | templateFolder1,
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:114:8
|
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L104
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
"beforeAll" hook timeout of 45000ms exceeded.
102 | };
103 |
> 104 | test.beforeAll(async ({ nodesApiAction }) => {
| ^
105 | await nodesApiAction.createContent(templates, `Data Dictionary/Space Templates`);
106 | await nodesApiAction.removeUserAccessOnSpaceTemplate(restrictedTemplateFolder);
107 | folderLink = (await nodesApiAction.createLinkToFolderName(folderInRootFolder, await nodesApiAction.getSpaceTemplatesFolderId())).entry.name;
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:104:8
|
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L181
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
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: 'template-folder1-1jbfw' })
179 |
180 | test('[C325153] Links to folders are not displayed', async () => {
> 181 | await expect(dataTable.getRowByName(templateFolder1)).toBeVisible();
| ^
182 | await expect(dataTable.getRowByName(folderLink)).not.toBeVisible();
183 | });
184 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:181:63
|
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L104
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
"beforeAll" hook timeout of 45000ms exceeded.
102 | };
103 |
> 104 | test.beforeAll(async ({ nodesApiAction }) => {
| ^
105 | await nodesApiAction.createContent(templates, `Data Dictionary/Space Templates`);
106 | await nodesApiAction.removeUserAccessOnSpaceTemplate(restrictedTemplateFolder);
107 | folderLink = (await nodesApiAction.createLinkToFolderName(folderInRootFolder, await nodesApiAction.getSpaceTemplatesFolderId())).entry.name;
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:104:8
|
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L181
1) [Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
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: 'template-folder1-mipoh' })
179 |
180 | test('[C325153] Links to folders are not displayed', async () => {
> 181 | await expect(dataTable.getRowByName(templateFolder1)).toBeVisible();
| ^
182 | await expect(dataTable.getRowByName(folderLink)).not.toBeVisible();
183 | });
184 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:181:63
|
[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:
e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
2) [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
Test timeout of 45000ms exceeded.
|
[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:
projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts#L52
2) [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
Error: locator.fill: Target closed
=========================== logs ===========================
waiting for locator('ng-component label').filter({ hasText: 'Name *' })
locator resolved to <label for="mat-input-1" aria-owns="mat-input-1" ng-ref…>…</label>
elementHandle.fill("playwright-folder-bzwp9")
waiting for element to be visible, enabled and editable
element was detached from the DOM, retrying
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52
50 | */
51 | async createNewFolderFromTemplate( nameInput: string, titleInput?: string, descriptionInput?: string): Promise<void> {
> 52 | await this.getDialogLabel('Name *').fill(nameInput);
| ^
53 | if (titleInput) { await this.getDialogLabel('Title').fill(titleInput); }
54 | if (descriptionInput) { await this.getDialogLabel('Description').fill(descriptionInput); }
55 | await this.createButton.click();
at CreateFromTemplateDialogComponent.createNewFolderFromTemplate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52:43)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:337:46
|
Finalize
Process completed with exit code 1.
|
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.
|
E2e test suites: search
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: viewer,infoDrawer,extensions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: actionsAvailableLibraries,actionsAvailableNewMenu
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: pagination
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: shareActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: listViews,navigation
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: actionsAvailableSpecialPermissions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: actionsAvailableFilesFolders
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: createActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: copyMoveActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: editActions,favoriteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: deleteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: libraryActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: uploadDownloadActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
1 flaky
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
2 passed (1.4m)
|
🎭 Playwright Run Summary
3 flaky
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
[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
18 passed (5.2m)
|
🎭 Playwright Run Summary
6 passed (45.2s)
|
🎭 Playwright Run Summary
16 passed (2.4m)
|
🎭 Playwright Run Summary
3 failed
[Actions] › src/tests/create-folder-from-template.spec.ts:180:11 › Create folder from template › Personal Files page › Select Template dialog › [C325153] Links to folders are not displayed
[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:346:11 › Create folder from template › Personal Files page › Folder created from template on Personal Files › [C325154] Create a folder from a template - with a Name, Title and Description
3 flaky
[Actions] › src/tests/create-folder-from-template.spec.ts:167:11 › Create folder from template › Personal Files page › Select Template dialog › [C325150] Templates list doesn't allow multiple selection
[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:282:11 › Create folder from template › Personal Files page › Create from template dialog › [C325141] Title too long
30 skipped
6 passed (9.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
75.3 MB |
|
folder-rules
Expired
|
6.1 MB |
|
navigation
Expired
|
10.6 MB |
|
viewer
Expired
|
42.4 KB |
|