ACS-9039 fix for export aca-playwright-shared lib #4131
pull-request.yml
on: pull_request
Annotations
16 errors, 7 warnings, and 17 notices
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library:
e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L123
1) [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-m39m8]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-m39m8]')
121 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName);
122 | await libraryDialog.createButton.click();
> 123 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible();
| ^
124 |
125 | await myLibrariesPage.navigate();
126 | await expect(libraryTable.getCellByColumnNameAndRowItem(randomLibraryName, publicVisibility)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:123:73
|
[Create Actions] › src/tests/create-library.e2e.ts:181:9 › Create Libraries › On My Libraries dataTable › [C280030] Create 2 libraries with same name but different IDs:
e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L186
2) [Create Actions] › src/tests/create-library.e2e.ts:181:9 › Create Libraries › On My Libraries dataTable › [C280030] Create 2 libraries with same name but different IDs
Error: Timed out 5000ms waiting for expect(locator).toBeVisible()
Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library1-wb4y9]')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library1-wb4y9]')
184 |
185 | await libraryDialog.createLibraryWithNameAndId(commonLibraryName, randomLibraryId);
> 186 | await expect(libraryBreadcrumb.getItemByTitle(commonLibraryName)).toBeVisible();
| ^
187 |
188 | await myLibrariesPage.navigate();
189 | await expect(libraryTable.getRowByName(libraryName)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/create-actions/src/tests/create-library.e2e.ts:186:73
|
[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-eyoye' })
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:108:9 › Empty list views › [C213169] empty Recent Files:
e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L1
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L318
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Error: locator.innerText: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-empty-content__title')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318
316 |
317 | async getEmptyStateTitle(): Promise<string> {
> 318 | return (await this.isEmpty()) ? this.emptyListTitle.innerText() : '';
| ^
319 | }
320 |
321 | async getEmptyStateSubtitle(): Promise<string> {
at DataTableComponent.getEmptyStateTitle (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318:57)
at openEmptyTab (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:84:12)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:109:7
|
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files:
e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L1
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L318
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-empty-content__title')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318
316 |
317 | async getEmptyStateTitle(): Promise<string> {
> 318 | return (await this.isEmpty()) ? this.emptyListTitle.innerText() : '';
| ^
319 | }
320 |
321 | async getEmptyStateSubtitle(): Promise<string> {
at DataTableComponent.getEmptyStateTitle (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318:57)
at openEmptyTab (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:84:12)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:109:7
|
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site:
e2e/playwright/list-views/src/tests/favorites.e2e.ts#L1
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L291
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file1-39zgw.txt' }).locator('.aca-location-link')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291
289 |
290 | async clickItemLocation(name: string): Promise<void> {
> 291 | await this.getItemLocationEl(name).click();
| ^
292 | }
293 |
294 | async getSortingOrder(): Promise<string> {
at DataTableComponent.clickItemLocation (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/favorites.e2e.ts:130:36
|
[List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed:
e2e/playwright/list-views/src/tests/file-libraries.e2e.ts#L124
3) [List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Consumer"
Received string: ""
122 | for (const [site, role] of Object.entries(expectedSitesRoles)) {
123 | const sitesRowNames = await myLibrariesPage.dataTable.getRowAllInnerTexts(site);
> 124 | expect(sitesRowNames).toContain(role.split('Site')[1]);
| ^
125 | }
126 | });
127 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.e2e.ts:124:31
|
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options:
e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L157
1) [Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
Error: expect(received).toBe(expected) // Object.is equality
Expected: 1
Received: 0
155 | await searchPage.dataTable.progressBarWaitForReload();
156 |
> 157 | expect(await searchPage.dataTable.getRowsCount()).toBe(1);
| ^
158 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden();
159 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible();
160 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:157:55
|
[Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results:
e2e/playwright/search/src/tests/search-highlighting.e2e.ts#L77
2) [Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results
Error: expect(received).toBeTruthy()
Received: false
75 | test('[XAT-17121] Matching phrases should be highlighted in the file content for search results', async ({ searchPage }) => {
76 | await searchPage.searchWithin(fileContent, 'files');
> 77 | expect(await searchPage.dataTable.hasHighlightedText('content')).toBeTruthy();
| ^
78 | expect(await searchPage.dataTable.hasHighlightedText('name')).toBeFalsy();
79 | });
80 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-highlighting.e2e.ts:77:70
|
[Search] › src/tests/search-results-general.e2e.ts:87:7 › Search Results - General › [C290008] Only libraries are returned when Libraries option is checked:
e2e/playwright/search/src/tests/search-results-general.e2e.ts#L92
3) [Search] › src/tests/search-results-general.e2e.ts:87:7 › Search Results - General › [C290008] Only libraries are returned when Libraries option is checked
Error: expect(received).toBeTruthy()
Received: false
90 | expect(await searchPage.dataTable.isItemPresent(file)).toBeFalsy();
91 | expect(await searchPage.dataTable.isItemPresent(folder)).toBeFalsy();
> 92 | expect(await searchPage.dataTable.isItemPresent(site)).toBeTruthy();
| ^
93 | });
94 |
95 | test('[C279162] Results are updated automatically when changing the search term', async ({ searchPage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-general.e2e.ts:92:60
|
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification:
e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L131
1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification
Error: expect(received).toEqual(expected) // deep equality
Expected: " Showing 1--1 of -1 "
Received: " Showing 1-12 of 12 "
129 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy();
130 | items--;
> 131 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `);
| ^
132 | await trashPage.navigate();
133 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy();
134 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:131:60
|
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major:
e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L194
1) [Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
Error: expect(received).toContain(expected) // indexOf
Expected substring: "file2-docx"
Received string: "navigate_before
navigate_next"
192 | await expect(personalFiles.uploadNewVersionDialog.cancelButton).toHaveCount(0);
193 | expect(await personalFiles.viewer.isViewerOpened(), 'Viewer is not open').toBe(true);
> 194 | expect(await personalFiles.viewer.fileTitleButtonLocator.innerText()).toContain(docxFile2);
| ^
195 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionType'), 'File has incorrect version type').toEqual('MAJOR');
196 | expect(await nodesApiAction.getNodeProperty(filePersonalFilesId, 'cm:versionLabel'), 'File has incorrect version label').toEqual('2.0');
197 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:194:75
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
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:
[Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 21.0s
|
Slow Test:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 31.4s
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 20.9s
|
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
16 passed (2.0m)
|
🎭 Playwright Run Summary
6 passed (28.2s)
|
🎭 Playwright Run Summary
24 passed (3.9m)
|
🎭 Playwright Run Summary
2 flaky
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library
[Create Actions] › src/tests/create-library.e2e.ts:181:9 › Create Libraries › On My Libraries dataTable › [C280030] Create 2 libraries with same name but different IDs
18 passed (2.7m)
|
🎭 Playwright Run Summary
15 passed (3.0m)
|
🎭 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.7m)
|
🎭 Playwright Run Summary
64 passed (5.7m)
|
🎭 Playwright Run Summary
19 passed (5.7m)
|
🎭 Playwright Run Summary
3 flaky
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site
[List Views] › src/tests/file-libraries.e2e.ts:114:9 › File Libraries › My Libraries › [C289903] User role is correctly displayed
65 passed (7.6m)
|
🎭 Playwright Run Summary
11 passed (3.1m)
|
🎭 Playwright Run Summary
29 passed (3.4m)
|
🎭 Playwright Run Summary
25 passed (2.9m)
|
🎭 Playwright Run Summary
9 passed (1.2m)
|
🎭 Playwright Run Summary
3 flaky
[Search] › src/tests/search-filters-logic.e2e.ts:146:7 › Search - Filters - Logic › [C699504] Filter with all options
[Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results
[Search] › src/tests/search-results-general.e2e.ts:87:7 › Search Results - General › [C290008] Only libraries are returned when Libraries option is checked
46 passed (6.2m)
|
🎭 Playwright Run Summary
1 flaky
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification
22 passed (4.2m)
|
🎭 Playwright Run Summary
11 passed (1.2m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer-action.e2e.ts:182:7 › viewer action file › [C297586] [C307004] Upload new version action - major
33 passed (3.2m)
|