Skip to content

[ACS-6443] cleanup for redundant e2es and unused methods #1848

[ACS-6443] cleanup for redundant e2es and unused methods

[ACS-6443] cleanup for redundant e2es and unused methods #1848

Re-run triggered November 30, 2023 10:34
Status Success
Total duration 5m 11s
Artifacts 11

pull-request.yml

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

Annotations

7 errors, 5 warnings, and 7 notices
[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: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L361
1) [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 Test timeout of 45000ms exceeded while running "beforeEach" hook. 359 | }); 360 | > 361 | test.beforeEach(async ({ myLibrariesPage }) => { | ^ 362 | randomFileName = `playwright-file-${Utils.random()}`; 363 | randomFileTitle = `file-title-${Utils.random()}`; 364 | 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:361:10
[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: projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts#L77
1) [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 Error: locator.click: Page closed =========================== logs =========================== waiting for locator('.mat-menu-content [id="app.create.fileFromTemplate"]') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:77 75 | async clickCreateFileFromTemplate(): Promise<void> { 76 | await this.createButton.click(); > 77 | await this.matMenu.createFileFromTemplate.click(); | ^ 78 | } 79 | } 80 | at AcaHeader.clickCreateFileFromTemplate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:77:47) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:373:7
[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: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [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 Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:77:47
[Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L398
2) [Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-snackbar-content [data-automation-id=\'adf-snackbar-message-content\']').filter({ hasText: 'This name is already in use, try a different name.' }).first() 396 | 397 | await createFileFromTemplateDialog.createFromTemplateAction(commonFileName); > 398 | await expect(snackBar.getByMessageLocator(errorStrings.nameAlreadyUsedError)).toBeVisible(); | ^ 399 | await expect(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible(); 400 | }); 401 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:398:85
[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/api/nodes-api.ts#L358
3) [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 TypeError: Cannot read properties of null (reading 'entry') at ../../../projects/aca-playwright-shared/src/api/nodes-api.ts:358 356 | 357 | async createFolderLink(originalNodeId: string, destinationId: string): Promise<NodeEntry | null> { > 358 | const name = (await this.getNodeById(originalNodeId)).entry.name; | ^ 359 | const nodeBody = { 360 | name: `Link to ${name}.url`, 361 | nodeType: 'app:folderlink', at NodesApi.createFolderLink (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/api/nodes-api.ts:358:59) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:107:19
[Actions] › src/tests/create-folder.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error: e2e/playwright/actions/src/tests/create-folder.spec.ts#L151
4) [Actions] › src/tests/create-folder.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-snackbar-content [data-automation-id=\'adf-snackbar-message-content\']').filter({ hasText: 'There\'s already a folder with this name. Try a different name.' }).first() 149 | await folderDialog.createNewFolderDialog(commonFolderName); 150 | > 151 | await expect(folderSnackBar.getByMessageLocator(errorStrings.thereIsAlreadyAFolderWithThisName)).toBeVisible(); | ^ 152 | }); 153 | 154 | test.describe('On Personal Files dataTable', () => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder.spec.ts:151:102
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: Expected to contain Favorite Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66 64 | ); 65 | for (const action of expectedToolbarMore) { > 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 67 | } 68 | } 69 | } at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
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 (viewer, 3)
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 (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (pagination, 7)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
3 passed (26.2s)
🎭 Playwright Run Summary
21 passed (2.5m)
🎭 Playwright Run Summary
5 passed (17.8s)
🎭 Playwright Run Summary
4 flaky [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 [Actions] › src/tests/create-file-from-template.spec.ts:394:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library [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.spec.ts:146:7 › Create folders › [C216350] Duplicate folder name error 79 passed (8.6m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] 63 passed (5.5m)
🎭 Playwright Run Summary
16 passed (1.0m)
🎭 Playwright Run Summary
13 passed (1.7m)

Artifacts

Produced during runtime
Name Size
actions Expired
8.1 MB
copyMoveActions Expired
2.16 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.16 MB
pagination Expired
12.5 MB
search Expired
2.27 MB
shareActions Expired
2.18 MB
special-permissions Expired
2.65 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.19 MB