[ACS-6239] Migrated personal files of pagination suit to playwright #1768
pull-request.yml
on: pull_request
Annotations
7 errors, 3 warnings, and 7 notices
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L127
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.soft.toBeVisible with timeout 5000ms
- waiting for locator('adf-content-node-selector [data-automation-id="current-folder"]').filter({ hasText: 'Node Templates' })
125 | test('[C325043] Select template - dialog UI - with existing templates', async () => {
126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible();
> 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible();
| ^
128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty();
129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible();
130 | await expect.soft(dataTable.getRowByName(templatesFolder2)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:127:85
|
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L127
1) [Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.soft.toBeVisible with timeout 5000ms
- waiting for locator('adf-content-node-selector [data-automation-id="current-folder"]').filter({ hasText: 'Node Templates' })
125 | test('[C325043] Select template - dialog UI - with existing templates', async () => {
126 | await expect.soft(selectFileTemplateDialog.getDialogTitle(selectDialogTitle)).toBeVisible();
> 127 | await expect.soft(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible();
| ^
128 | await expect.soft(dataTable.getRowByName(templatesFolder1)).not.toBeEmpty();
129 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible();
130 | await expect.soft(dataTable.getRowByName(templatesFolder2)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:127:85
|
[Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error:
e2e/playwright/actions/src/tests/create-folder.spec.ts#L152
2) [Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-snackbar-content [data-automation-id=\'adf-snackbar-message-content\']').filter({ hasText: 'There\'s already a folder with this name. Try a different name.' }).first()
150 | await folderDialog.createNewFolderDialog(commonFolderName);
151 |
> 152 | await expect(folderSnackBar.getByMessageLocator(errorStrings.thereIsAlreadyAFolderWithThisName)).toBeVisible();
| ^
153 | });
154 |
155 | test.describe('On Personal Files dataTable', () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-folder.spec.ts:152:102
|
[Navigation] › src/tests/single-click.spec.ts:75: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.spec.ts#L81
1) [Navigation] › src/tests/single-click.spec.ts:75:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries
Error: fileSite-175z6.txt not displayed
Expected: true
Received: false
79 | await myLibrariesPage.dataTable.spinnerWaitForReload();
80 | expect(await myLibrariesPage.breadcrumb.currentItem.innerText()).toBe(siteName);
> 81 | expect(await myLibrariesPage.dataTable.getCellLinkByName(fileSite).isVisible(), `${fileSite} not displayed`).toBe(true);
| ^
82 | });
83 | });
84 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:81:114
|
[Navigation] › src/tests/single-click.spec.ts:75: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.spec.ts#L81
1) [Navigation] › src/tests/single-click.spec.ts:75:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: fileSite-138yc.txt not displayed
Expected: true
Received: false
79 | await myLibrariesPage.dataTable.spinnerWaitForReload();
80 | expect(await myLibrariesPage.breadcrumb.currentItem.innerText()).toBe(siteName);
> 81 | expect(await myLibrariesPage.dataTable.getCellLinkByName(fileSite).isVisible(), `${fileSite} not displayed`).toBe(true);
| ^
82 | });
83 | });
84 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/single-click.spec.ts:81:114
|
[special-permissions] › src/tests/other-permissions.ts:275: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#L66
1) [special-permissions] › src/tests/other-permissions.ts:275:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]
Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
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:66: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:277:7
|
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items:
e2e/playwright/pagination/src/tests/personal-files.ts#L60
1) [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
Error: expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 0
58 | expect(await personalFiles.pagination.getMaxItems()).toContain('25');
59 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 3');
> 60 | expect(await personalFiles.pagination.menu.getItemsCount()).toBe(3);
| ^
61 |
62 | await personalFiles.pagination.openMaxItemsMenu();
63 | await personalFiles.pagination.menu.clickMenuItem('50');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:67
|
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 (viewer, 3)
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.
|
🎭 Playwright Run Summary
3 passed (32.8s)
|
🎭 Playwright Run Summary
2 flaky
[Actions] › src/tests/create-file-from-template.spec.ts:125:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates
[Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error
62 passed (6.7m)
|
🎭 Playwright Run Summary
21 passed (3.4m)
|
🎭 Playwright Run Summary
1 flaky
[Navigation] › src/tests/single-click.spec.ts:75:7 › Single click on item name › [C284902] Navigate inside the library when clicking the hyperlink on File Libraries
15 passed (2.7m)
|
🎭 Playwright Run Summary
5 passed (19.3s)
|
🎭 Playwright Run Summary
1 flaky
[special-permissions] › src/tests/other-permissions.ts:275:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]
59 passed (7.5m)
|
🎭 Playwright Run Summary
1 flaky
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
6 passed (1.1m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
7.81 MB |
|
actionsAvailableFilesFolders
Expired
|
2.45 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.21 MB |
|
actionsAvailableSpecialPermissions
Expired
|
2.94 MB |
|
copyMoveActions
Expired
|
2.16 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
libraryActions
Expired
|
2.14 MB |
|
listViews,navigation
Expired
|
2.12 MB |
|
navigation
Expired
|
3.44 MB |
|
pagination
Expired
|
16.8 MB |
|
search
Expired
|
2.1 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
1.9 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|