Skip to content

[ACS-6457] Migrated unshare-file e2es to playwright #1987

[ACS-6457] Migrated unshare-file e2es to playwright

[ACS-6457] Migrated unshare-file e2es to playwright #1987

Re-run triggered December 26, 2023 12:58
Status Success
Total duration 14m 23s
Artifacts 10

pull-request.yml

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

Annotations

9 errors, 7 warnings, and 8 notices
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Test timeout of 45000ms exceeded.
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Error: locator.waitFor: Page closed =========================== logs =========================== waiting for locator('.mat-menu-content') ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57 55 | 56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> { > 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' }); | ^ 58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item'); 59 | let actualMoreActions: string[] = await Promise.all( 60 | 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:57:50) at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]: e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] Pending operations: - locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
[Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages: e2e/playwright/pagination/src/tests/personal-files.ts#L83
1) [Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages Error: expect(received).toContain(expected) // indexOf Expected substring: "Showing 26-50 of 51" Received string: "Showing 1-25 of 51" 81 | await personalFiles.pagination.clickOnNextPage(); 82 | await personalFiles.dataTable.spinnerWaitForReload(); > 83 | expect(await personalFiles.pagination.getRange()).toContain('Showing 26-50 of 51'); | ^ 84 | await personalFiles.pagination.clickOnPreviousPage(); 85 | await personalFiles.dataTable.spinnerWaitForReload(); 86 | expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51'); at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:83: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#L85
2) [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 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
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
1) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Test timeout of 45000ms exceeded.
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L183
1) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Error: locator.click: Page closed =========================== logs =========================== waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'user-folder-116d6' }) ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183 181 | */ 182 | async performClickFolderOrFileToOpen(name: string): Promise<void> { > 183 | await this.getCellLinkByName(name).click(); | ^ 184 | await this.spinnerWaitForReload(); 185 | } 186 | 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:183:40) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.spec.ts:72:37
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar: e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
1) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar Pending operations: - locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40
[List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder: e2e/playwright/list-views/src/tests/recent-files.spec.ts#L1
2) [List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder Error: {"error":{"errorKey":"Person 'user-qyl7i' already exists.","statusCode":409,"briefSummary":"11263390 Person 'user-qyl7i' 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"}} at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17) at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18) at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
E2e test suites: Playwright (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: shareActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
E2e test suites: Playwright (folder-rules, 2)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: Playwright (actions, 1)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
21 passed (2.8m)
🎭 Playwright Run Summary
16 passed (1.1m)
🎭 Playwright Run Summary
5 passed (19.2s)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459] 63 passed (6.1m)
🎭 Playwright Run Summary
2 flaky [Pagination] › src/tests/personal-files.ts:77:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages [Pagination] › src/tests/favorites.ts:79:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages 9 passed (3.2m)
🎭 Playwright Run Summary
2 flaky [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar [List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder 57 passed (9.3m)
🎭 Playwright Run Summary
3 passed (29.4s)
🎭 Playwright Run Summary
98 passed (10.8m)

Artifacts

Produced during runtime
Name Size
actions Expired
36.7 MB
deleteActions Expired
2.14 MB
editActions,favoriteActions Expired
2.13 MB
list-views Expired
1.74 MB
listViews Expired
2.12 MB
pagination Expired
6.62 MB
search Expired
2.27 MB
special-permissions Expired
3.18 MB
uploadDownloadActions Expired
2.12 MB
viewer,infoDrawer,extensions Expired
2.19 MB