remove redundant service imports #1736
pull-request.yml
on: pull_request
Annotations
6 errors, 5 warnings, and 6 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:188:11 › Create file from template › Personal Files page › Select Template dialog › [C216339] Next button is disabled when selecting a folder:
e2e/playwright/actions/src/tests/create-file-from-template.spec.ts#L189
2) [Actions] › src/tests/create-file-from-template.spec.ts:188:11 › Create file from template › Personal Files page › Select Template dialog › [C216339] Next button is disabled when selecting a folder
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: 'templates-folder1-a4gzz' })
187 |
188 | test('[C216339] Next button is disabled when selecting a folder', async () => {
> 189 | await expect(dataTable.getRowByName(templatesFolder1)).toBeVisible();
| ^
190 | await expect(selectFileTemplateDialog.actionButton).toBeDisabled();
191 |
192 | await dataTable.getRowByName(templatesFolder1).click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:189:64
|
[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/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
1) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Test timeout of 45000ms exceeded.
|
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L170
1) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-17ufx-shared.txt' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170
168 | */
169 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 170 | await this.getCellLinkByName(name).click();
| ^
171 | await this.spinnerWaitForReload();
172 | }
173 |
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:170:40)
at checkViewerActions (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:255:36)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:283:9
|
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]:
e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts#L1
1) [special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:170:40
|
lint:
app/src/main.ts#L35
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
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 (folder-rules, 2)
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 (viewer, 3)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
5 passed (26.1s)
|
🎭 Playwright Run Summary
3 passed (33.1s)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
21 passed (3.0m)
|
🎭 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:188:11 › Create file from template › Personal Files page › Select Template dialog › [C216339] Next button is disabled when selecting a folder
[Actions] › src/tests/create-folder.spec.ts:147:7 › Create folders › [C216350] Duplicate folder name error
61 passed (5.6m)
|
🎭 Playwright Run Summary
1 flaky
[special-permissions] › src/tests/viewer.ts:282:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Shared Files › File shared - [C326660]
59 passed (7.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
6.31 MB |
|
actionsAvailableFilesFolders
Expired
|
2.45 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.2 MB |
|
actionsAvailableSpecialPermissions
Expired
|
2.91 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.1 MB |
|
pagination
Expired
|
3.17 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
1.96 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|