Skip to content

Pull request

Pull request #4101

Triggered via schedule December 19, 2024 12:05
Status Failure
Total duration 19m 38s
Artifacts

pull-request.yml

on: schedule
Matrix: e2es-playwright
Finalize
4s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

38 errors, 9 warnings, and 17 notices
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L123
1) [Create Actions] › src/tests/create-library.e2e.ts:118: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-library3-14eiz]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-14eiz]') 121 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 122 | await libraryDialog.createButton.click(); > 123 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 124 | 125 | await myLibrariesPage.navigate(); 126 | 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:123:73
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L123
1) [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-24lri]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-24lri]') 121 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 122 | await libraryDialog.createButton.click(); > 123 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 124 | 125 | await myLibrariesPage.navigate(); 126 | 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:123:73
[Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library: e2e/playwright/create-actions/src/tests/create-library.e2e.ts#L123
1) [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-1ssay]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-breadcrumb .adf-breadcrumb-item[title=playwright-library3-1ssay]') 121 | await expect(libraryDialog.getLabelText(libraryIdLabel)).toHaveValue(randomLibraryName); 122 | await libraryDialog.createButton.click(); > 123 | await expect(libraryBreadcrumb.getItemByTitle(randomLibraryName)).toBeVisible(); | ^ 124 | 125 | await myLibrariesPage.navigate(); 126 | 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:123:73
E2E Playwright - create-actions
Process completed with exit code 1.
[Upload Download Actions] › src/tests/upload-new-version.e2e.ts:113:9 › Upload new version › on Search Results › [C307005] file is updated after uploading a new version - minor: e2e/playwright/upload-download-actions/src/tests/upload-new-version.e2e.ts#L1
1) [Upload Download Actions] › src/tests/upload-new-version.e2e.ts:113:9 › Upload new version › on Search Results › [C307005] file is updated after uploading a new version - minor Test timeout of 85000ms exceeded.
[Upload Download Actions] › src/tests/upload-new-version.e2e.ts:113:9 › Upload new version › on Search Results › [C307005] file is updated after uploading a new version - minor: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L46
1) [Upload Download Actions] › src/tests/upload-new-version.e2e.ts:113:9 › Upload new version › on Search Results › [C307005] file is updated after uploading a new version - minor Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('.mat-mdc-menu-content button').filter({ hasText: 'Upload New Version' }) - locator resolved to <button tabindex="0" role="menuitem" mat-menu-item="" aria-disabled="false" ng-reflect-role="menuitem" title="Upload New Version" id="app.toolbar.uploadNodeVersion" class="mat-mdc-menu-item mat-mdc-focus-indicator ng-star-inserted">…</button> - attempting click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:46 44 | async clickMenuItem(menuItem: string): Promise<void> { 45 | const menuElement = this.getButtonByText(menuItem); > 46 | await menuElement.click(); | ^ 47 | await menuElement.waitFor({ state: 'detached' }); 48 | } 49 | 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:46:23) at uploadNewVersion (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/upload-download-actions/src/tests/upload-new-version.e2e.ts:74:34) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/upload-download-actions/src/tests/upload-new-version.e2e.ts:115:7
[Upload Download Actions] › src/tests/upload.e2e.ts:80:7 › Upload files › [T14752052] Upload dialog remains fixed in the browser when user performs other actions in parallel: e2e/playwright/upload-download-actions/src/tests/upload.e2e.ts#L1
2) [Upload Download Actions] › src/tests/upload.e2e.ts:80:7 › Upload files › [T14752052] Upload dialog remains fixed in the browser when user performs other actions in parallel Error: {"error":{"errorKey":"Person 'user-gn0hw' already exists.","statusCode":409,"briefSummary":"11194073 Person 'user-gn0hw' 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","logId":"2435c678-4c0e-4d1f-b5c6-784c0ead1f93"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:137:7 › Unshare a file from Search Results › [C306996] Unshare a file: e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts#L152
1) [Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:137:7 › Unshare a file from Search Results › [C306996] Unshare a file Error: Timed out 5000ms waiting for expect(locator).not.toHaveText(expected) Locator: locator('adf-viewer .adf-viewer__file-title') Expected string: not "search-file-cc4r1-2.txt" Received string: "search-file-cc4r1-2.txt" Call log: - expect.not.toHaveText with timeout 5000ms - waiting for locator('adf-viewer .adf-viewer__file-title') 9 × locator resolved to <div class="adf-viewer__file-title">…</div> - unexpected value "search-file-cc4r1-2.txt" 150 | await page.goto(url); 151 | await personalFiles.viewer.waitForViewerToOpen(); > 152 | await expect(personalFiles.viewer.fileTitleButtonLocator).not.toHaveText(file2); | ^ 153 | expect(await nodesApiAction.isFileShared(file2Id)).toBe(false); 154 | }); 155 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/share-action/src/tests/share/unshare-file-search-results.e2e.ts:152:67
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification: e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L131
1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification Error: expect(received).toEqual(expected) // deep equality Expected: " Showing 1--1 of -1 " Received: " Showing 1-12 of 12 " 129 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy(); 130 | items--; > 131 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `); | ^ 132 | await trashPage.navigate(); 133 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy(); 134 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:131:60
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification: e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L131
1) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toEqual(expected) // deep equality Expected: " Showing 1--1 of -1 " Received: " Showing 1-12 of 12 " 129 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeFalsy(); 130 | items--; > 131 | expect(await personalFiles.pagination.getMaxRange()).toEqual(` Showing 1-${items} of ${items} `); | ^ 132 | await trashPage.navigate(); 133 | expect(await personalFiles.dataTable.isItemPresent(file1)).toBeTruthy(); 134 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:131:60
[Delete Actions] › src/tests/delete-undo-delete.e2e.ts:196:9 › Delete and undo delete › on Personal Files › [C217132] undo delete of file: e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts#L206
2) [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:196:9 › Delete and undo delete › on Personal Files › [C217132] undo delete of file Error: expect(received).toContain(expected) // indexOf Expected substring: "1-0 of 0" Received string: "Showing 1-12 of 12" 204 | await personalFiles.dataTable.spinnerWaitForReload(); 205 | expect(await personalFiles.dataTable.isItemPresent(file5)).toBeTruthy(); > 206 | expect(await personalFiles.pagination.getRange()).toContain(`1-${items} of ${items}`); | ^ 207 | }); 208 | 209 | test('[C280503] undo delete of folder with content', async ({ personalFiles }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/delete-actions/src/tests/delete-undo-delete.e2e.ts:206:57
[Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages: e2e/playwright/pagination/src/tests/favorites.ts#L88
1) [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages Error: expect(received).toContain(expected) // indexOf Expected substring: "Showing 1-25 of 51" Received string: "Showing 26-50 of 51" 86 | await favoritePage.pagination.clickOnPreviousPage(); 87 | await favoritePage.dataTable.spinnerWaitForReload(); > 88 | expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51'); | ^ 89 | }); 90 | 91 | test('[C280118] Next button is disabled on last page', async ({ favoritePage }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:88:56
[Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages: e2e/playwright/pagination/src/tests/favorites.ts#L85
1) [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "Showing 26-50 of 51" Received string: "Showing 1-25 of 51" 83 | await favoritePage.pagination.clickOnNextPage(); 84 | await favoritePage.dataTable.spinnerWaitForReload(); > 85 | expect(await favoritePage.pagination.getRange()).toContain('Showing 26-50 of 51'); | ^ 86 | await favoritePage.pagination.clickOnPreviousPage(); 87 | await favoritePage.dataTable.spinnerWaitForReload(); 88 | expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:85:56
[Viewer] › src/tests/viewer-file-types.e2e.ts:149:7 › viewer file types › [XAT-5486] User can close the thumbnail pane: e2e/playwright/viewer/src/tests/viewer-file-types.e2e.ts#L1
1) [Viewer] › src/tests/viewer-file-types.e2e.ts:149:7 › viewer file types › [XAT-5486] User can close the thumbnail pane Error: {"error":{"errorKey":"Person 'user-ht7yu' already exists.","statusCode":409,"briefSummary":"11194390 Person 'user-ht7yu' 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","logId":"ba742882-ae87-4881-b428-82ae8778819a"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
[Folder Rules] › src/tests/create-rules.e2e.ts:132:7 › Folder Rules Actions › [XAT-888] Create a rule with multiple actions: projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts#L60
1) [Folder Rules] › src/tests/create-rules.e2e.ts:132:7 › Folder Rules Actions › [XAT-888] Create a rule with multiple actions Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'rule-XAT-kh8r9' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'rule-XAT-kh8r9' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts:60 58 | 59 | async checkIfRuleIsOnTheList(ruleName: string): Promise<void> { > 60 | await expect(this.getGroupsList(ruleName)).toBeVisible({ timeout: 5000 }); | ^ 61 | } 62 | 63 | async countConditionsInGroup(): Promise<number> { at ManageRules.checkIfRuleIsOnTheList (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/manageRules/manage-rules.component.ts:60:48) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts:155:33
[Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button: e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts#L1
2) [Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button Test timeout of 85000ms exceeded.
[Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button: projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts#L86
2) [Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('.mat-mdc-select-panel .mdc-list-item__primary-text').filter({ hasText: 'Controls' }).first().first() at ../../../projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:86 84 | async dropdownSelection(selectValue: string, locator: string, index: number): Promise<void> { 85 | await this.ruleActionLocator.nth(index).locator(locator).click(); > 86 | await this.getOptionLocator(selectValue).nth(0).click(); | ^ 87 | } 88 | 89 | async insertCheckInActionValues(checkInValue: string, index: number): Promise<void> { at ActionsDropdownComponent.dropdownSelection (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:86:53) at ActionsDropdownComponent.insertAddAspectActionValues (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:94:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts:231:5
[Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button: e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts#L1
2) [Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 85000ms exceeded.
[Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button: projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts#L86
2) [Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('.mat-mdc-select-panel .mdc-list-item__primary-text').filter({ hasText: 'Controls' }).first().first() at ../../../projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:86 84 | async dropdownSelection(selectValue: string, locator: string, index: number): Promise<void> { 85 | await this.ruleActionLocator.nth(index).locator(locator).click(); > 86 | await this.getOptionLocator(selectValue).nth(0).click(); | ^ 87 | } 88 | 89 | async insertCheckInActionValues(checkInValue: string, index: number): Promise<void> { at ActionsDropdownComponent.dropdownSelection (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:86:53) at ActionsDropdownComponent.insertAddAspectActionValues (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/actions-dropdown.component.ts:94:5) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/create-rules.e2e.ts:231:5
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator 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:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination Test timeout of 150000ms exceeded.
[Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator 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-xlf9g' }) at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:204 202 | */ 203 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 204 | await this.getCellLinkByName(name).click(); | ^ 205 | await this.spinnerWaitForReload(); 206 | } 207 | 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:204: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:99:11
[Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude: e2e/playwright/search/src/tests/search-filters-logic.e2e.ts#L112
1) [Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude Error: expect(received).toBe(expected) // Object.is equality Expected: 1 Received: 0 110 | await searchPage.dataTable.progressBarWaitForReload(); 111 | > 112 | expect(await searchPage.dataTable.getRowsCount()).toBe(1); | ^ 113 | await expect(searchPage.dataTable.getRowByName(logicFile1.name)).toBeHidden(); 114 | await expect(searchPage.dataTable.getRowByName(logicFile2.name)).toBeVisible(); 115 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-logic.e2e.ts:112:55
[Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type: e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L91
2) [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type Error: Timed out 5000ms waiting for expect(locator).toContainText(expected) Locator: locator('adf-search-widget-chip').filter({ hasText: 'Properties' }) Expected string: "Properties: pdf" Received string: "Properties:  3g2 keyboard_arrow_down" Call log: - expect.toContainText with timeout 5000ms - waiting for locator('adf-search-widget-chip').filter({ hasText: 'Properties' }) 9 × locator resolved to <adf-search-widget-chip class="ng-star-inserted" ng-reflect-category="[object Object]">…</adf-search-widget-chip> - unexpected value "Properties:  3g2 keyboard_arrow_down" 89 | await searchPage.searchFiltersProperties.setPropertiesParameters(searchPage, undefined, undefined, undefined, 'pdf'); 90 | > 91 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: pdf'); | ^ 92 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible(); 93 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden(); 94 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:91:61
[Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results: e2e/playwright/search/src/tests/search-highlighting.e2e.ts#L77
3) [Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results Error: expect(received).toBeTruthy() Received: false 75 | test('[XAT-17121] Matching phrases should be highlighted in the file content for search results', async ({ searchPage }) => { 76 | await searchPage.searchWithin(fileContent, 'files'); > 77 | expect(await searchPage.dataTable.hasHighlightedText('content')).toBeTruthy(); | ^ 78 | expect(await searchPage.dataTable.hasHighlightedText('name')).toBeFalsy(); 79 | }); 80 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-highlighting.e2e.ts:77:70
[Library Actions] › src/tests/library-actions.e2e.ts:358:9 › Library actions › Search Page › [C306961] Leave a library from Search Results: e2e/playwright/library-actions/src/tests/library-actions.e2e.ts#L362
1) [Library Actions] › src/tests/library-actions.e2e.ts:358:9 › Library actions › Search Page › [C306961] Leave a library from Search Results Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-U1-library-g8jxh' }).locator('[title="Collaborator"]') Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-U1-library-g8jxh' }).locator('[title="Collaborator"]') 360 | await searchPage.searchWithin(user1Library3, 'libraries'); 361 | > 362 | await expect(libraryTable.getCellByColumnNameAndRowItem(user1Library3, 'Collaborator')).toBeVisible(); | ^ 363 | await libraryTable.performActionFromExpandableMenu(user1Library3, leaveLibraryButton); 364 | await confirmDialog.okButton.click(); 365 | await expect.soft(snackBar.getByMessageLocator(leftMessage)).toBeVisible(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/library-actions/src/tests/library-actions.e2e.ts:362:95
[List Views] › src/tests/favorites.e2e.ts:93:9 › Favorites Files › Regular user's Favorites files › [C280482] has the correct columns: e2e/playwright/list-views/src/tests/favorites.e2e.ts#L42
1) [List Views] › src/tests/favorites.e2e.ts:93:9 › Favorites Files › Regular user's Favorites files › [C280482] has the correct columns "beforeAll" hook timeout of 150000ms exceeded. 40 | const fileName4 = `file4-${Utils.random()}.txt`; 41 | > 42 | test.beforeAll(async () => { | ^ 43 | try { 44 | test.setTimeout(timeouts.extendedTest); 45 | const apiClientFactory = new ApiClientFactory(); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/favorites.e2e.ts:42:8
[List Views] › src/tests/permissions.e2e.ts:181:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213668] on Shared Files: e2e/playwright/list-views/src/tests/permissions.e2e.ts#L1
2) [List Views] › src/tests/permissions.e2e.ts:181:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213668] on Shared Files Error: {"error":{"errorKey":"Person 'userPermissions-1xppv' already exists.","statusCode":409,"briefSummary":"11194411 Person 'userPermissions-1xppv' 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","logId":"c94743bc-8cce-4621-8743-bc8cce0621c7"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:875:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1165:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
E2E Playwright - special-permissions
Timed out waiting 600s for the test suite to run
E2E Playwright - special-permissions
Timed out waiting 600s for the teardown for test suite to run
[special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]: e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
1) [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Test timeout of 85000ms exceeded.
[special-permissions] › src/tests/other-permissions.ts:283: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#L63
1) [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Error: locator.waitFor: Test timeout of 85000ms exceeded. Call log: - waiting for locator('.mat-mdc-menu-content') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:63 61 | 62 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> { > 63 | await this.page.locator('.mat-mdc-menu-content').waitFor({ state: 'attached' }); | ^ 64 | const menus = await this.page.$$('.mat-mdc-menu-content .mat-mdc-menu-item'); 65 | const actualMoreActions: string[] = await Promise.all( 66 | 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:63:54) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:33) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:285:7
[special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]: e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
1) [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Test timeout of 85000ms exceeded.
[special-permissions] › src/tests/other-permissions.ts:283: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/aca-header.component.ts#L61
1) [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('aca-toolbar button[id="app.toolbar.more"]') - locator resolved to <button mat-icon-button="" title="More Actions" aria-haspopup="menu" id="app.toolbar.more" aria-expanded="false" aria-label="More Actions" ng-reflect-disabled="false" mat-ripple-loader-centered="" ng-reflect-menu="[object Object]" mat-ripple-loader-uninitialized="" mat-ripple-loader-class-name="mat-mdc-button-ripple" class="mat-mdc-menu-trigger mdc-icon-button mat-mdc-icon-button mat-unthemed mat-mdc-button-base ng-star-inserted">…</button> - attempting click action - waiting for element to be visible, enabled and stable - element is not stable - retrying click action - waiting for element to be visible, enabled and stable - element was detached from the DOM, retrying at ../../../projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:61 59 | async clickMoreActions(): Promise<void> { 60 | await this.toolbarMoreActions.waitFor({ state: 'attached' }); > 61 | await this.toolbarMoreActions.click(); | ^ 62 | } 63 | 64 | async clickCreateFolderFromTemplate(): Promise<void> { at AcaHeader.clickMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/aca-header.component.ts:61:35) at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:37:3) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:285:7
[special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]: e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
1) [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Test was interrupted.
[special-permissions] › src/tests/other-permissions.ts:258:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Shared Files - [C297665]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L72
2) [special-permissions] › src/tests/other-permissions.ts:258:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Shared Files - [C297665] Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Move,Copy,Delete,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:72 70 | ); 71 | for (const action of expectedToolbarMore) { > 72 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 73 | } 74 | } 75 | } 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:72: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:270:7
[special-permissions] › src/tests/other-permissions.ts:273:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L72
3) [special-permissions] › src/tests/other-permissions.ts:273:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666] Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Move,Copy,Delete,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:72 70 | ); 71 | for (const action of expectedToolbarMore) { > 72 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true); | ^ 73 | } 74 | } 75 | } 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:72: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:275:7
E2E Playwright - special-permissions
Process completed with exit code 1.
Finalize
Process completed with exit code 1.
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Unit tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Slow Test: [Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 19.3s
Slow Test: [Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 18.6s
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 26.8s
Slow Test: [Folder Rules] › src/tests/delete-view-rules.e2e.ts#L1
[Folder Rules] › src/tests/delete-view-rules.e2e.ts took 1.5m
Slow Test: [Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 35.0s
Finalize
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
🎭 Playwright Run Summary
6 passed (25.2s)
🎭 Playwright Run Summary
11 passed (1.2m)
🎭 Playwright Run Summary
9 passed (1.7m)
🎭 Playwright Run Summary
16 passed (2.1m)
🎭 Playwright Run Summary
25 passed (3.2m)
🎭 Playwright Run Summary
1 failed [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library 19 passed (3.9m)
🎭 Playwright Run Summary
2 flaky [Upload Download Actions] › src/tests/upload-new-version.e2e.ts:113:9 › Upload new version › on Search Results › [C307005] file is updated after uploading a new version - minor [Upload Download Actions] › src/tests/upload.e2e.ts:80:7 › Upload files › [T14752052] Upload dialog remains fixed in the browser when user performs other actions in parallel 27 passed (4.0m)
🎭 Playwright Run Summary
1 flaky [Share Action] › src/tests/share/unshare-file-search-results.e2e.ts:137:7 › Unshare a file from Search Results › [C306996] Unshare a file 14 passed (4.3m)
🎭 Playwright Run Summary
2 flaky [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:119:9 › Delete and undo delete › on Personal Files › [C217125] delete a file and check notification [Delete Actions] › src/tests/delete-undo-delete.e2e.ts:196:9 › Delete and undo delete › on Personal Files › [C217132] undo delete of file 21 passed (4.7m)
🎭 Playwright Run Summary
1 flaky [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages 10 passed (5.3m)
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer-file-types.e2e.ts:149:7 › viewer file types › [XAT-5486] User can close the thumbnail pane 33 passed (5.7m)
🎭 Playwright Run Summary
2 flaky [Folder Rules] › src/tests/create-rules.e2e.ts:132:7 › Folder Rules Actions › [XAT-888] Create a rule with multiple actions [Folder Rules] › src/tests/create-rules.e2e.ts:226:7 › Folder Rules Actions › [XAT-893] Removing values from required fields should restore disabled state for Create button 22 passed (5.1m)
🎭 Playwright Run Summary
1 flaky [Copy Move Actions] › src/tests/destination-picker-dialog.e2e.ts:96:7 › Copy Move actions › [C263878] Collaborator user can select the folder as destination 22 passed (6.9m)
🎭 Playwright Run Summary
3 flaky [Search] › src/tests/search-filters-logic.e2e.ts:103:7 › Search - Filters - Logic › [C699502] Filter with Exclude [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type [Search] › src/tests/search-highlighting.e2e.ts:75:7 › Search Highlighting › [XAT-17121] Matching phrases should be highlighted in the file content for search results 46 passed (7.6m)
🎭 Playwright Run Summary
1 flaky [Library Actions] › src/tests/library-actions.e2e.ts:358:9 › Library actions › Search Page › [C306961] Leave a library from Search Results 18 passed (7.9m)
🎭 Playwright Run Summary
2 flaky [List Views] › src/tests/favorites.e2e.ts:93:9 › Favorites Files › Regular user's Favorites files › [C280482] has the correct columns [List Views] › src/tests/permissions.e2e.ts:181:9 › Special permissions › Location column is empty if user doesn't have permissions on the file's parent folder › [C213668] on Shared Files 66 passed (8.8m)
🎭 Playwright Run Summary
1 failed [special-permissions] › src/tests/other-permissions.ts:283:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667] 2 flaky [special-permissions] › src/tests/other-permissions.ts:258:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Shared Files - [C297665] [special-permissions] › src/tests/other-permissions.ts:273:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666] 4 did not run 57 passed (10.0m)