[ACS-6369] - ACA on multi select file/folder permisstion menu should not be shown #1957
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/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:105:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:105:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:105:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/folders-actions.spec.ts:110:9 › Folders - available actions : › on Personal Files : › both files and folders - [C280460]
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:113:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/folders-actions.spec.ts:110:9 › Folders - available actions : › on Personal Files : › both files and folders - [C280460]
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:113:7
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L66
2) [special-permissions] › src/tests/folders-actions.spec.ts:110:9 › Folders - available actions : › on Personal Files : › both files and folders - [C280460]
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: Expected to contain Permissions Download,Favorite,Move,Copy,Delete
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 /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:113:7
|
e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
3) [special-permissions] › src/tests/other-permissions.ts:186:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Search Results - [C297660]
Test timeout of 45000ms exceeded.
|
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L222
3) [special-permissions] › src/tests/other-permissions.ts:186:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Search Results - [C297660]
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'file-14acc-my-locked.txt' }).locator('[title="Size"]')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:222
220 | if (!isSelected) {
221 | let row = this.getRowByName(name);
> 222 | await row.locator('[title="Size"]').click();
| ^
223 | await row.locator('.adf-datatable-selected').waitFor({ state: 'attached' });
224 | }
225 | }
at DataTableComponent.selectItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:222:43)
at checkActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:35:3)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:188:9
|
3 failed
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
[special-permissions] › src/tests/folders-actions.spec.ts:110:9 › Folders - available actions : › on Personal Files : › both files and folders - [C280460]
[special-permissions] › src/tests/other-permissions.ts:186:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Search Results - [C297660]
2 flaky
[special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]
[special-permissions] › src/tests/other-permissions.ts:176:11 › Special permissions : › File locked - user is lock owner › available actions : › available actions in the file select : › on Favorites - [C297659]
12 skipped
47 passed (9.9m)
|
The logs for this run have expired and are no longer available.
Loading