Skip to content

[ACS-6323] dynamic content list changing columns order with drag drop #1909

[ACS-6323] dynamic content list changing columns order with drag drop

[ACS-6323] dynamic content list changing columns order with drag drop #1909

Triggered via pull request December 11, 2023 10:34
Status Success
Total duration 23m 20s
Artifacts 10

pull-request.yml

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

Annotations

8 errors, 15 warnings, and 7 notices
[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#L60
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).toBe(expected) // Object.is equality Expected: 3 Received: 0 58 | expect(await personalFiles.pagination.getMaxItems()).toContain('25'); 59 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 3'); > 60 | expect(await personalFiles.pagination.getItemsCount()).toBe(3); | ^ 61 | 62 | await personalFiles.pagination.openMaxItemsMenu(); 63 | await personalFiles.pagination.clickMenuItem('50'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:62
[Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages: e2e/playwright/pagination/src/tests/personal-files.ts#L1
2) [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"11111872 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.delete","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19: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] 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/other-permissions.ts:166:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Shared Files - [C297658]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/other-permissions.ts:166:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Shared Files - [C297658] Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Copy,Manage Versions 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 checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:168:9
[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-1y8ks' }).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
[Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L383
2) [Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results 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-oye1b' }).locator('[title="Not a member"]') 381 | await searchPage.navigate({ remoteUrl: `#/search-libraries;q=${adminModerateLibrary4}` }); 382 | await searchPage.reload({ waitUntil: loadString }); > 383 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary4, notMemberString)).toBeVisible(); | ^ 384 | await libraryTable.performActionFromExpandableMenu(adminModerateLibrary4, cancelJoinRequestButton); 385 | await expect.soft(snackBar.getByMessageLocator(cancelJoinRequestMessage)).toBeVisible(); 386 | const hasJoinRequest = await user2SitesApi.hasMembershipRequest(username2, adminModerateLibrary4); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:383:104
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
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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.
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.
🎭 Playwright Run Summary
3 passed (32.2s)
🎭 Playwright Run Summary
5 passed (25.9s)
🎭 Playwright Run Summary
16 passed (1.5m)
🎭 Playwright Run Summary
21 passed (2.5m)
🎭 Playwright Run Summary
2 flaky [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages 11 passed (3.8m)
🎭 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/other-permissions.ts:166:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Shared Files - [C297658] 62 passed (6.5m)
🎭 Playwright Run Summary
2 flaky [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries [Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results 81 passed (9.1m)

Artifacts

Produced during runtime
Name Size
actions Expired
5.66 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.1 MB
pagination Expired
2.58 MB
search Expired
2.1 MB
shareActions Expired
2.18 MB
special-permissions Expired
6.25 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.18 MB