ACS-9155 CI e2e flaky test fix #4211
pull-request.yml
on: pull_request
Annotations
8 errors, 51 warnings, and 17 notices
[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
|
[List Views] › src/tests/empty-list.e2e.ts:136:7 › Empty list views › [C280075] Personal Files - pagination controls not displayed:
e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L94
1) [List Views] › src/tests/empty-list.e2e.ts:136:7 › Empty list views › [C280075] Personal Files - pagination controls not displayed
Error: expect(received).toBeFalsy()
Received: true
92 | async function checkPaginationForTabs(searchPage: SearchPage, tab: string, personalFiles: PersonalFilesPage) {
93 | await searchPage.sidenav.openPanel(tab);
> 94 | expect(await personalFiles.pagination.isRangePresent()).toBeFalsy();
| ^
95 | expect(await personalFiles.pagination.isMaxItemsPresent()).toBeFalsy();
96 | expect(await personalFiles.pagination.isCurrentPagePresent()).toBeFalsy();
97 | expect(await personalFiles.pagination.isTotalPagesPresent()).toBeFalsy();
at checkPaginationForTabs (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:94:61)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:137:5
|
[List Views] › src/tests/sort-list.e2e.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app:
e2e/playwright/list-views/src/tests/sort-list.e2e.ts#L104
2) [List Views] › src/tests/sort-list.e2e.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app
Test timeout of 85000ms exceeded while running "beforeEach" hook.
102 | });
103 |
> 104 | test.beforeEach(async ({ loginPage, personalFiles }) => {
| ^
105 | await NodesApi.initialize(user1, user1);
106 | await loginPage.loginUser(
107 | { username: user1, password: user1 },
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/sort-list.e2e.ts:104:8
|
[List Views] › src/tests/sort-list.e2e.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L272
2) [List Views] › src/tests/sort-list.e2e.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app
Error: locator.innerText: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable .adf-datatable__header--sorted-asc .adf-datatable-cell-header-content .adf-datatable-cell-value,\n .adf-datatable__header--sorted-desc .adf-datatable-cell-header-content .adf-datatable-cell-value')
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:272
270 |
271 | async getSortedColumnHeaderText(): Promise<string> {
> 272 | return this.sortedColumnHeader.innerText();
| ^
273 | }
274 |
275 | private getItemLocationEl(name: string): Locator {
at DataTableComponent.getSortedColumnHeaderText (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:272:36)
at DataTableComponent.sortBy (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:157:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/sort-list.e2e.ts:113:35
|
[Search] › src/tests/search-filters-date.e2e.ts:77:7 › Search - Filters - Date › [C699048-2] Filter by date - Created anytime:
projects/aca-playwright-shared/src/page-objects/components/search/search-filters/search-filters-date.component.ts#L120
1) [Search] › src/tests/search-filters-date.e2e.ts:77:7 › Search - Filters - Date › [C699048-2] Filter by date - Created anytime
Error: expect(received).toEqual(expected) // deep equality
Expected: 2
Received: 0
at ../../../projects/aca-playwright-shared/src/page-objects/components/search/search-filters/search-filters-date.component.ts:120
118 | await searchPage.searchFilters.menuCardApply.click();
119 | await searchPage.dataTable.spinnerWaitForReload();
> 120 | expect(await searchPage.dataTable.getRowsCount()).toEqual(expectSearchResults);
| ^
121 |
122 | let dateText: string;
123 | if (filterType === 'between') {
at SearchFiltersDate.filterFilesByDate (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/search/search-filters/search-filters-date.component.ts:120:55)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-date.e2e.ts:78:5
|
[Copy Move Actions] › src/tests/copy.e2e.ts:191:7 › Copy actions › [C217173] Undo copy of a file when a file with same name already exists on the destination:
e2e/playwright/copy-move-actions/src/tests/copy.e2e.ts#L1
1) [Copy Move Actions] › src/tests/copy.e2e.ts:191:7 › Copy actions › [C217173] Undo copy of a file when a file with same name already exists on the destination
Test timeout of 150000ms exceeded.
|
[Copy Move Actions] › src/tests/copy.e2e.ts:191:7 › Copy actions › [C217173] Undo copy of a file when a file with same name already exists on the destination:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L253
1) [Copy Move Actions] › src/tests/copy.e2e.ts:191:7 › Copy actions › [C217173] Undo copy of a file when a file with same name already exists on the destination
Error: locator.hover: Test timeout of 150000ms exceeded.
Call log:
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-file-1ltyb.txt' })
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:253
251 | if (!isSelected) {
252 | const row = this.getRowByName(name);
> 253 | await row.hover();
| ^
254 | await row.locator(this.uncheckedCheckbox).click();
255 | await row.locator(this.checkedCheckbox).waitFor({ state: 'attached' });
256 | }
at DataTableComponent.selectItems (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:253:19)
at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:101:7)
at copyContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.e2e.ts:76:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.e2e.ts:195:5
|
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:
[Authentication] › src/tests/login.e2e.ts#L1
[Authentication] › src/tests/login.e2e.ts took 18.8s
|
Slow Test:
[Favorite Actions] › src/tests/mark-favorite.e2e.ts#L1
[Favorite Actions] › src/tests/mark-favorite.e2e.ts took 59.4s
|
Slow Test:
[Edit Actions] › src/tests/edit-folder.e2e.ts#L1
[Edit Actions] › src/tests/edit-folder.e2e.ts took 1.0m
|
Slow Test:
[Edit Actions] › src/tests/edit-offline.e2e.ts#L1
[Edit Actions] › src/tests/edit-offline.e2e.ts took 17.0s
|
Slow Test:
[Navigation] › src/tests/breadcrumb.e2e.ts#L1
[Navigation] › src/tests/breadcrumb.e2e.ts took 50.1s
|
Slow Test:
[Navigation] › src/tests/sidebar.e2e.ts#L1
[Navigation] › src/tests/sidebar.e2e.ts took 43.4s
|
Slow Test:
[Navigation] › src/tests/single-click.e2e.ts#L1
[Navigation] › src/tests/single-click.e2e.ts took 26.9s
|
Slow Test:
[Pagination] › src/tests/personal-files.ts#L1
[Pagination] › src/tests/personal-files.ts took 1.2m
|
Slow Test:
[Pagination] › src/tests/favorites.ts#L1
[Pagination] › src/tests/favorites.ts took 56.1s
|
Slow Test:
[Create Actions] › src/tests/create-library.e2e.ts#L1
[Create Actions] › src/tests/create-library.e2e.ts took 1.4m
|
Slow Test:
[Create Actions] › src/tests/create-folder.e2e.ts#L1
[Create Actions] › src/tests/create-folder.e2e.ts took 1.3m
|
Slow Test:
[Share Action] › src/tests/share/share-file.e2e.ts#L1
[Share Action] › src/tests/share/share-file.e2e.ts took 2.4m
|
Slow Test:
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts#L1
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts took 44.2s
|
Slow Test:
[Info Drawer] › src/tests/library-properties.e2e.ts#L1
[Info Drawer] › src/tests/library-properties.e2e.ts took 1.4m
|
Slow Test:
[Info Drawer] › src/tests/file-folder-properties.e2e.ts#L1
[Info Drawer] › src/tests/file-folder-properties.e2e.ts took 1.3m
|
Slow Test:
[Info Drawer] › src/tests/comments.e2e.ts#L1
[Info Drawer] › src/tests/comments.e2e.ts took 46.6s
|
Slow Test:
[Library Actions] › src/tests/library-actions.e2e.ts#L1
[Library Actions] › src/tests/library-actions.e2e.ts took 4.0m
|
Slow Test:
[Upload Download Actions] › src/tests/version-actions.e2e.ts#L1
[Upload Download Actions] › src/tests/version-actions.e2e.ts took 2.1m
|
Slow Test:
[Upload Download Actions] › src/tests/upload-new-version.e2e.ts#L1
[Upload Download Actions] › src/tests/upload-new-version.e2e.ts took 1.4m
|
Slow Test:
[Upload Download Actions] › src/tests/upload.e2e.ts#L1
[Upload Download Actions] › src/tests/upload.e2e.ts took 34.1s
|
Slow Test:
[Upload Download Actions] › src/tests/download.e2e.ts#L1
[Upload Download Actions] › src/tests/download.e2e.ts took 21.5s
|
Slow Test:
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts#L1
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts took 3.2m
|
Slow Test:
[Delete Actions] › src/tests/restore.e2e.ts#L1
[Delete Actions] › src/tests/restore.e2e.ts took 2.1m
|
Slow Test:
[Delete Actions] › src/tests/permanently-delete.e2e.ts#L1
[Delete Actions] › src/tests/permanently-delete.e2e.ts took 1.5m
|
Slow Test:
[Viewer] › src/tests/viewer.e2e.ts#L1
[Viewer] › src/tests/viewer.e2e.ts took 2.3m
|
Slow Test:
[Viewer] › src/tests/viewer-action.e2e.ts#L1
[Viewer] › src/tests/viewer-action.e2e.ts took 2.2m
|
Slow Test:
[Viewer] › src/tests/viewer-file-types.e2e.ts#L1
[Viewer] › src/tests/viewer-file-types.e2e.ts took 1.2m
|
Slow Test:
[Viewer] › src/tests/viewer-protected.e2e.ts#L1
[Viewer] › src/tests/viewer-protected.e2e.ts took 47.1s
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 21.0s
|
Slow Test:
[Folder Rules] › src/tests/create-rules.e2e.ts#L1
[Folder Rules] › src/tests/create-rules.e2e.ts took 3.7m
|
Slow Test:
[Folder Rules] › src/tests/update-rules.e2e.ts#L1
[Folder Rules] › src/tests/update-rules.e2e.ts took 2.5m
|
Slow Test:
[Folder Rules] › src/tests/delete-view-rules.e2e.ts#L1
[Folder Rules] › src/tests/delete-view-rules.e2e.ts took 1.4m
|
Slow Test:
[special-permissions] › src/tests/viewer.ts#L1
[special-permissions] › src/tests/viewer.ts took 6.7m
|
Slow Test:
[special-permissions] › src/tests/other-permissions.ts#L1
[special-permissions] › src/tests/other-permissions.ts took 3.4m
|
Slow Test:
[special-permissions] › src/tests/folders-actions.e2e.ts#L1
[special-permissions] › src/tests/folders-actions.e2e.ts took 27.6s
|
Slow Test:
[List Views] › src/tests/permissions.e2e.ts#L1
[List Views] › src/tests/permissions.e2e.ts took 1.2m
|
Slow Test:
[List Views] › src/tests/favorites.e2e.ts#L1
[List Views] › src/tests/favorites.e2e.ts took 1.1m
|
Slow Test:
[List Views] › src/tests/shared-files.e2e.ts#L1
[List Views] › src/tests/shared-files.e2e.ts took 54.9s
|
Slow Test:
[List Views] › src/tests/file-libraries.e2e.ts#L1
[List Views] › src/tests/file-libraries.e2e.ts took 39.7s
|
Slow Test:
[List Views] › src/tests/recent-files.e2e.ts#L1
[List Views] › src/tests/recent-files.e2e.ts took 39.6s
|
Slow Test:
[Search] › src/tests/search-results-general.e2e.ts#L1
[Search] › src/tests/search-results-general.e2e.ts took 3.3m
|
Slow Test:
[Search] › src/tests/search-results-libraries.e2e.ts#L1
[Search] › src/tests/search-results-libraries.e2e.ts took 2.6m
|
Slow Test:
[Search] › src/tests/search-sorting.e2e.ts#L1
[Search] › src/tests/search-sorting.e2e.ts took 55.1s
|
Slow Test:
[Search] › src/tests/search-filters-logic.e2e.ts#L1
[Search] › src/tests/search-filters-logic.e2e.ts took 38.9s
|
Slow Test:
[Search] › src/tests/search-filters-properties.e2e.ts#L1
[Search] › src/tests/search-filters-properties.e2e.ts took 31.1s
|
Slow Test:
[Copy Move Actions] › src/tests/move.e2e.ts#L1
[Copy Move Actions] › src/tests/move.e2e.ts took 5.2m
|
Slow Test:
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts#L1
[Copy Move Actions] › src/tests/destination-picker-dialog.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
6 passed (36.3s)
|
🎭 Playwright Run Summary
9 passed (1.1m)
|
🎭 Playwright Run Summary
10 passed (1.4m)
|
🎭 Playwright Run Summary
16 passed (2.3m)
|
🎭 Playwright Run Summary
11 passed (2.4m)
|
🎭 Playwright Run Summary
20 passed (2.8m)
|
🎭 Playwright Run Summary
15 passed (3.4m)
|
🎭 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 (4.6m)
|
🎭 Playwright Run Summary
19 passed (4.7m)
|
🎭 Playwright Run Summary
29 passed (4.6m)
|
🎭 Playwright Run Summary
23 passed (7.0m)
|
🎭 Playwright Run Summary
33 passed (8.0m)
|
🎭 Playwright Run Summary
24 passed (7.8m)
|
🎭 Playwright Run Summary
64 passed (10.8m)
|
🎭 Playwright Run Summary
2 flaky
[List Views] › src/tests/empty-list.e2e.ts:136:7 › Empty list views › [C280075] Personal Files - pagination controls not displayed
[List Views] › src/tests/sort-list.e2e.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app
65 passed (11.5m)
|
🎭 Playwright Run Summary
1 flaky
[Search] › src/tests/search-filters-date.e2e.ts:77:7 › Search - Filters - Date › [C699048-2] Filter by date - Created anytime
47 passed (12.1m)
|
🎭 Playwright Run Summary
1 flaky
[Copy Move Actions] › src/tests/copy.e2e.ts:191:7 › Copy actions › [C217173] Undo copy of a file when a file with same name already exists on the destination
22 passed (14.5m)
|