Skip to content

[ACS-5994] Remove redundant deleteNodes method from e2e #2295

[ACS-5994] Remove redundant deleteNodes method from e2e

[ACS-5994] Remove redundant deleteNodes method from e2e #2295

Triggered via pull request February 20, 2024 11:12
Status Success
Total duration 20m 41s
Artifacts 6

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

14 errors, 24 warnings, and 11 notices
[Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page: e2e/playwright/navigation/src/tests/sidebar.spec.ts#L76
1) [Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page Error: Sidebar not expanded Expected: true Received: false 74 | await searchPage.searchInput.getIconByName('close').click(); 75 | await searchPage.sidenav.expandedSidenav.waitFor({ state: 'attached' }); > 76 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true); | ^ 77 | }); 78 | }); 79 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/sidebar.spec.ts:76:85
[Create Actions] › src/tests/create-library.spec.ts:126:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.spec.ts#L131
1) [Create Actions] › src/tests/create-library.spec.ts:126:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-17iws]') 129 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 130 | await libraryDialog.createButton.click(); > 131 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 132 | 133 | await myLibrariesPage.navigate(); 134 | 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.spec.ts:131:73
[Create Actions] › src/tests/create-library.spec.ts:126:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.spec.ts#L131
1) [Create Actions] › src/tests/create-library.spec.ts:126:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(received).toBeVisible() Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-gn3d8]') 129 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 130 | await libraryDialog.createButton.click(); > 131 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 132 | 133 | await myLibrariesPage.navigate(); 134 | 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.spec.ts:131:73
[Copy Move Actions] › src/tests/destination-picker-dialog.test.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.test.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.test.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.test.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#L185
1) [Copy Move Actions] › src/tests/destination-picker-dialog.test.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-1f4up' }) ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:185 183 | */ 184 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 185 | await this.getCellLinkByName(name).click(); | ^ 186 | await this.spinnerWaitForReload(); 187 | } 188 | 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:185:40) at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts:76:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.test.ts:92:11
[Copy Move Actions] › src/tests/destination-picker-dialog.test.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.test.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.test.ts:89:7 › Copy Move actions › [C263877] Contributor 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:185:40
[List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
1) [List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column Test timeout of 85000ms exceeded.
[List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L260
1) [List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column Error: locator.innerText: Page closed =========================== logs =========================== 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:260 258 | 259 | async getSortedColumnHeaderText(): Promise<string> { > 260 | return this.sortedColumnHeader.innerText(); | ^ 261 | } 262 | 263 | 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:260:36) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.spec.ts:68:44
[List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
1) [List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column Pending operations: - locator.innerText at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:260:36
[List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder: e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder Test timeout of 85000ms exceeded.
[List Views] › src/tests/trash.spec.ts:115: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#L279
2) [List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder Error: locator.click: Target closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-xya0a.txt' }).locator('.aca-location-link') locator resolved to <aca-location-link class="aca-location-link adf-location-cell adf-d…>…</aca-location-link> attempting click action waiting for element to be visible, enabled and stable element is not visible - waiting... ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:279 277 | 278 | async clickItemLocation(name: string): Promise<void> { > 279 | await this.getItemLocationEl(name).click(); | ^ 280 | } 281 | 282 | 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:279:40) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.spec.ts:116:33
[List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder: e2e/playwright/list-views/src/tests/trash.spec.ts#L1
2) [List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:279:40
[Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/library-actions/src/tests/library-actions.spec.ts#L92
1) [Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries "beforeAll" hook timeout of 200000ms exceeded. 90 | let user2SitesApi: SitesApi; 91 | > 92 | test.beforeAll(async () => { | ^ 93 | test.setTimeout(timeouts.extendedLongTest); 94 | const apiClientFactory = new ApiClientFactory(); 95 | const username1 = `user-${Utils.random()}`; at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/library-actions/src/tests/library-actions.spec.ts:92:8
[Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/library-actions/src/tests/library-actions.spec.ts#L1
1) [Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries Error: {"error":{"errorKey":"framework.exception.EntityNotFound","statusCode":404,"briefSummary":"01202311 The entity with id: playwright-Am-library-1mzou was not found","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":"a8010aab-f904-43fa-9c45-9348770077c7"}} 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)
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/save@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests: aca-content
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Unit tests: aca-shared
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
E2e test suites: copyMoveActions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: listViews
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (authentication, 4)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (folder-rules, 2)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (navigation, 5)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (share-action, 9)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: editActions,favoriteActions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (viewer, 3)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: deleteActions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (create-actions, 1)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (pagination, 7)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: viewer,infoDrawer
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (special-permissions, 6)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: uploadDownloadActions
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (copy-move-actions, 10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (list-views, 8)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: Playwright (library-actions, 11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
E2e test suites: search
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Finalize
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
🎭 Playwright Run Summary
5 passed (19.6s)
🎭 Playwright Run Summary
3 passed (29.5s)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page 14 passed (1.4m)
🎭 Playwright Run Summary
14 passed (2.1m)
🎭 Playwright Run Summary
21 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [Create Actions] › src/tests/create-library.spec.ts:126:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library 19 passed (2.9m)
🎭 Playwright Run Summary
11 passed (3.0m)
🎭 Playwright Run Summary
44 passed (4.8m)
🎭 Playwright Run Summary
1 flaky [Copy Move Actions] › src/tests/destination-picker-dialog.test.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination 22 passed (6.2m)
🎭 Playwright Run Summary
2 flaky [List Views] › src/tests/personal-files.spec.ts:67:9 › Personal Files › Regular user's personal files › [C217143] has default sorted column [List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder 35 passed (6.9m)
🎭 Playwright Run Summary
1 flaky [Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries 18 passed (7.3m)

Artifacts

Produced during runtime
Name Size
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.12 MB
search Expired
2.24 MB
uploadDownloadActions Expired
2.24 MB
viewer,infoDrawer Expired
2.11 MB