[ACS-6239] Migrated personal files of pagination suit to playwright #1759
pull-request.yml
on: pull_request
Annotations
16 errors, 4 warnings, and 7 notices
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions:
e2e/playwright/folder-rules/src/tests/actions.spec.ts#L71
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.soft.toBeVisible with timeout 5000ms
- waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'playwright-rule-7588sx' })
69 | await nodesPage.manageRulesDialog.createRuleButton.click();
70 |
> 71 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible();
| ^
72 | });
73 | });
74 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
|
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions:
e2e/playwright/folder-rules/src/tests/actions.spec.ts#L71
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.soft.toBeVisible with timeout 5000ms
- waiting for locator('.aca-manage-rules .aca-rule-list-item__header').filter({ hasText: 'playwright-rule-18b147' })
69 | await nodesPage.manageRulesDialog.createRuleButton.click();
70 |
> 71 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible();
| ^
72 | });
73 | });
74 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/actions.spec.ts:71:76
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Test timeout of 45000ms exceeded.
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('adf-pagination [aria-label="Next page button"]')
locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205
203 | }
204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled();
> 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click();
| ^
206 | await this.spinnerWaitForReload();
207 | }
208 | }
at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88)
at DataTableComponent.performActionFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:142:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:52:5
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/create-file-from-template.spec.ts:142: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-file-from-template.spec.ts#L143
1) [Actions] › src/tests/create-file-from-template.spec.ts:142: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-content-node-selector [data-automation-id="current-folder"]').filter({ hasText: 'Node Templates' })
141 |
142 | test(`[C325045] Navigate through the templates list with folder hierarchy`, async () => {
> 143 | await expect(selectFileTemplateDialog.getBreadcrumb(dialogBreadcrumb)).toBeVisible();
| ^
144 | await expect(dataTable.getRowByName(templatesFolder1)).toBeVisible();
145 | await expect(dataTable.getRowByName(templatesFolder2)).toBeVisible();
146 | await expect(dataTable.getRowByName(template1InRoot)).toBeVisible();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:143:80
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L180
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-folder-vfnyxg' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:180
178 |
179 | async getActionLocatorFromExpandableMenu(name: string | number, action: string): Promise<Locator> {
> 180 | await this.getRowByName(name).click({ button: 'right' });
| ^
181 | return this.contextMenuActions.getButtonByText(action);
182 | }
183 |
at DataTableComponent.getActionLocatorFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:180:35)
at DataTableComponent.performActionFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:143:44)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:52:5
|
[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-10y0r
file-description-qmoba"
Received string: ""
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'playwright-file-qnd6m' })
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
|
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition:
e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L1
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:180:35
|
[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#L1
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule:
e2e/playwright/folder-rules/src/tests/manage-rules.spec.ts#L1
3) [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
Test timeout of 45000ms exceeded.
|
[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:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L195
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.textContent: Page closed
=========================== logs ===========================
waiting for locator('adf-pagination .adf-pagination__current-page')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:195
193 | }
194 |
> 195 | if ((await this.pagination.currentPageLocator.textContent()) !== ' Page 1 ') {
| ^
196 | await this.pagination.navigateToPage(1);
197 | }
198 |
at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:195:51)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-file-from-template.spec.ts:340:9
|
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L205
3) [Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('adf-pagination [aria-label="Next page button"]')
locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205
203 | }
204 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled();
> 205 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click();
| ^
206 | await this.spinnerWaitForReload();
207 | }
208 | }
at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:205:88)
at DataTableComponent.performActionFromExpandableMenu (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:142:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/manage-rules.spec.ts:51:5
|
[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#L1
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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.textContent at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:195:51
|
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items:
e2e/playwright/pagination/src/tests/personal-files.ts#L60
1) [Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
Error: expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 0
58 | expect(await personalFiles.pagination.getMaxItems()).toContain('25');
59 | expect(await personalFiles.pagination.getTotalPages()).toContain('of 3');
> 60 | expect(await personalFiles.pagination.menu.getItemsCount()).toBe(3);
| ^
61 |
62 | await personalFiles.pagination.openMaxItemsMenu();
63 | await personalFiles.pagination.menu.clickMenuItem('50');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:67
|
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 (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.
|
🎭 Playwright Run Summary
2 flaky
[Actions] › src/tests/create-file-from-template.spec.ts:142:11 › Create file from template › Personal Files page › Select Template dialog › [C325045] Navigate through the templates list with folder hierarchy
[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
62 passed (6.6m)
|
🎭 Playwright Run Summary
3 flaky
[Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions
[Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition
[Folder Rules] › src/tests/manage-rules.spec.ts:50:7 › Rules - Manage Rules › [C691651] Disable an existing rule
|
🎭 Playwright Run Summary
21 passed (2.4m)
|
🎭 Playwright Run Summary
5 passed (30.0s)
|
🎭 Playwright Run Summary
1 flaky
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
6 passed (1.2m)
|
🎭 Playwright Run Summary
60 passed (5.7m)
|
🎭 Playwright Run Summary
16 passed (1.3m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
12.5 MB |
|
actionsAvailableFilesFolders
Expired
|
2.14 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.42 MB |
|
actionsAvailableSpecialPermissions
Expired
|
2.94 MB |
|
copyMoveActions
Expired
|
2.12 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
folder-rules
Expired
|
26 MB |
|
libraryActions
Expired
|
2.11 MB |
|
listViews,navigation
Expired
|
2.15 MB |
|
navigation
Expired
|
5.38 MB |
|
pagination
Expired
|
10.7 MB |
|
search
Expired
|
2.14 MB |
|
shareActions
Expired
|
2.14 MB |
|
special-permissions
Expired
|
5.08 MB |
|
uploadDownloadActions
Expired
|
2.24 MB |
|
viewer
Expired
|
37.7 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.14 MB |
|