Skip to content

[ACS-9088] Review and update docs on extension creation #4116

[ACS-9088] Review and update docs on extension creation

[ACS-9088] Review and update docs on extension creation #4116

Triggered via pull request December 23, 2024 12:42
Status Success
Total duration 14m 44s
Artifacts

pull-request.yml

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

Annotations

15 errors, 8 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-rax4m]') 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-rax4m]') 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-1lwxz]') 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-1lwxz]') 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
[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
1) [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-j3ywx' already exists.","statusCode":409,"briefSummary":"112310249 Person 'user-j3ywx' 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":"7ec42b96-a732-481a-842b-96a732e81a59"}} 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)
[Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB: e2e/playwright/search/src/tests/search-filters-properties.e2e.ts#L74
1) [Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '3lnqe-fileNameKb.pdf' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: '3lnqe-fileNameKb.pdf' }) 72 | 73 | await expect(searchPage.searchFilters.propertiesFilter).toContainText('Properties: At Most 1 MB'); > 74 | await expect(searchPage.dataTable.getRowByName(fileNamePdfKb)).toBeVisible(); | ^ 75 | await expect(searchPage.dataTable.getRowByName(fileNameJpgMb)).toBeHidden(); 76 | }); 77 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:74:68
[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-results-files-folders.e2e.ts:57:7 › Search results - files and folders › [C290029] Search file with special characters: e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts#L62
3) [Search] › src/tests/search-results-files-folders.e2e.ts:57:7 › Search results - files and folders › [C290029] Search file with special characters Error: Timed out 5000ms waiting for expect(locator).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: 'любимый-сайт-lo5dy' }) Expected: visible Received: <element(s) not found> Call log: - expect.toBeVisible with timeout 5000ms - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'любимый-сайт-lo5dy' }) 60 | await nodesApi.createFile(fileRussian); 61 | await searchPage.searchWithin(fileRussian, 'filesAndFolders'); > 62 | await expect(searchPage.dataTable.getRowByName(fileRussian)).toBeVisible(); | ^ 63 | }); 64 | 65 | test('[C279177] Location column redirect - file in user Home', async ({ searchPage, personalFiles }) => { at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-results-files-folders.e2e.ts:62:66
[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#L204
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-18qiq' }) 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:92:11
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files: e2e/playwright/list-views/src/tests/empty-list.e2e.ts#L1
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files Test timeout of 85000ms exceeded.
[List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L318
1) [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files Error: locator.innerText: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-empty-content__title') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318 316 | 317 | async getEmptyStateTitle(): Promise<string> { > 318 | return (await this.isEmpty()) ? this.emptyListTitle.innerText() : ''; | ^ 319 | } 320 | 321 | async getEmptyStateSubtitle(): Promise<string> { at DataTableComponent.getEmptyStateTitle (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:318:57) at openEmptyTab (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:84:12) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/empty-list.e2e.ts:109:7
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site: e2e/playwright/list-views/src/tests/favorites.e2e.ts#L1
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site Test timeout of 85000ms exceeded.
[List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L291
2) [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file1-8d07p.txt' }).locator('.aca-location-link') at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:291 289 | 290 | async clickItemLocation(name: string): Promise<void> { > 291 | await this.getItemLocationEl(name).click(); | ^ 292 | } 293 | 294 | 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:291:40) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/favorites.e2e.ts:130:36
[List Views] › src/tests/file-libraries.e2e.ts:143:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns: e2e/playwright/list-views/src/tests/file-libraries.e2e.ts#L1
3) [List Views] › src/tests/file-libraries.e2e.ts:143:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns Test timeout of 85000ms exceeded.
[List Views] › src/tests/file-libraries.e2e.ts:143:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L267
3) [List Views] › src/tests/file-libraries.e2e.ts:143:9 › File Libraries › Favorite Libraries › [C289893] has the correct columns Error: locator.waitFor: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-datatable-row .adf-datatable-cell-header .adf-datatable-cell-value').first() at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:267 265 | async getColumnHeaders(): Promise<Array<string>> { 266 | const columnNameLocator = this.columnHeaders; > 267 | await this.columnHeaders.nth(0).waitFor({ state: 'attached' }); | ^ 268 | return columnNameLocator.allTextContents(); 269 | } 270 | at DataTableComponent.getColumnHeaders (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:267:37) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/file-libraries.e2e.ts:145:92
[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
4) [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-72xg7' already exists.","statusCode":409,"briefSummary":"112311430 Person 'userPermissions-72xg7' 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":"30f05084-cee2-4d1a-b050-84cee2bd1a0d"}} 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)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build
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/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 22.7s
Slow Test: [Info Drawer] › src/tests/file-preview.e2e.ts#L1
[Info Drawer] › src/tests/file-preview.e2e.ts took 16.2s
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 23.6s
Slow Test: [Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 27.8s
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 (22.3s)
🎭 Playwright Run Summary
11 passed (1.1m)
🎭 Playwright Run Summary
9 passed (1.3m)
🎭 Playwright Run Summary
16 passed (1.7m)
🎭 Playwright Run Summary
15 passed (2.1m)
🎭 Playwright Run Summary
1 flaky [Create Actions] › src/tests/create-library.e2e.ts:118:9 › Create Libraries › On My Libraries dataTable › [C280025] Create a public library 19 passed (2.7m)
🎭 Playwright Run Summary
25 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [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 28 passed (2.9m)
🎭 Playwright Run Summary
11 passed (3.0m)
🎭 Playwright Run Summary
23 passed (3.7m)
🎭 Playwright Run Summary
34 passed (3.9m)
🎭 Playwright Run Summary
24 passed (3.5m)
🎭 Playwright Run Summary
19 passed (5.3m)
🎭 Playwright Run Summary
64 passed (5.3m)
🎭 Playwright Run Summary
3 flaky [Search] › src/tests/search-filters-properties.e2e.ts:69:7 › Search - Filters - Properties › [C699046-2] Filter by size - At most 1MB [Search] › src/tests/search-filters-properties.e2e.ts:87:7 › Search - Filters - Properties › [C699047] Filter by type [Search] › src/tests/search-results-files-folders.e2e.ts:57:7 › Search results - files and folders › [C290029] Search file with special characters 46 passed (6.2m)
🎭 Playwright Run Summary
1 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 22 passed (6.7m)
🎭 Playwright Run Summary
4 flaky [List Views] › src/tests/empty-list.e2e.ts:108:9 › Empty list views › [C213169] empty Recent Files [List Views] › src/tests/favorites.e2e.ts:129:9 › Favorites Files › Regular user's Favorites files › [C280485] Location column redirect - file in site [List Views] › src/tests/file-libraries.e2e.ts:143:9 › File Libraries › Favorite Libraries › [C289893] 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 64 passed (7.7m)