e2e bug fixes and code cleanup #2068
Annotations
10 errors and 1 notice
|
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/other-permissions.ts:285:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]
Error: Expected to contain Remove Favorite Cancel Editing,Favorite,Copy,Manage Versions,Permissions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:287:7
|
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
2) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Test timeout of 45000ms exceeded.
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
2) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: locator.waitFor: Page closed
=========================== logs ===========================
waiting for locator('.mat-menu-content')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57
55 |
56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> {
> 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' });
| ^
58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item');
59 | let actualMoreActions: string[] = await Promise.all(
60 | menus.map(async (button) => {
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50)
at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
|
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
2) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Pending operations:
- locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
3) [special-permissions] › src/tests/other-permissions.ts:166:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Shared Files - [C297658]
Error: Expected to contain Remove Favorite Cancel Editing,Upload New Version,Favorite,Copy,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:168:9
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
4) [special-permissions] › src/tests/other-permissions.ts:275:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]
Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:277:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
4) [special-permissions] › src/tests/other-permissions.ts:275:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Expected to contain Remove Favorite Upload New Version,Favorite,Move,Copy,Delete,Manage Versions
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
at MatMenuComponent.verifyActualMoreActions (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66:104)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:38:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:277:7
|
|
1 failed
[special-permissions] › src/tests/other-permissions.ts:285:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Search Results - [C297667]
3 flaky
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
[special-permissions] › src/tests/other-permissions.ts:166:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Shared Files - [C297658]
[special-permissions] › src/tests/other-permissions.ts:275:9 › Special permissions : › File locked by other user - user is manager › available actions : › on Favorites - [C297666]
4 skipped
56 passed (9.9m)
|
The logs for this run have expired and are no longer available.
Loading