[ACS-6457] Migrated unshare-file e2es to playwright #1990
pull-request.yml
on: pull_request
Annotations
14 errors, 8 warnings, and 8 notices
[List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files:
e2e/playwright/list-views/src/tests/permissions.spec.ts#L101
1) [List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files
Error: Items are still displayed
Expected: true
Received: false
99 | await siteApiAdmin.deleteSiteMember(sitePrivate, username);
100 | await recentFilesPage.reload();
> 101 | expect(await recentFilesPage.dataTable.isEmpty(), 'Items are still displayed').toBe(true);
| ^
102 | });
103 |
104 | test('[C213227] on Favorites', async ({ favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/permissions.spec.ts:101:86
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Test timeout of 45000ms exceeded.
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L183
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'user-folder-lkp0y' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183
181 | */
182 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 183 | await this.getCellLinkByName(name).click();
| ^
184 | await this.spinnerWaitForReload();
185 | }
186 |
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:183:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.spec.ts:72:37
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:148: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/create-file-from-template.spec.ts#L154
1) [Actions] › src/tests/create/create-file-from-template.spec.ts:148: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-datatable adf-datatable-row').filter({ hasText: 'template3-refrz.txt' })
152 | await expect.soft(dataTable.getRowByName(templatesFolder1)).toBeVisible();
153 | await expect.soft(dataTable.getRowByName(templatesFolder2)).toBeVisible();
> 154 | await expect.soft(dataTable.getRowByName(template1InRoot)).toBeVisible();
| ^
155 | await expect.soft(selectFileTemplateDialog.cancelButton).toBeEnabled();
156 | await expect(selectFileTemplateDialog.actionButton).toBeDisabled();
157 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:154:68
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:165:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L169
2) [Actions] › src/tests/create/create-file-from-template.spec.ts:165:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy
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: 'template3-u5ry1.txt' })
167 | await expect(dataTable.getRowByName(templatesFolder1)).toBeVisible();
168 | await expect(dataTable.getRowByName(templatesFolder2)).toBeVisible();
> 169 | await expect(dataTable.getRowByName(template1InRoot)).toBeVisible();
| ^
170 |
171 | await dataTable.getRowByName(templatesFolder1).dblclick();
172 | await expect(selectFileTemplateDialog.getBreadcrumb(templatesFolder1)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:169:63
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L225
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Test timeout of 45000ms exceeded while running "beforeEach" hook.
223 | });
224 |
> 225 | test.beforeEach(async ({ personalFiles }) => {
| ^
226 | try {
227 | createFileFromTemplateDialog = personalFiles.createFromTemplateDialogComponent;
228 | await dataTable.getRowByName(template1InRoot).click();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:225:12
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L236
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toBeVisible: Target page, context or browser has been closed
234 |
235 | test('[C325020] Create file from template - dialog UI', async () => {
> 236 | await expect.soft(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible();
| ^
237 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible();
238 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot);
239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:236:91
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L237
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toBeVisible: Target page, context or browser has been closed
235 | test('[C325020] Create file from template - dialog UI', async () => {
236 | await expect.soft(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible();
> 237 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible();
| ^
238 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot);
239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:237:83
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L238
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toHaveValue: Target page, context or browser has been closed
236 | await expect.soft(createFileFromTemplateDialog.getDialogTitle(createDialogTitle)).toBeVisible();
237 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible();
> 238 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot);
| ^
239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
241 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:238:83
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L239
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toBeVisible: Target page, context or browser has been closed
237 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toBeVisible();
238 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot);
> 239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
| ^
240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
241 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible();
242 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:239:84
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L240
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toHaveValue: Target page, context or browser has been closed
238 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot);
239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
> 240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
| ^
241 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible();
242 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString);
243 | await expect.soft(createFileFromTemplateDialog.cancelButton).toBeEnabled();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:240:84
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L241
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toBeVisible: Target page, context or browser has been closed
239 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toBeVisible();
240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
> 241 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible();
| ^
242 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString);
243 | await expect.soft(createFileFromTemplateDialog.cancelButton).toBeEnabled();
244 | await expect(createFileFromTemplateDialog.createButton).toBeEnabled();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:241:90
|
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI:
e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts#L242
3) [Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
Error: expect.soft.toHaveValue: Target page, context or browser has been closed
240 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(titleLabel)).toHaveValue(emptyString);
241 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toBeVisible();
> 242 | await expect.soft(createFileFromTemplateDialog.getDialogLabel(descriptionLabel)).toHaveValue(emptyString);
| ^
243 | await expect.soft(createFileFromTemplateDialog.cancelButton).toBeEnabled();
244 | await expect(createFileFromTemplateDialog.createButton).toBeEnabled();
245 | });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-file-from-template.spec.ts:242:90
|
E2e test suites: shareActions
No files were found with the provided path: e2e-output/. No artifacts will be uploaded.
|
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (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.
|
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.
|
🎭 Playwright Run Summary
3 passed (29.0s)
|
🎭 Playwright Run Summary
5 passed (20.2s)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
11 passed (2.2m)
|
🎭 Playwright Run Summary
21 passed (2.6m)
|
🎭 Playwright Run Summary
64 passed (5.7m)
|
🎭 Playwright Run Summary
2 flaky
[List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
57 passed (8.3m)
|
🎭 Playwright Run Summary
10 flaky
[Actions] › src/tests/create/create-file-from-template.spec.ts:148:11 › Create file from template › Personal Files page › Select Template dialog › [C325043] Select template - dialog UI - with existing templates
[Actions] › src/tests/create/create-file-from-template.spec.ts:165:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy
[Actions] › src/tests/create/create-file-from-template.spec.ts:235:11 › Create file from template › Personal Files page › Create document from template dialog › [C325020] Create file from template - dialog UI
[Actions] › src/tests/create/create-file-from-template.spec.ts:247:11 › Create file from template › Personal Files page › Create document from template dialog › [C325031] File name is required
[Actions] › src/tests/create/create-file-from-template.spec.ts:276:11 › Create file from template › Personal Files page › Create document from template dialog › [C325033] File name ending with a dot
[Actions] › src/tests/create/create-file-from-template.spec.ts:323:11 › Create file from template › Personal Files page › Create document from template dialog › [C325028] Create a file with a duplicate name
[Actions] › src/tests/create/create-file-from-template.spec.ts:352: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/create-file-from-template.spec.ts:358: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/create-file-from-template.spec.ts:413:9 › Create file from template › File created from template on Personal Files Libraries › [C325024] Cancel file creation in a library
[Actions] › src/tests/create/create-folder-from-template.spec.ts:236:11 › Create folder from template › Personal Files page › Select Template dialog › [C325139] Next button is disabled when selecting a file
88 passed (15.0m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
35.5 MB |
|
deleteActions
Expired
|
2.11 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
list-views
Expired
|
3.45 MB |
|
listViews
Expired
|
2.12 MB |
|
search
Expired
|
2.1 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.21 MB |
|