Skip to content

[ACS-8960] Review and apply required inputs where possible #4216

[ACS-8960] Review and apply required inputs where possible

[ACS-8960] Review and apply required inputs where possible #4216

Status Failure
Total duration 11m 38s
Artifacts

pull-request.yml

on: pull_request
Matrix: e2es-playwright
Finalize
2s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

16 errors, 10 warnings, and 17 notices
[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions: e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts#L1
1) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Test timeout of 85000ms exceeded.
[Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions: projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts#L66
1) [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions Error: locator.fill: Test timeout of 85000ms exceeded. Call log: - waiting for locator('aca-edit-rule-dialog [data-automation-id="value-input"]').nth(1) at ../../../projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66 64 | await this.selectComparator(comparators, index); 65 | } > 66 | await this.valueField.nth(index).fill(value); | ^ 67 | } 68 | 69 | async addConditionGroup(fields: Partial<Field>, value: string, index: number, comparators?: Partial<Comparator>): Promise<void> { at ConditionComponent.addCondition (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/conditions.component.ts:66:38) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/update-rules.e2e.ts:153:5
[Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries: e2e/playwright/navigation/src/tests/single-click.e2e.ts#L1
1) [Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries Error: {"error":{"errorKey":"Person 'user-96939' already exists.","statusCode":409,"briefSummary":"00160012 Person 'user-96939' already exists.","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","logId":"c9131660-c6e8-4be2-9316-60c6e80be290"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination: e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-14mgp' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204 202 | */ 203 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 204 | await this.getCellLinkByName(name).click(); | ^ 205 | await this.spinnerWaitForReload(); 206 | } 207 | 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:204:40) at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:76:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:92:11
[List Views] › src/tests/empty-list.e2e.ts:111:7 › Empty list views › [C213169] empty Recent Files: e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L85
1) [List Views] › src/tests/empty-list.e2e.ts:111:7 › Empty list views › [C213169] empty Recent Files Error: expect(received).toContain(expected) // indexOf Expected substring: "No recent files" Received string: "" 83 | await searchPage.dataTable.spinnerWaitForReload(); 84 | if (await searchPage.dataTable.isEmpty()) { > 85 | expect(await searchPage.dataTable.getEmptyStateTitle()).toContain(emptyStateTitle); | ^ 86 | expect(await searchPage.dataTable.getEmptyStateSubtitle()).toContain(emptyStateSubtitle); 87 | } else { 88 | expect(await searchPage.dataTable.getRowsCount()).toEqual(1); at openEmptyTab (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:85:63) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:112:5
[List Views] › src/tests/empty-list.e2e.ts:140:7 › Empty list views › [C280102] Recent Files - pagination controls not displayed: e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L97
2) [List Views] › src/tests/empty-list.e2e.ts:140:7 › Empty list views › [C280102] Recent Files - pagination controls not displayed Error: expect(received).toBeFalsy() Received: true 95 | expect(await personalFiles.pagination.isMaxItemsPresent()).toBeFalsy(); 96 | expect(await personalFiles.pagination.isCurrentPagePresent()).toBeFalsy(); > 97 | expect(await personalFiles.pagination.isTotalPagesPresent()).toBeFalsy(); | ^ 98 | expect(await personalFiles.pagination.isPreviousButtonPresent()).toBeFalsy(); 99 | expect(await personalFiles.pagination.isNextButtonPresent()).toBeFalsy(); 100 | } at checkPaginationForTabs (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:97:66) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:141:5
[List Views] › src/tests/permissions.e2e.ts:120:9 › Special permissions › file not displayed if user no longer has permissions on it › [C290122] on Search Results: e2e/playwright/list-views/src/tests/permissions.e2e.ts#L127
3) [List Views] › src/tests/permissions.e2e.ts:120:9 › Special permissions › file not displayed if user no longer has permissions on it › [C290122] on Search Results Error: Incorrect number of items expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 125 | await searchPage.dataTable.spinnerWaitForReload(); 126 | > 127 | expect(await searchPage.dataTable.getRowsCount(), 'Incorrect number of items').toBe(1); | ^ 128 | 129 | await siteApiAdmin.deleteSiteMember(sitePrivate, username); 130 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/permissions.e2e.ts:127:86
[List Views] › src/tests/permissions.e2e.ts:120:9 › Special permissions › file not displayed if user no longer has permissions on it › [C290122] on Search Results: e2e/playwright/list-views/src/tests/permissions.e2e.ts#L1
3) [List Views] › src/tests/permissions.e2e.ts:120:9 › Special permissions › file not displayed if user no longer has permissions on it › [C290122] on Search Results Error: {"error":{"errorKey":"userPermissions-1nv9j is already a member of site private-1mcyq","statusCode":409,"briefSummary":"00160020 userPermissions-1nv9j is already a member of site private-1mcyq","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","logId":"3c209b0c-0a1a-4186-a09b-0c0a1a91860f"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type: e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L92
1) [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '15et2-fileNameKb.pdf' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: '15et2-fileNameKb.pdf' }) 90 | 91 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: pdf'); > 92 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible(); | ^ 93 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden(); 94 | }); 95 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:92:68
[Search] › src/tests/search-highlighting.e2e.ts:69:7 › Search Highlighting › [XAT-17120] Matching phrases should be highlighted in the file description for search results: e2e/playwright/search/src/tests/search-highlighting.e2e.ts#L71
2) [Search] › src/tests/search-highlighting.e2e.ts:69:7 › Search Highlighting › [XAT-17120] Matching phrases should be highlighted in the file description for search results Error: expect(received).toBeTruthy() Received: false 69 | test('[XAT-17120] Matching phrases should be highlighted in the file description for search results', async ({ searchPage }) => { 70 | await searchPage.searchWithin(fileDescription, 'files'); > 71 | expect(await searchPage.dataTable.hasHighlightedText('description')).toBeTruthy(); | ^ 72 | expect(await searchPage.dataTable.hasHighlightedText('name')).toBeFalsy(); 73 | }); 74 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-highlighting.e2e.ts:71:74
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
E2E Playwright - info-drawer
Process completed with exit code 1.
Finalize
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 30.5s
Slow Test: [Navigation] › src/tests/breadcrumb-admin.e2e.ts#L1
[Navigation] › src/tests/breadcrumb-admin.e2e.ts took 15.9s
Slow Test: [Authentication] › src/tests/general.e2e.ts#L1
[Authentication] › src/tests/general.e2e.ts took 16.6s
Slow Test: [Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 41.1s
Slow Test: [Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 18.2s
Slow Test: [Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 29.0s
Finalize
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
1 flaky [Folder Rules] › src/tests/update-rules.e2e.ts:148:7 › Rules - Manage Rules › [XAT-903] [XAT-904] Edit existing conditions 23 passed (5.2m)
🎭 Playwright Run Summary
20 passed (1.8m)
🎭 Playwright Run Summary
33 passed (4.8m)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries 15 passed (1.5m)
🎭 Playwright Run Summary
64 passed (5.8m)
🎭 Playwright Run Summary
6 passed (26.6s)
🎭 Playwright Run Summary
11 passed (1.8m)
🎭 Playwright Run Summary
15 passed (1.8m)
🎭 Playwright Run Summary
1 flaky [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination 22 passed (6.3m)
🎭 Playwright Run Summary
19 passed (3.0m)
🎭 Playwright Run Summary
3 flaky [List Views] › src/tests/empty-list.e2e.ts:111:7 › Empty list views › [C213169] empty Recent Files [List Views] › src/tests/empty-list.e2e.ts:140:7 › Empty list views › [C280102] Recent Files - pagination controls not displayed [List Views] › src/tests/permissions.e2e.ts:120:9 › Special permissions › file not displayed if user no longer has permissions on it › [C290122] on Search Results 64 passed (7.7m)
🎭 Playwright Run Summary
2 flaky [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type [Search] › src/tests/search-highlighting.e2e.ts:69:7 › Search Highlighting › [XAT-17120] Matching phrases should be highlighted in the file description for search results 46 passed (6.0m)
🎭 Playwright Run Summary
29 passed (2.9m)
🎭 Playwright Run Summary
9 passed (58.7s)
🎭 Playwright Run Summary
23 passed (3.3m)
🎭 Playwright Run Summary
10 passed (1.0m)
🎭 Playwright Run Summary
1 failed [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer 24 passed (2.8m)