Skip to content

ACS-9201 create smoke test suite #4311

ACS-9201 create smoke test suite

ACS-9201 create smoke test suite #4311

Triggered via pull request February 3, 2025 14:22
Status Failure
Total duration 18m 48s
Artifacts

pull-request.yml

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

Annotations

20 errors, 7 warnings, and 16 notices
E2E Playwright - special-permissions
Process completed with exit code 1.
E2E Playwright - special-permissions
Process completed with exit code 1.
[Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries: e2e/playwright/navigation/src/tests/single-click.e2e.ts#L1
1) [Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries Error: {"error":{"errorKey":"Person 'user-1uig2' already exists.","statusCode":409,"briefSummary":"01030023 Person 'user-1uig2' 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":"309d98d9-b9a6-4650-9d98-d9b9a61650f7"}} 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)
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer @smoke', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke Retry #1 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer @smoke', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
[Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke: e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts#L65
1) [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke Retry #2 ─────────────────────────────────────────────────────────────────────────────────────── Error: expect(received).toContain(expected) // indexOf Expected substring: "This is a small demonstration" Received string: "" 63 | await expect(pageLoaded).toBeVisible(); 64 | await expect(textLayerLoaded).toBeVisible(); > 65 | expect(await specificText).toContain(text); | ^ 66 | } 67 | 68 | test('[C595967] Should preview document from the info drawer @smoke', async ({ personalFiles }) => { at checkFileContent (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:65:32) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-preview.e2e.ts:76:5
[Info Drawer] › src/tests/file-folder-properties.e2e.ts:179:7 › Info Drawer - File Folder Properties › [XAT-17240] Remove a tag from a node: e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts#L1
2) [Info Drawer] › src/tests/file-folder-properties.e2e.ts:179:7 › Info Drawer - File Folder Properties › [XAT-17240] Remove a tag from a node Test timeout of 85000ms exceeded.
[Info Drawer] › src/tests/file-folder-properties.e2e.ts:179:7 › Info Drawer - File Folder Properties › [XAT-17240] Remove a tag from a node: e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts#L191
2) [Info Drawer] › src/tests/file-folder-properties.e2e.ts:179:7 › Info Drawer - File Folder Properties › [XAT-17240] Remove a tag from a node Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-info-drawer adf-tags-creator').locator('mat-chip').locator('.adf-dynamic-chip-list-delete-icon').first() 189 | await expect(personalFiles.infoDrawer.tagsChipsXButton.first()).toBeHidden(); 190 | await personalFiles.infoDrawer.tagsAccordionPenButton.click(); > 191 | await personalFiles.infoDrawer.tagsChipsXButton.first().click(); | ^ 192 | await personalFiles.infoDrawer.tagsAccordionConfirmButton.click(); 193 | await expect(personalFiles.infoDrawer.tagsChips.first()).toBeHidden(); 194 | await expect(personalFiles.infoDrawer.tagsAccordion).toContainText(noTagsText); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/file-folder-properties.e2e.ts:191:61
[Info Drawer] › src/tests/library-properties.e2e.ts:184:7 › Library properties › [C289343] Site description too long: e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts#L1
3) [Info Drawer] › src/tests/library-properties.e2e.ts:184:7 › Library properties › [C289343] Site description too long Test timeout of 85000ms exceeded.
[Info Drawer] › src/tests/library-properties.e2e.ts:184:7 › Library properties › [C289343] Site description too long: e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts#L186
3) [Info Drawer] › src/tests/library-properties.e2e.ts:184:7 › Library properties › [C289343] Site description too long Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'site1-1jil1' }) 184 | test('[C289343] Site description too long', async ({ myLibrariesPage }) => { 185 | await Utils.reloadPageIfRowNotVisible(myLibrariesPage, site.name); > 186 | await myLibrariesPage.dataTable.getRowByName(site.name).click(); | ^ 187 | await myLibrariesPage.acaHeader.viewDetails.click(); 188 | await expect(myLibrariesPage.libraryDetails.infoDrawerPanel).toBeVisible(); 189 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/info-drawer/src/tests/library-properties.e2e.ts:186:61
E2E Playwright - info-drawer
Process completed with exit code 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: 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-1ac5k' }) 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
[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#L92
1) [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).toBeVisible() Locator: locator('adf-datatable adf-datatable-row').filter({ hasText: '1yljg-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: '1yljg-fileNameKb.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 | }); 95 | }); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/search/src/tests/search-filters-properties.e2e.ts:92:68
[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
2) [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
[Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files: e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L1
1) [Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files Test timeout of 85000ms exceeded.
[Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
1) [Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'file-docx-1epbx' }) 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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:152:32
[Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files: e2e/playwright/viewer/src/tests/viewer-action.e2e.ts#L1
2) [Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files Test timeout of 85000ms exceeded.
[Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L204
2) [Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files Error: locator.click: Test timeout of 85000ms exceeded. Call log: - waiting for locator('adf-datatable .adf-cell-value span[role="link"]').filter({ hasText: 'docxRF-vwg8v.docx' }) 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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.e2e.ts:222:37
Finalize
Process completed with exit code 1.
Slow Test: [Authentication] › src/tests/general.e2e.ts#L1
[Authentication] › src/tests/general.e2e.ts took 18.6s
Slow Test: [Navigation] › src/tests/breadcrumb-admin.e2e.ts#L1
[Navigation] › src/tests/breadcrumb-admin.e2e.ts took 15.0s
Slow Test: [Info Drawer] › src/tests/general.e2e.ts#L1
[Info Drawer] › src/tests/general.e2e.ts took 25.3s
Slow Test: [Search] › src/tests/search-filters-general.e2e.ts#L1
[Search] › src/tests/search-filters-general.e2e.ts took 33.2s
Slow Test: [Search] › src/tests/search-filters-tags.e2e.ts#L1
[Search] › src/tests/search-filters-tags.e2e.ts took 17.2s
Slow Test: [Viewer] › src/tests/viewer-protected.e2e.ts#L1
[Viewer] › src/tests/viewer-protected.e2e.ts took 50.1s
Slow Test: [Viewer] › src/tests/viewer-useraction.e2e.ts#L1
[Viewer] › src/tests/viewer-useraction.e2e.ts took 25.3s
🎭 Playwright Run Summary
6 passed (28.5s)
🎭 Playwright Run Summary
10 passed (1.1m)
🎭 Playwright Run Summary
9 passed (1.1m)
🎭 Playwright Run Summary
20 passed (1.8m)
🎭 Playwright Run Summary
1 flaky [Navigation] › src/tests/single-click.e2e.ts:83:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries 15 passed (1.5m)
🎭 Playwright Run Summary
11 passed (1.9m)
🎭 Playwright Run Summary
15 passed (1.8m)
🎭 Playwright Run Summary
29 passed (2.8m)
🎭 Playwright Run Summary
19 passed (2.9m)
🎭 Playwright Run Summary
23 passed (3.2m)
🎭 Playwright Run Summary
24 passed (3.7m)
🎭 Playwright Run Summary
1 failed [Info Drawer] › src/tests/file-preview.e2e.ts:68:7 › File preview › [C595967] Should preview document from the info drawer @smoke 2 flaky [Info Drawer] › src/tests/file-folder-properties.e2e.ts:179:7 › Info Drawer - File Folder Properties › [XAT-17240] Remove a tag from a node [Info Drawer] › src/tests/library-properties.e2e.ts:184:7 › Library properties › [C289343] Site description too long 22 passed (4.4m)
🎭 Playwright Run Summary
67 passed (5.7m)
🎭 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.3m)
🎭 Playwright Run Summary
2 flaky [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 (6.1m)
🎭 Playwright Run Summary
2 flaky [Viewer] › src/tests/viewer-action.e2e.ts:150:7 › viewer action file › [C286379] Favorite action from Shared Files [Viewer] › src/tests/viewer-action.e2e.ts:220:7 › viewer action file › [C286384] Copy action from Recent Files 31 passed (6.4m)