[ACS-6239] Migrated personal files of pagination suit to playwright #1775
pull-request.yml
on: pull_request
Annotations
6 errors, 5 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-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L335
2) [Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-file-11p9u' })
333 | await createFileFromTemplateDialog.createFromTemplateAction(randomFileName);
334 | await dataTable.goThroughPagesLookingForRowWithName(randomFileName);
> 335 | await expect(dataTable.getRowByName(randomFileName)).toBeVisible();
| ^
336 | });
337 |
338 | test('[C325026] Create a file from a template - with a Name, Title and Description', async () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:335:62
|
[Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L326
2) [Actions] › src/tests/create-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
Test timeout of 45000ms exceeded while running "afterEach" hook.
324 | });
325 |
> 326 | test.afterEach(async () => {
| ^
327 | const nodesApi = await NodesApi.initialize('***');
328 | fileId = await nodesApi.getNodeIdFromParent(randomFileName, '-my-');
329 | await nodesApi.deleteNodeById(fileId);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:326:12
|
[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
3) [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
|
[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
|
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.
|
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 (pagination, 7)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
3 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-file-from-template.spec.ts:332:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325030] Create a file from a template - with a new Name
[Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error
61 passed (6.8m)
|
🎭 Playwright Run Summary
3 passed (27.4s)
|
🎭 Playwright Run Summary
21 passed (3.5m)
|
🎭 Playwright Run Summary
5 passed (31.9s)
|
🎭 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.3m)
|
🎭 Playwright Run Summary
16 passed (1.8m)
|
🎭 Playwright Run Summary
7 passed (51.0s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
14.8 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 |
|
folder-rules
Expired
|
24.1 MB |
|
libraryActions
Expired
|
2.14 MB |
|
listViews,navigation
Expired
|
2.1 MB |
|
pagination
Expired
|
11.8 MB |
|
search
Expired
|
2.16 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
1.8 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|