Skip to content

[ACS-6107] Updated default configuration for date-range component to be compatible with the new advanced search date range component #1760

[ACS-6107] Updated default configuration for date-range component to be compatible with the new advanced search date range component

[ACS-6107] Updated default configuration for date-range component to be compatible with the new advanced search date range component #1760

Triggered via pull request November 21, 2023 10:51
Status Failure
Total duration 59m 57s
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, 13 warnings, and 6 notices
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions: e2e/playwright/folder-rules/src/tests/actions.spec.ts#L71
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.soft.toBeVisible with timeout 5000ms - waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'playwright-rule-jfdyqw' }) 69 | await nodesPage.manageRulesDialog.createRuleButton.click(); 70 | > 71 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible(); | ^ 72 | }); 73 | }); 74 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
[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: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [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 Test timeout of 45000ms exceeded.
[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: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
1) [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 Error: locator.click: Target closed =========================== logs =========================== waiting for locator('adf-pagination [aria-label="Next page button"]') locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button> attempting click action waiting for element to be visible, enabled and stable element is not enabled - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205 203 | } 204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled(); > 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click(); | ^ 206 | await this.spinnerWaitForReload(); 207 | } 208 | } at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:334:9
[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: e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L1
1) [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 Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
[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#L350
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 TypeError: Cannot read properties of null (reading 'entry') at ../../../projects/aca-playwright-shared/src/api/nodes-api.ts:350 348 | 349 | async createFolderLink(originalNodeId: string, destinationId: string): Promise<NodeEntry | null> { > 350 | const name = (await this.getNodeById(originalNodeId)).entry.name; | ^ 351 | const nodeBody = { 352 | name: `Link to ${name}.url`, 353 | nodeType: 'app:folderlink', at NodesApi.createFolderLink (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/api/nodes-api.ts:350:59) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder-from-template.spec.ts:107:19
E2e test suites: Playwright (special-permissions, 6)
Timed out waiting 600s for the test suite to run
E2e test suites: Playwright (special-permissions, 6)
Timed out waiting 600s for the teardown for test suite to run
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652] Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,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:84:7
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,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:84:7
[special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652] Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,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:84:7
[special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653] Error: Expected to contain Remove Favorite Edit Offline,Upload New Version,Favorite,Copy,Manage Versions,Edit Aspects,Permissions 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:94:7
E2e test suites: Playwright (special-permissions, 6)
Process completed with exit code 1.
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.
🎭 Playwright Run Summary
5 passed (29.4s)
🎭 Playwright Run Summary
1 flaky [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions 2 passed (49.5s)
🎭 Playwright Run Summary
16 passed (1.5m)
🎭 Playwright Run Summary
21 passed (2.8m)
🎭 Playwright Run Summary
2 flaky [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-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 62 passed (5.5m)
🎭 Playwright Run Summary
2 failed [special-permissions] › src/tests/other-permissions.ts:82:9 › Special permissions : › Collaborator › available actions : › on Favorites - [C297652] [special-permissions] › src/tests/other-permissions.ts:92:9 › Special permissions : › Collaborator › available actions : › on Search Results - [C297653] 58 passed (9.9m)

Artifacts

Produced during runtime
Name Size
actions Expired
5 MB
actionsAvailableFilesFolders Expired
2.45 MB
actionsAvailableLibraries,actionsAvailableNewMenu Expired
2.21 MB
actionsAvailableSpecialPermissions Expired
2.94 MB
copyMoveActions Expired
2.16 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
folder-rules Expired
8.03 MB
libraryActions Expired
2.14 MB
listViews,navigation Expired
2.1 MB
pagination Expired
3.19 MB
search Expired
2.12 MB
shareActions Expired
2.18 MB
special-permissions Expired
8.26 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.19 MB