Skip to content

[ACS-5882] infoDrawer comments tests migrated to Playwright #2191

[ACS-5882] infoDrawer comments tests migrated to Playwright

[ACS-5882] infoDrawer comments tests migrated to Playwright #2191

Triggered via pull request February 2, 2024 15:19
Status Success
Total duration 23m 44s
Artifacts 6

pull-request.yml

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

Annotations

12 errors, 24 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-hjp0a]') 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
[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-action.spec.ts:79:7 › viewer action file › [C268133] Delete action: e2e/playwright/viewer/src/tests/viewer-action.spec.ts#L91
1) [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action Error: Item should be present in Trash Expected: true Received: false 89 | expect(await personalFiles.dataTable.getCellLinkByName(randomDocxDelete).isVisible(), 'file should not visible').toBe(false); 90 | await trashPage.navigate({ waitUntil: 'domcontentloaded' }); > 91 | expect(await trashPage.dataTable.isItemPresent(randomDocxDelete), 'Item should be present in Trash').toBe(true); | ^ 92 | }); 93 | 94 | test('[C297584] Edit Offline action', async ({ personalFiles }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.spec.ts:91:106
[List Views] › src/tests/file-libraries.spec.ts:103:9 › File Libraries › My Libraries › [C217095] has the correct columns: e2e/playwright/list-views/src/tests/file-libraries.spec.ts#L48
1) [List Views] › src/tests/file-libraries.spec.ts:103:9 › File Libraries › My Libraries › [C217095] has the correct columns "beforeAll" hook timeout of 150000ms exceeded. 46 | const adminSite5 = `admin5-${Utils.random()}`; 47 | > 48 | test.beforeAll(async () => { | ^ 49 | try { 50 | test.setTimeout(timeouts.extendedTest); 51 | const apiClientFactory = new ApiClientFactory(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.spec.ts:48:8
[List Views] › src/tests/sort-list.spec.ts:148:7 › Remember sorting › [C261153] Sort order should be remembered separately on each list view: e2e/playwright/list-views/src/tests/sort-list.spec.ts#L1
2) [List Views] › src/tests/sort-list.spec.ts:148:7 › Remember sorting › [C261153] Sort order should be remembered separately on each list view Error: {"error":{"errorKey":"Person 'userSort1-1ch79' already exists.","statusCode":409,"briefSummary":"01024056 Person 'userSort1-1ch79' 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
3) [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.
[List Views] › src/tests/trash.spec.ts:111: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
3) [List Views] › src/tests/trash.spec.ts:111: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-1ukgk.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:112:33
[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
3) [List Views] › src/tests/trash.spec.ts:111: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:187:9 › Library actions › My Libraries page › [C290106] Leave a library from My Libraries: e2e/playwright/library-actions/src/tests/library-actions.spec.ts#L92
1) [Library Actions] › src/tests/library-actions.spec.ts:187:9 › Library actions › My Libraries page › [C290106] Leave a library from My 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#L92
2) [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
2) [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":"01024007 The entity with id: playwright-Am-library-ba723 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"}} 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)
[Library Actions] › src/tests/library-actions.spec.ts:368:9 › Library actions › Search Page › [C306961] Leave a library from Search Results: e2e/playwright/library-actions/src/tests/library-actions.spec.ts#L92
3) [Library Actions] › src/tests/library-actions.spec.ts:368:9 › Library actions › Search Page › [C306961] Leave a library from Search Results "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
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 (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: 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: 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 (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 (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 (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 (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 (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 (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 (24.0s)
🎭 Playwright Run Summary
3 passed (33.5s)
🎭 Playwright Run Summary
15 passed (1.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.6m)
🎭 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 (4.1m)
🎭 Playwright Run Summary
14 passed (4.2m)
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer-action.spec.ts:79:7 › viewer action file › [C268133] Delete action ─ 20 passed (4.1m)
🎭 Playwright Run Summary
23 passed (5.4m)
🎭 Playwright Run Summary
44 passed (5.9m)
🎭 Playwright Run Summary
3 flaky [List Views] › src/tests/file-libraries.spec.ts:103:9 › File Libraries › My Libraries › [C217095] has the correct columns [List Views] › src/tests/sort-list.spec.ts:148:7 › Remember sorting › [C261153] Sort order should be remembered separately on each list view [List Views] › src/tests/trash.spec.ts:111:9 › Trash › Regular user's personal files › [C280496] Location column redirect - file in folder 38 passed (8.5m)
🎭 Playwright Run Summary
3 flaky [Library Actions] › src/tests/library-actions.spec.ts:187:9 › Library actions › My Libraries page › [C290106] Leave a library from My Libraries [Library Actions] › src/tests/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries [Library Actions] › src/tests/library-actions.spec.ts:368:9 › Library actions › Search Page › [C306961] Leave a library from Search Results 16 passed (9.2m)

Artifacts

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