Skip to content

[ACS-4794] ES migration PR #1691

[ACS-4794] ES migration PR

[ACS-4794] ES migration PR #1691

Re-run triggered November 9, 2023 17:36
Status Failure
Total duration 22m 37s
Artifacts 18

pull-request.yml

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

Annotations

14 errors, 15 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
[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 Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── 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
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-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L317
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Test timeout of 45000ms exceeded while running "beforeEach" hook. 315 | 316 | test.describe('File created from template on Personal Files', () => { > 317 | test.beforeEach(async ({ personalFiles }) => { | ^ 318 | randomFileName = `playwright-file-${Utils.random()}`; 319 | randomFileTitle = `file-title-${Utils.random()}`; 320 | randomFileDescription = `file-description-${Utils.random()}`; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:317:12
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L322
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'template3-1a9px.txt' }) ============================================================ 320 | randomFileDescription = `file-description-${Utils.random()}`; 321 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent; > 322 | await dataTable.getRowByName(template1InRoot).click(); | ^ 323 | await selectFileTemplateDialog.actionButton.click(); 324 | }); 325 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:322:55
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Pending operations: - locator.click at e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:322:55
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L317
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 315 | 316 | test.describe('File created from template on Personal Files', () => { > 317 | test.beforeEach(async ({ personalFiles }) => { | ^ 318 | randomFileName = `playwright-file-${Utils.random()}`; 319 | randomFileTitle = `file-title-${Utils.random()}`; 320 | randomFileDescription = `file-description-${Utils.random()}`; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:317:12
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L322
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'template3-qqvuo.txt' }) ============================================================ 320 | randomFileDescription = `file-description-${Utils.random()}`; 321 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent; > 322 | await dataTable.getRowByName(template1InRoot).click(); | ^ 323 | await selectFileTemplateDialog.actionButton.click(); 324 | }); 325 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:322:55
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:322:55
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded.
[Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name: projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts#L52
1) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Page closed =========================== logs =========================== waiting for locator('app-create-from-template-dialog label').filter({ hasText: 'Name *' }) locator resolved to <label for="mat-input-1" aria-owns="mat-input-1" ng-ref…>…</label> elementHandle.fill("playwright-file-1rulk") 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 createFromTemplateAction( 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.createFromTemplateAction (/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-file-from-template.spec.ts:339:44
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 (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 (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.
E2e test suites: createActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (27.0s)
🎭 Playwright Run Summary
6 passed (21.8s)
🎭 Playwright Run Summary
21 passed (3.2m)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/sidebar.spec.ts:51:7 › Sidebar › [C269100] sidebar state is preserved on page refresh 15 passed (1.3m)
🎭 Playwright Run Summary
36 passed (3.5m)
🎭 Playwright Run Summary
2 failed [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description [Actions] › src/tests/create-file-from-template.spec.ts:387:9 › Create file from template › File created from template on Personal Files Libraries › [C325024] Cancel file creation in a library 8 flaky [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates [Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy [Actions] › src/tests/create-file-from-template.spec.ts:175:11 › Create file from template › Personal Files page › Select Template dialog › [C325050] Links to files are not displayed [Actions] › src/tests/create-file-from-template.spec.ts:225:11 › Create file from template › Personal Files page › Create document from template dialog › [C325031] File name is required [Actions] › src/tests/create-file-from-template.spec.ts:254:11 › Create file from template › Personal Files page › Create document from template dialog › [C325033] File name ending with a dot [Actions] › src/tests/create-file-from-template.spec.ts:278:11 › Create file from template › Personal Files page › Create document from template dialog › [C290146] File title too long [Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name [Actions] › src/tests/create-file-from-template.spec.ts:344:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325042] Trim spaces from file Name 29 skipped 25 passed (9.9m)

Artifacts

Produced during runtime
Name Size
actionsAvailableFilesFolders Expired
5.01 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.42 MB
actionsAvailableSpecialPermissions Expired
5.92 MB
authentication Expired
8.79 MB
copyMoveActions Expired
2.38 MB
deleteActions Expired
2.29 MB
editActions,favoriteActions Expired
2.41 MB
folder-rules Expired
10.7 MB
libraryActions Expired
2.11 MB
listViews,navigation Expired
3.38 MB
navigation Expired
19.9 MB
pagination Expired
4.19 MB
search Expired
2.9 MB
shareActions Expired
2.27 MB
special-permissions Expired
102 KB
uploadDownloadActions Expired
4.08 MB
viewer Expired
8.05 MB
viewer,infoDrawer,extensions Expired
2.73 MB