Skip to content

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

[ACS-5994] Remove redundant deleteNodes method from e2e

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

Triggered via pull request February 19, 2024 11:34
Status Failure
Total duration 46m 7s
Artifacts 6

pull-request.yml

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

Annotations

20 errors, 23 warnings, and 11 notices
[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-fjnpf]') 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
E2e test suites: deleteActions
Process completed with exit code 1.
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Test timeout of 85000ms exceeded.
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('.mat-menu-content') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57 55 | 56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> { > 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' }); | ^ 58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item'); 59 | let actualMoreActions: string[] = await Promise.all( 60 | menus.map(async (button) => { at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 85000ms exceeded.
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts#L53
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('aca-toolbar button[id="app.toolbar.more"]') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:53 51 | 52 | async clickMoreActions(): Promise<void> { > 53 | await this.toolbarMoreActions.waitFor({ state: 'attached' }); | ^ 54 | await this.toolbarMoreActions.click(); 55 | } 56 | at AcaHeader.clickMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:53:35) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:52:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:53:35
E2e test suites: Playwright (list-views, 8)
Timed out waiting 600s for the test suite to run
E2e test suites: Playwright (list-views, 8)
Timed out waiting 600s for the teardown for test suite to run
[List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists: e2e/playwright/list-views/src/tests/trash.spec.ts#L1
1) [List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists Test timeout of 85000ms exceeded.
[List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L268
1) [List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-1libm.txt' }).locator('.aca-location-link').locator('a') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268 266 | 267 | async getItemLocationText(name: string): Promise<string> { > 268 | await this.getItemLocationEl(name).locator('a').waitFor({ state: 'attached' }); | ^ 269 | return this.getItemLocationEl(name).innerText(); 270 | } 271 | at DataTableComponent.getItemLocationText (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:53) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/trash.spec.ts:106:40
[List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists: e2e/playwright/list-views/src/tests/trash.spec.ts#L1
1) [List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:268:53
[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: Page closed =========================== logs =========================== waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-10442.txt' }).locator('.aca-location-link') ============================================================ 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
[List Views] › src/tests/favorites.spec.ts:105:9 › Favorites Files › Regular user's Favorites files › [C213228] deleted favorite file does not appear: e2e/playwright/list-views/src/tests/favorites.spec.ts#L106
3) [List Views] › src/tests/favorites.spec.ts:105:9 › Favorites Files › Regular user's Favorites files › [C213228] deleted favorite file does not appear Error: file3-1bkbi.txt is displayed Expected: not true 104 | 105 | test(`[C213228] deleted favorite file does not appear`, async ({ favoritePage }) => { > 106 | expect(await favoritePage.dataTable.isItemPresent(fileName3), `${fileName3} is displayed`).not.toBe(true); | ^ 107 | }); 108 | 109 | test(`[C213229] file is displayed after it is restored from Trashcan`, async ({ favoritePage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/favorites.spec.ts:106:102
[List Views] › src/tests/file-libraries.spec.ts:157:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns: e2e/playwright/list-views/src/tests/file-libraries.spec.ts#L1
4) [List Views] › src/tests/file-libraries.spec.ts:157:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns Test timeout of 85000ms exceeded.
E2e test suites: viewer,infoDrawer
Process completed with exit code 1.
Finalize
Process completed with exit code 1.
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-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/.
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/.
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 (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: 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 (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: 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: 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: 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: 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 (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: 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 (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: 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: 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/.
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/.
🎭 Playwright Run Summary
5 passed (19.1s)
🎭 Playwright Run Summary
3 passed (27.9s)
🎭 Playwright Run Summary
15 passed (1.3m)
🎭 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.8m)
🎭 Playwright Run Summary
14 passed (3.3m)
🎭 Playwright Run Summary
11 passed (3.1m)
🎭 Playwright Run Summary
21 passed (3.5m)
🎭 Playwright Run Summary
19 passed (5.3m)
🎭 Playwright Run Summary
23 passed (5.7m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] 43 passed (7.3m)
🎭 Playwright Run Summary
2 failed [List Views] › src/tests/trash.spec.ts:105:9 › Trash › Regular user's personal files › [C280500] Location column is empty if parent folder no longer exists [List Views] › src/tests/trash.spec.ts:115:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder 4 flaky [List Views] › src/tests/favorites.spec.ts:105:9 › Favorites Files › Regular user's Favorites files › [C213228] deleted favorite file does not appear [List Views] › src/tests/file-libraries.spec.ts:157:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns [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/sort-list.spec.ts:125:7 › Remember sorting › [C261136] Sort order is retained when navigating to another part of the app 2 skipped 29 passed (9.9m)

Artifacts

Produced during runtime
Name Size
deleteActions Expired
2.37 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.25 MB