Skip to content

[ACS-4794] ES migration PR #1656

[ACS-4794] ES migration PR

[ACS-4794] ES migration PR #1656

Triggered via pull request November 6, 2023 12:20
Status Failure
Total duration 56m 23s
Artifacts 16

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
2s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

14 errors, 14 warnings, and 6 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: 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: - expect.soft.toBeVisible at e2e/playwright/folder-rules/src/tests/conditions.spec.ts:64:76
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L259
1) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Error: locator.type: Page closed =========================== logs =========================== waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' }) ============================================================ 257 | 258 | test('[C325145] Folder name ending with a dot', async () => { > 259 | await createFolderFromTemplateDialog.getDialogLabel(nameLabel).type(dotString); | ^ 260 | await createFolderFromTemplateDialog.page.keyboard.press(tabKeyString); 261 | await expect(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1 + dotString); 262 | expect at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:259:72
[Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
1) [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot Pending operations: - locator.type at e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:259:72
[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#L55
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.click: Page closed =========================== logs =========================== waiting for locator('app-create-from-template-dialog [data-automation-id="create-folder-template-button"]') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:55 53 | if (titleInput) { await this.getDialogLabel('Title').fill(titleInput); } 54 | if (descriptionInput) { await this.getDialogLabel('Description').fill(descriptionInput); } > 55 | await this.createButton.click(); | ^ 56 | } 57 | } 58 | 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:55:31) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:337:9
[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 Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:55:31
[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: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
3) [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 Test timeout of 45000ms exceeded.
[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: projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts#L52
3) [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 Error: locator.fill: Page closed =========================== logs =========================== waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' }) ============================================================ 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:353:46
[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: e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts#L1
3) [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 Pending operations: - locator.fill at projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52:43
[Actions] › src/tests/create-library.spec.ts:134:7 › Create Libraries › [C289882] Create a library with a given ID and description: e2e/playwright/actions/src/tests/create-library.spec.ts#L149
4) [Actions] › src/tests/create-library.spec.ts:134:7 › Create Libraries › [C289882] Create a library with a given ID and description Error: expect(received).toBe(expected) // Object.is equality Expected: "libraryId-9kj7q" Received: "playwright-library-1t41slibraryId-9kj7q" 147 | await libraryViewDetails.click(); 148 | expect(await libraryDetails.getNameField('Name').locator('input').inputValue()).toBe(randomLibraryName); > 149 | expect(await libraryDetails.getIdField('Library ID').locator('input').inputValue()).toBe(randomLibraryId); | ^ 150 | await expect(libraryDetails.getVisibilityField('Visibility').locator('.mat-select-value').getByText(publicVisibility)).toBeVisible(); 151 | expect(await libraryDetails.getDescriptionField.inputValue()).toBe(randomLibraryDescription); 152 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-library.spec.ts:149:89
E2e test suites: search
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.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/services/folder-rule-sets.service.spec.ts#L142
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
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: Playwright (viewer, 3)
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
6 passed (22.3s)
🎭 Playwright Run Summary
16 passed (1.1m)
🎭 Playwright Run Summary
21 passed (2.5m)
🎭 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
36 passed (5.5m)
🎭 Playwright Run Summary
4 flaky [Actions] › src/tests/create-folder-from-template.spec.ts:258:11 › Create folder from template › Personal Files page › Create from template dialog › [C325145] Folder name ending with a dot [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 [Actions] › src/tests/create-library.spec.ts:134:7 › Create Libraries › [C289882] Create a library with a given ID and description 38 passed (8.6m)

Artifacts

Produced during runtime
Name Size
actions Expired
13.2 MB
actionsAvailableFilesFolders Expired
2.44 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.21 MB
actionsAvailableSpecialPermissions Expired
3.22 MB
copyMoveActions Expired
2.15 MB
createActions Expired
2.18 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
folder-rules Expired
6.24 MB
libraryActions Expired
2.14 MB
listViews,navigation Expired
2.1 MB
pagination Expired
3.13 MB
search Expired
2.28 MB
shareActions Expired
2.17 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.18 MB