[ACS-9154] Fix unstable tests in ACA after migration to local ACS #4269
pull-request.yml
on: pull_request
Annotations
15 errors, 10 warnings, and 17 notices
[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-1sih0' already exists.","statusCode":409,"briefSummary":"00280024 Person 'user-1sih0' 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":"31732cbd-6331-470c-b32c-bd6331870c1a"}}
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)
|
[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
|
[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
|
[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
1) [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
|
[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-zy5vy' })
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/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer:
e2e/playwright/list-views/src/tests/sort-list.e2e.ts#L149
1) [List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "firstElement": "file-118.jpg",
+ "firstElement": "file-108.pdf",
"sortingColumn": "Size",
"sortingOrder": "desc",
}
147 |
148 | const actualSortData = await getSortState(personalFiles);
> 149 | expect(actualSortData).toEqual(expectedSortData);
| ^
150 | });
151 |
152 | test('[C261153] Sort order should be remembered separately on each list view', async ({ personalFiles, favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/sort-list.e2e.ts:149:28
|
[List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer:
e2e/playwright/list-views/src/tests/sort-list.e2e.ts#L149
1) [List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "firstElement": "file-119.jpg",
+ "firstElement": "file-100.pdf",
"sortingColumn": "Size",
"sortingOrder": "desc",
}
147 |
148 | const actualSortData = await getSortState(personalFiles);
> 149 | expect(actualSortData).toEqual(expectedSortData);
| ^
150 | });
151 |
152 | test('[C261153] Sort order should be remembered separately on each list view', async ({ personalFiles, favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/sort-list.e2e.ts:149:28
|
[List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer:
e2e/playwright/list-views/src/tests/sort-list.e2e.ts#L149
1) [List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toEqual(expected) // deep equality
- Expected - 1
+ Received + 1
Object {
- "firstElement": "file-125.jpg",
+ "firstElement": "file-102.pdf",
"sortingColumn": "Size",
"sortingOrder": "desc",
}
147 |
148 | const actualSortData = await getSortState(personalFiles);
> 149 | expect(actualSortData).toEqual(expectedSortData);
| ^
150 | });
151 |
152 | test('[C261153] Sort order should be remembered separately on each list view', async ({ personalFiles, favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/sort-list.e2e.ts:149:28
|
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder:
e2e/playwright/list-views/src/tests/trash.e2e.ts#L1
2) [List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
Test timeout of 85000ms exceeded.
|
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L291
2) [List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
Error: locator.click: Test timeout of 85000ms exceeded.
Call log:
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-if1gy.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/trash.e2e.ts:103:33
|
E2E Playwright - list-views
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
|
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 18.3s
|
Slow Test:
[Navigation] › src/tests/breadcrumb-admin.e2e.ts#L1
[Navigation] › src/tests/breadcrumb-admin.e2e.ts took 15.2s
|
Slow Test:
[Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 28.1s
|
Slow Test:
[Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 27.0s
|
Slow Test:
[Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 41.5s
|
Slow Test:
[Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 28.0s
|
Slow Test:
[List Views] › src/tests/generic-errors.e2e.ts#L1
[List Views] › src/tests/generic-errors.e2e.ts took 23.1s
|
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 (57.8s)
|
🎭 Playwright Run Summary
10 passed (1.0m)
|
🎭 Playwright Run Summary
6 passed (28.2s)
|
🎭 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
15 passed (1.8m)
|
🎭 Playwright Run Summary
20 passed (1.8m)
|
🎭 Playwright Run Summary
11 passed (1.8m)
|
🎭 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
23 passed (3.2m)
|
🎭 Playwright Run Summary
19 passed (3.3m)
|
🎭 Playwright Run Summary
34 passed (4.9m)
|
🎭 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.1m)
|
🎭 Playwright Run Summary
64 passed (5.6m)
|
🎭 Playwright Run Summary
1 flaky
[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
47 passed (5.9m)
|
🎭 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.2m)
|
🎭 Playwright Run Summary
1 failed
[List Views] › src/tests/sort-list.e2e.ts:139:7 › Remember sorting › [C589205] Size sort order is retained after viewing a file and closing the viewer
1 flaky
[List Views] › src/tests/trash.e2e.ts:102:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder
66 passed (7.9m)
|