[ACS-6535]add e2e test suite for copy-move-actions #1993
pull-request.yml
on: pull_request
Annotations
10 errors, 6 warnings, and 9 notices
[Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/personal-files.ts#L83
1) [Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 26-50 of 51"
Received string: "Showing 1-25 of 51"
81 | await personalFiles.pagination.clickOnNextPage();
82 | await personalFiles.dataTable.spinnerWaitForReload();
> 83 | expect(await personalFiles.pagination.getRange()).toContain('Showing 26-50 of 51');
| ^
84 | await personalFiles.pagination.clickOnPreviousPage();
85 | await personalFiles.dataTable.spinnerWaitForReload();
86 | expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:83:57
|
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
"beforeAll" hook timeout of 45000ms exceeded.
34 | let fileDocxId: string;
35 |
> 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => {
| ^
37 | await apiClientFactory.setUpAcaBackend('***');
38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' });
39 | folderId = node.entry.id;
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
|
[copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination:
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts#L1
1) [copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101: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.test.ts:101: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#L183
1) [copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'site-11ing' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183
181 | */
182 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 183 | await this.getCellLinkByName(name).click();
| ^
184 | await this.spinnerWaitForReload();
185 | }
186 |
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:183:40)
at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts:81:37)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts:104:11
|
[copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination:
e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts#L1
1) [copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the test suite to run
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the teardown for test suite to run
|
E2e test suites: Playwright (actions, 1)
Process completed with exit code 1.
|
E2e test suites: search
Process completed with exit code 1.
|
Finalize
Process completed with exit code 1.
|
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
|
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (special-permissions, 6)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (list-views, 8)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
5 passed (16.7s)
|
🎭 Playwright Run Summary
16 passed (1.1m)
|
🎭 Playwright Run Summary
3 passed (26.4s)
|
🎭 Playwright Run Summary
1 flaky
[Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
10 passed (3.0m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
20 passed (3.4m)
|
🎭 Playwright Run Summary
64 passed (5.5m)
|
🎭 Playwright Run Summary
1 flaky
[copy-move-actions] › src/tests/destination-picker-dialog.test.ts:101:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination
22 passed (5.9m)
|
🎭 Playwright Run Summary
59 passed (8.0m)
|
🎭 Playwright Run Summary
3 skipped
89 passed (9.9m)
Timed out waiting 600s for the entire test run
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
3.45 MB |
|
copy-move-actions
Expired
|
2.2 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.12 MB |
|
pagination
Expired
|
3.29 MB |
|
search
Expired
|
2.12 MB |
|
shareActions
Expired
|
2.14 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
4.7 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.2 MB |
|