Skip to content

Make aca-playwright-shared buildable and publishable #3434

Make aca-playwright-shared buildable and publishable

Make aca-playwright-shared buildable and publishable #3434

Re-run triggered September 4, 2024 15:28
Status Cancelled
Total duration 3m 11s
Artifacts

pull-request.yml

on: pull_request
Matrix: e2es-playwright
Finalize
3s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

10 errors, 20 warnings, and 14 notices
[Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked: e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L213
1) [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked Error: 'Cancel Editing' button shouldn't be shown Timed out 5000ms waiting for expect(locator).toBeHidden() Locator: getByRole('menuitem', { name: 'Cancel Editing', exact: true }) Expected: hidden Received: visible Call log: - 'Cancel Editing' button shouldn't be shown with timeout 5000ms - waiting for getByRole('menuitem', { name: 'Cancel Editing', exact: true }) - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" title="Cancel Editing" class="mat-mdc-menu-item mat-mdc-focus-indicator mdc-list-item">…</button> - unexpected value "visible" 211 | 212 | await personalFiles.acaHeader.clickViewerMoreActions(); > 213 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Cancel Editing'), `'Cancel Editing' button shouldn't be shown`).toBeHidden(); | ^ 214 | await expect(personalFiles.matMenu.getMenuItemFromHeaderMenu('Edit Offline'), `'Edit Offline' should be shown`).toBeVisible(); 215 | }); 216 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:213:131
[Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L122
1) [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1a19z]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library-1a19z]') 120 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 121 | await libraryDialog.createButton.click(); > 122 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 123 | 124 | await myLibrariesPage.navigate(); 125 | 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.e2e.ts:122:73
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.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.e2e.ts#L1
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.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.e2e.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#L199
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination Error: locator.click: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'site-w4z23' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:199 197 | */ 198 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 199 | await this.getCellLinkByName(name).click(); | ^ 200 | await this.spinnerWaitForReload(); 201 | } 202 | 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:199:40) at copyContentInMyLibraries (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:76:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/destination-picker-dialog.e2e.ts:92:11
[Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items: e2e/playwright/copy-move-actions/src/tests/move.e2e.ts#L1
2) [Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L248
2) [Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items Error: locator.hover: Test timeout of 150000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'source-file-vuvjo.txt' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:248 246 | if (!isSelected) { 247 | const row = this.getRowByName(name); > 248 | await row.hover(); | ^ 249 | await row.locator(this.uncheckedCheckbox).click(); 250 | await row.locator(this.checkedCheckbox).waitFor({ state: 'attached' }); 251 | } at DataTableComponent.selectItems (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:248:19) at PersonalFilesPage.copyOrMoveContentInDatatable (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/personal-files.page.ts:101:7) at moveContentInPersonalFiles (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/move.e2e.ts:73:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/copy-move-actions/src/tests/move.e2e.ts:90:5
E2E Playwright - library-actions
Canceling since a higher priority waiting request for 'Pull request-refs/pull/4098/merge' exists
E2E Playwright - search
Canceling since a higher priority waiting request for 'Pull request-refs/pull/4098/merge' exists
E2E Playwright - list-views
Canceling since a higher priority waiting request for 'Pull request-refs/pull/4098/merge' exists
Finalize
Process completed with exit code 1.
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/save@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 21.7s
E2E Playwright - viewer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - folder-rules
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - authentication
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - create-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - navigation
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - share-action
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - special-permissions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - pagination
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - delete-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - favorite-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - copy-move-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - upload-download-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
E2E Playwright - edit-actions
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Slow Test: [Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 18.5s
Slow Test: [Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 17.7s
E2E Playwright - info-drawer
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache/restore@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer-action.e2e.ts:199:7 › viewer action file › [MNT-21058] Upload new version action when node is locked 26 passed (3.5m)
🎭 Playwright Run Summary
24 passed (4.0m)
🎭 Playwright Run Summary
5 passed (22.5s)
🎭 Playwright Run Summary
1 flaky [Create Actions] › src/tests/create-library.e2e.ts:117:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library 19 passed (2.1m)
🎭 Playwright Run Summary
16 passed (1.7m)
🎭 Playwright Run Summary
15 passed (2.5m)
🎭 Playwright Run Summary
64 passed (5.9m)
🎭 Playwright Run Summary
11 passed (2.8m)
🎭 Playwright Run Summary
23 passed (3.5m)
🎭 Playwright Run Summary
9 passed (1.0m)
🎭 Playwright Run Summary
2 flaky [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:89:7 › Copy Move actions › [C263877] Contributor user can select the folder as destination [Copy Move Actions] › src/tests/move.e2e.ts:88:7 › Move actions › [C291958] Move multiple items 21 passed (7.8m)
🎭 Playwright Run Summary
29 passed (3.0m)
🎭 Playwright Run Summary
11 passed (1.1m)
🎭 Playwright Run Summary
18 passed (2.0m)