Skip to content

[ACS-6535]add e2e test suite for copy-move-actions #1991

[ACS-6535]add e2e test suite for copy-move-actions

[ACS-6535]add e2e test suite for copy-move-actions #1991

Re-run triggered December 27, 2023 13:58
Status Cancelled
Total duration 19m 32s
Artifacts 11

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
4s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

22 errors, 8 warnings, and 8 notices
[List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files: e2e/playwright/list-views/src/tests/permissions.spec.ts#L101
1) [List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files Error: Items are still displayed Expected: true Received: false 99 | await siteApiAdmin.deleteSiteMember(sitePrivate, username); 100 | await recentFilesPage.reload(); > 101 | expect(await recentFilesPage.dataTable.isEmpty(), 'Items are still displayed').toBe(true); | ^ 102 | }); 103 | 104 | test('[C213227] on Favorites', async ({ favoritePage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/permissions.spec.ts:101:86
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Test timeout of 45000ms exceeded.
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L183
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'user-folder-5i00e' }) ============================================================ 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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.spec.ts:72:37
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40
[List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder: e2e/playwright/list-views/src/tests/recent-files.spec.ts#L1
3) [List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder Error: {"error":{"errorKey":"Person 'user-1haxw' already exists.","statusCode":409,"briefSummary":"11276122 Person 'user-1haxw' 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"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home: e2e/playwright/list-views/src/tests/shared-files.spec.ts#L1
4) [List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home Test timeout of 45000ms exceeded.
[List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L277
4) [List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file4-bmqf6.txt' }).locator('.aca-location-link') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:277 275 | 276 | async clickItemLocation(name: string): Promise<void> { > 277 | await this.getItemLocationEl(name).click(); | ^ 278 | } 279 | 280 | 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:277:40) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/shared-files.spec.ts:113:32
[List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home: e2e/playwright/list-views/src/tests/shared-files.spec.ts#L1
4) [List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:277:40
[List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in: e2e/playwright/list-views/src/tests/sort-list.spec.ts#L1
5) [List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in Error: {"error":{"errorKey":"Person 'userSort1-p8lq9' already exists.","statusCode":409,"briefSummary":"11276170 Person 'userSort1-p8lq9' 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"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[List Views] › src/tests/trash.spec.ts:111:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder: e2e/playwright/list-views/src/tests/trash.spec.ts#L1
6) [List Views] › src/tests/trash.spec.ts:111:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder Test timeout of 45000ms exceeded.
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
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L225
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 223 | }); 224 | > 225 | test.beforeEach(async ({ personalFiles }) => { | ^ 226 | try { 227 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent; 228 | await dataTable.getRowByName(template1InRoot).click(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:225:12
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts#L52
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Target page, context or browser has been closed at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52 50 | */ 51 | async createFromTemplateAction( nameInput: string, titleInput?: string, descriptionInput?: string): Promise<void> { > 52 | await this.getDialogLabel('Name *').fill(nameInput); | ^ 53 | if (titleInput) { await this.getDialogLabel('Title').fill(titleInput); } 54 | if (descriptionInput) { await this.getDialogLabel('Description').fill(descriptionInput); } 55 | await this.createButton.click(); at CreateFromTemplateDialogComponent.createFromTemplateAction (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52:43) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:326:44
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:228:57
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L225
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 223 | }); 224 | > 225 | test.beforeEach(async ({ personalFiles }) => { | ^ 226 | try { 227 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent; 228 | await dataTable.getRowByName(template1InRoot).click(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:225:12
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts#L52
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.fill: Target page, context or browser has been closed at ../../../projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52 50 | */ 51 | async createFromTemplateAction( nameInput: string, titleInput?: string, descriptionInput?: string): Promise<void> { > 52 | await this.getDialogLabel('Name *').fill(nameInput); | ^ 53 | if (titleInput) { await this.getDialogLabel('Title').fill(titleInput); } 54 | if (descriptionInput) { await this.getDialogLabel('Description').fill(descriptionInput); } 55 | await this.createButton.click(); at CreateFromTemplateDialogComponent.createFromTemplateAction (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dialogs/create-from-template-dialog-component.ts:52:43) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:326:44
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L1
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.click at e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:228:57
[Actions] › src/tests/create/create-file-from-template.spec.ts:331:11 › Create file from template › Personal Files page › Create document from template dialog › [C325027] Cancel file creation: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L225
2) [Actions] › src/tests/create/create-file-from-template.spec.ts:331:11 › Create file from template › Personal Files page › Create document from template dialog › [C325027] Cancel file creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 45000ms exceeded while running "beforeEach" hook. 223 | }); 224 | > 225 | test.beforeEach(async ({ personalFiles }) => { | ^ 226 | try { 227 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent; 228 | await dataTable.getRowByName(template1InRoot).click(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:225:12
[Actions] › src/tests/create/create-file-from-template.spec.ts:331:11 › Create file from template › Personal Files page › Create document from template dialog › [C325027] Cancel file creation: e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L332
2) [Actions] › src/tests/create/create-file-from-template.spec.ts:331:11 › Create file from template › Personal Files page › Create document from template dialog › [C325027] Cancel file creation Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect.toBeVisible: Target page, context or browser has been closed 330 | 331 | test('[C325027] Cancel file creation', async () => { > 332 | await expect(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible(); | ^ 333 | await createFileFromTemplateDialog.cancelButton.click(); 334 | await expect(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).not.toBeVisible(); 335 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:332:86
E2e test suites: Playwright (copy-move-actions, 9)
The run was canceled by @akashrathod28.
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 (viewer, 3)
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 (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 (pagination, 7)
No files were found with the provided path: test-results/. 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 (copy-move-actions, 9)
Runner GitHub Actions 4 did not respond to a cancelation request with 00:05:00.
🎭 Playwright Run Summary
21 passed (2.6m)
🎭 Playwright Run Summary
64 passed (6.0m)
🎭 Playwright Run Summary
16 passed (1.2m)
🎭 Playwright Run Summary
3 passed (29.4s)
🎭 Playwright Run Summary
11 passed (2.3m)
🎭 Playwright Run Summary
6 flaky [List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar [List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder [List Views] › src/tests/shared-files.spec.ts:112:7 › Shared Files › [C213666] Location column redirect - file in user Home [List Views] › src/tests/sort-list.spec.ts:232:9 › Remember sorting › User Tests › [C261137] Size sort order is retained when user logs out and logs back in [List Views] › src/tests/trash.spec.ts:111:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder 53 passed (9.4m)
🎭 Playwright Run Summary
5 passed (18.8s)
🎭 Playwright Run Summary
5 failed [Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name [Actions] › src/tests/create/create-file-from-template.spec.ts:331:11 › Create file from template › Personal Files page › Create document from template dialog › [C325027] Cancel file creation [Actions] › src/tests/create/create-file-from-template.spec.ts:413:9 › Create file from template › File created from template on Personal Files Libraries › [C325024] Cancel file creation in a library [Actions] › src/tests/create/create-file-from-template.spec.ts:420:9 › Create file from template › File created from template on Personal Files Libraries › [C325025] Create a file with a duplicate name in a library [Actions] › src/tests/library/library-actions.spec.ts:214:9 › Library actions › My Libraries page › [C289974] Mark library as favorite from My Libraries 5 flaky [Actions] › src/tests/create/create-file-from-template.spec.ts:247:11 › Create file from template › Personal Files page › Create document from template dialog › [C325031] File name is required [Actions] › src/tests/create/create-file-from-template.spec.ts:352:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name [Actions] › src/tests/create/create-folder-from-template.spec.ts:276:11 › Create folder from template › Personal Files page › Create from template dialog › [C325143] Folder name is required [Actions] › src/tests/create/create-library.spec.ts:236:7 › Create Libraries › [C280027] Duplicate library ID [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 18 skipped 64 passed (9.9m)

Artifacts

Produced during runtime
Name Size
actions Expired
51.1 MB
copy-move-actions Expired
67.5 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
list-views Expired
11.9 MB
listViews Expired
2.12 MB
search Expired
2.1 MB
shareActions Expired
2.14 MB
uploadDownloadActions Expired
2.12 MB
viewer Expired
14.2 KB
viewer,infoDrawer,extensions Expired
2.14 MB