Pull request #4270
pull-request.yml
on: schedule
Annotations
13 errors, 10 warnings, and 17 notices
[Share Action] › src/tests/share/share-file.e2e.ts:179:11 › Share a file › when logged in › from Personal Files › [C286332] Share a file with expiration date:
e2e/playwright/share-action/src/tests/share/share-file.e2e.ts#L194
1) [Share Action] › src/tests/share/share-file.e2e.ts:179:11 › Share a file › when logged in › from Personal Files › [C286332] Share a file with expiration date
Error: expect(received).toEqual(expected) // deep equality
Expected: "1/30/2025"
Received: "Invalid Date"
192 | await page.waitForTimeout(timeouts.normal);
193 | const expireDateProperty = await nodesApiAction.getNodeProperty(file5Id, 'qshare:expiryDate');
> 194 | expect(Utils.formatDate(expireDateProperty)).toEqual(Utils.formatDate(inputDate));
| ^
195 | });
196 |
197 | test('[C286337] Expire date is displayed correctly', async ({ personalFiles, nodesApiAction }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/share-action/src/tests/share/share-file.e2e.ts:194:54
|
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:193:7 › Unshare a file from Search Results › [C306998] Consumer - on Search Results - file shared by other user:
e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts#L103
2) [Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:193:7 › Unshare a file from Search Results › [C306998] Consumer - on Search Results - file shared by other user
Error: ----- beforeAll failed : Error: {"error":{"errorKey":"Person 'user-1qr3e' already exists.","statusCode":409,"briefSummary":"00280019 Person 'user-1qr3e' 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":"d9092e26-f2da-4a8e-892e-26f2da0a8e99"}}
101 | await filesAction.waitForNodes(`search-file-${searchRandom}`, { expect: 6 });
102 | } catch (error) {
> 103 | throw new Error(`----- beforeAll failed : ${error}`);
| ^
104 | }
105 | });
106 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts:103:13
|
[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
|
[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: '4hiu8-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: '4hiu8-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-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type:
e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L91
1) [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(locator).toContainText(expected)
Locator: locator('adf-search-widget-chip').filter({ hasText: 'Properties' })
Expected string: "Properties: pdf"
Received string: "Properties: 3g2 keyboard_arrow_down"
Call log:
- expect.toContainText with timeout 5000ms
- waiting for locator('adf-search-widget-chip').filter({ hasText: 'Properties' })
9 × locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip>
- unexpected value "Properties: 3g2 keyboard_arrow_down"
89 | await searchPage.searchFiltersProperties.setPropertiesParameters(searchPage, undefined, undefined, undefined, '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 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:91:61
|
[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
|
[Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L1
1) [Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files
Test timeout of 85000ms exceeded.
|
[Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'file-docx-1ly7n' })
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:152:32
|
[Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L1
2) [Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files
Test timeout of 85000ms exceeded.
|
[Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
2) [Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'docxRF-7iaaz.docx' })
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:222:37
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator 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:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination
Test timeout of 150000ms exceeded.
|
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator 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:96:7 › Copy Move actions › [C263878] Collaborator 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-a4t11' })
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:99:11
|
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:
[Authentication] › src/tests/general.e2e.ts#L1
[Authentication] › src/tests/general.e2e.ts took 16.2s
|
Slow Test:
[Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 25.2s
|
Slow Test:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 44.9s
|
Slow Test:
[Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 27.8s
|
Slow Test:
[Viewer] › src/tests/viewer-protected.e2e.ts#L1
[Viewer] › src/tests/viewer-protected.e2e.ts took 50.1s
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 23.2s
|
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
9 passed (54.5s)
|
🎭 Playwright Run Summary
6 passed (26.2s)
|
🎭 Playwright Run Summary
10 passed (1.0m)
|
🎭 Playwright Run Summary
11 passed (1.9m)
|
🎭 Playwright Run Summary
16 passed (1.5m)
|
🎭 Playwright Run Summary
20 passed (1.8m)
|
🎭 Playwright Run Summary
2 flaky
[Share Action] › src/tests/share/share-file.e2e.ts:179:11 › Share a file › when logged in › from Personal Files › [C286332] Share a file with expiration date
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:193:7 › Unshare a file from Search Results › [C306998] Consumer - on Search Results - file shared by other user
13 passed (2.5m)
|
🎭 Playwright Run Summary
23 passed (3.2m)
|
🎭 Playwright Run Summary
19 passed (3.2m)
|
🎭 Playwright Run Summary
1 flaky
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer
24 passed (2.9m)
|
🎭 Playwright Run Summary
29 passed (2.9m)
|
🎭 Playwright Run Summary
24 passed (3.6m)
|
🎭 Playwright Run Summary
64 passed (5.7m)
|
🎭 Playwright Run Summary
67 passed (5.8m)
|
🎭 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.2m)
|
🎭 Playwright Run Summary
2 flaky
[Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files
[Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files
31 passed (6.2m)
|
🎭 Playwright Run Summary
1 flaky
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination
22 passed (6.3m)
|