[ACS-6239] Migrated personal files of pagination suit to playwright #1769
pull-request.yml
on: pull_request
Annotations
4 errors, 6 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:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L341
2) [Actions] › src/tests/create-file-from-template.spec.ts:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected)
Expected string: "file-title-b93xe
file-description-va58k"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'playwright-file-184g6' })
339 | await createFileFromTemplateDialog.createFromTemplateAction(randomFileName, randomFileTitle, randomFileDescription);
340 | await dataTable.goThroughPagesLookingForRowWithName(randomFileName);
> 341 | await expect(dataTable.getCellLinkByName(randomFileName)).toHaveAttribute(titleLabel, randomFileTitle + `\n` + randomFileDescription);
| ^
342 | });
343 |
344 | test('[C325042] Trim spaces from file Name', async () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:341:67
|
[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
|
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 (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (special-permissions, 6)
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 (folder-rules, 2)
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:338:11 › Create file from template › Personal Files page › File created from template on Personal Files › [C325026] Create a file from a template - with a Name, Title and Description
[Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error
61 passed (6.4m)
|
🎭 Playwright Run Summary
5 passed (28.4s)
|
🎭 Playwright Run Summary
21 passed (3.3m)
|
🎭 Playwright Run Summary
60 passed (6.9m)
|
🎭 Playwright Run Summary
16 passed (1.7m)
|
🎭 Playwright Run Summary
3 passed (27.8s)
|
🎭 Playwright Run Summary
7 passed (47.3s)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
12.9 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
|
45.5 MB |
|
libraryActions
Expired
|
2.14 MB |
|
listViews,navigation
Expired
|
2.12 MB |
|
pagination
Expired
|
13.6 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|