Skip to content

[ACS-6471] move create action tests into dedicated package #1880

[ACS-6471] move create action tests into dedicated package

[ACS-6471] move create action tests into dedicated package #1880

Re-run triggered December 7, 2023 13:43
Status Success
Total duration 5m 38s
Artifacts 10

pull-request.yml

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

Annotations

8 errors, 5 warnings, and 7 notices
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Test timeout of 45000ms exceeded.
[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#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('.mat-menu-content') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57 55 | 56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> { > 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' }); | ^ 58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item'); 59 | let actualMoreActions: string[] = await Promise.all( 60 | menus.map(async (button) => { 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:57:50) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]: e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660] Test timeout of 45000ms exceeded.
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L170
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660] Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-1tdfi-shared.txt' }) ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170 168 | */ 169 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 170 | await this.getCellLinkByName(name).click(); | ^ 171 | await this.spinnerWaitForReload(); 172 | } 173 | at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170:40) at checkViewerActions (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:255:36) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:283:9
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]: e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
2) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660] Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170:40
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L280
1) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 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: 'playwright-Am-library-1gdxa' }).locator('[title="Consumer"]') 278 | await adminSitesApi.approveSiteMembershipRequest(adminModerateLibrary1, username2); 279 | await favoriteLibrariesPage.navigate(); > 280 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, consumerRole)).toBeVisible(); | ^ 281 | }); 282 | 283 | test('[C290110] Leave a library from Favorite Libraries', async ({ favoriteLibrariesPage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:280:101
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items: e2e/playwright/pagination/src/tests/personal-files.ts#L65
1) [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items Error: expect(received).toContain(expected) // indexOf Expected substring: "of 2" Received string: "of 3" 63 | await personalFiles.pagination.clickMenuItem('50'); 64 | expect(await personalFiles.pagination.getMaxItems()).toContain('50'); > 65 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 2'); | ^ 66 | 67 | await personalFiles.pagination.openMaxItemsMenu(); 68 | await personalFiles.pagination.clickMenuItem('100'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:65:62
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
5 passed (18.2s)
🎭 Playwright Run Summary
2 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660] 62 passed (6.9m)
🎭 Playwright Run Summary
16 passed (1.1m)
🎭 Playwright Run Summary
21 passed (2.8m)
🎭 Playwright Run Summary
3 passed (29.9s)
🎭 Playwright Run Summary
1 flaky [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 82 passed (9.7m)
🎭 Playwright Run Summary
1 flaky [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items 12 passed (2.2m)

Artifacts

Produced during runtime
Name Size
actions Expired
3.6 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.17 MB
pagination Expired
8.89 MB
search Expired
2.27 MB
shareActions Expired
2.18 MB
special-permissions Expired
4.54 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.19 MB