[ACS-6239] Migrated personal files of pagination suit to playwright #1769
Annotations
4 errors and 1 notice
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
|
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
|
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
|
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
|
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)
|
The logs for this run have expired and are no longer available.
Loading