Skip to content

Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.40.1 #2045

Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.40.1

Build(deps-dev): Bump @playwright/test from 1.37.1 to 1.40.1 #2045

Status Failure
Total duration 13m 15s
Artifacts 8

pull-request.yml

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

Annotations

19 errors, 18 warnings, and 10 notices
[special-permissions] › src/tests/other-permissions.ts:176:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:176:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659] Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Move,Copy,Delete,Manage Versions expect(received).toBe(expected) // Object.is equality Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66 64 | ); 65 | for (const action of expectedToolbarMore) { > 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 67 | } 68 | } 69 | } 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:66:104) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:178:9
[special-permissions] › src/tests/other-permissions.ts:285:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/other-permissions.ts:285:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Error: Expected to contain Remove Favorite Cancel Editing,Favorite,Copy,Manage Versions,Permissions expect(received).toBe(expected) // Object.is equality Expected: true Received: false at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66 64 | ); 65 | for (const action of expectedToolbarMore) { > 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 67 | } 68 | } 69 | } 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:66:104) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:287:7
E2e test suites: Playwright (copy-move-actions, 10)
Timed out waiting 600s for the test suite to run
E2e test suites: Playwright (copy-move-actions, 10)
Timed out waiting 600s for the teardown for test suite to run
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: e2e/playwright/copy-move-actions/src/tests/copy.test.ts#L1
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L231
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-file-zv8ps.txt' }).locator('[title="Size"]') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231 229 | if (!isSelected) { 230 | let row = this.getRowByName(name); > 231 | await row.locator('[title="Size"]').click(); | ^ 232 | await row.locator('.adf-datatable-selected').waitFor({ state: 'attached' }); 233 | } 234 | } at DataTableComponent.selectItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231:43) at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:89:7) at copyContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:88:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:98:5
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: e2e/playwright/copy-move-actions/src/tests/copy.test.ts#L1
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L231
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-file-1y5h7.txt' }).locator('[title="Size"]') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231 229 | if (!isSelected) { 230 | let row = this.getRowByName(name); > 231 | await row.locator('[title="Size"]').click(); | ^ 232 | await row.locator('.adf-datatable-selected').waitFor({ state: 'attached' }); 233 | } 234 | } at DataTableComponent.selectItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231:43) at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:89:7) at copyContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:88:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:98:5
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: e2e/playwright/copy-move-actions/src/tests/copy.test.ts#L1
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L231
1) [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ────── Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-file-13hlc.txt' }).locator('[title="Size"]') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231 229 | if (!isSelected) { 230 | let row = this.getRowByName(name); > 231 | await row.locator('[title="Size"]').click(); | ^ 232 | await row.locator('.adf-datatable-selected').waitFor({ state: 'attached' }); 233 | } 234 | } at DataTableComponent.selectItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231:43) at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:89:7) at copyContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:88:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:98:5
[Copy Move Actions] › src/tests/copy.test.ts:137:7 › Copy actions › [C217138] Copy a folder with a name that already exists on the destination: e2e/playwright/copy-move-actions/src/tests/copy.test.ts#L1
2) [Copy Move Actions] › src/tests/copy.test.ts:137:7 › Copy actions › [C217138] Copy a folder with a name that already exists on the destination Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/copy.test.ts:137:7 › Copy actions › [C217138] Copy a folder with a name that already exists on the destination: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L231
2) [Copy Move Actions] › src/tests/copy.test.ts:137:7 › Copy actions › [C217138] Copy a folder with a name that already exists on the destination Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-folder-eggmc' }).locator('[title="Size"]') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231 229 | if (!isSelected) { 230 | let row = this.getRowByName(name); > 231 | await row.locator('[title="Size"]').click(); | ^ 232 | await row.locator('.adf-datatable-selected').waitFor({ state: 'attached' }); 233 | } 234 | } at DataTableComponent.selectItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:231:43) at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:89:7) at copyContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:88:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/copy.test.ts:141:5
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/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L280
1) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-Am-library-8l2fj' }).locator('[title="Consumer"]') Expected: visible Received: hidden Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-Am-library-8l2fj' }).locator('[title="Consumer"]') 278 | await adminSitesApi.approveSiteMembershipRequest(adminModerateLibrary1, username2); 279 | await favoriteLibrariesPage.navigate(); > 280 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, consumerRole)).toBeVisible(); | ^ 281 | }); 282 | 283 | test('[C290110] Leave a library from Favorite Libraries', async ({ favoriteLibrariesPage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:280:101
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results: e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L1
2) [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results Test timeout of 45000ms exceeded.
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L45
2) [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results Error: locator.waitFor: Test timeout of 45000ms exceeded. Call log: - waiting for locator('.mat-menu-content button').filter({ hasText: 'Remove Favorite' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:45 43 | async clickMenuItem(menuItem: string): Promise<void> { 44 | const menuElement = this.getButtonByText(menuItem); > 45 | await menuElement.waitFor({ state: 'attached' }); | ^ 46 | await menuElement.click(); 47 | await menuElement.waitFor({ state: 'detached' }); 48 | } at MatMenuComponent.clickMenuItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:45:23) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:420:25
E2e test suites: Playwright (actions, 1)
Process completed with exit code 1.
Finalize
Process completed with exit code 1.
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L340
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/components/document-base-page/document-base-page.spec.ts#L359
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L132
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/src/lib/services/app.service.ts#L167
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L47
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L59
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L118
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L121
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
lint: projects/aca-shared/store/src/effects/router.effects.ts#L143
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (viewer, 3)
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 (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (share-action, 9)
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.
E2e test suites: Playwright (pagination, 7)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
16 passed (1.2m)
🎭 Playwright Run Summary
23 passed (2.9m)
🎭 Playwright Run Summary
5 passed (26.0s)
🎭 Playwright Run Summary
3 passed (30.5s)
🎭 Playwright Run Summary
15 passed (3.1m)
🎭 Playwright Run Summary
59 passed (9.2m)
🎭 Playwright Run Summary
11 passed (2.2m)
🎭 Playwright Run Summary
2 flaky [special-permissions] › src/tests/other-permissions.ts:176:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659] [special-permissions] › src/tests/other-permissions.ts:285:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] 62 passed (7.3m)
🎭 Playwright Run Summary
3 failed [Copy Move Actions] › src/tests/copy.test.ts:97:7 › Copy actions › [C217135] Copy a file ─────── [Copy Move Actions] › src/tests/copy.test.ts:137:7 › Copy actions › [C217138] Copy a folder with a name that already exists on the destination [Copy Move Actions] › src/tests/copy.test.ts:184:7 › Copy actions › [C217172] Undo copy of folders 3 skipped 17 did not run
🎭 Playwright Run Summary
2 flaky [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results 7 did not run 74 passed (10.0m) Timed out waiting 600s for the entire test run

Artifacts

Produced during runtime
Name Size
actions Expired
6.98 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
listViews Expired
2.12 MB
search Expired
2.27 MB
special-permissions Expired
18.3 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.21 MB