Skip to content

[ACS-6066] viewer special permissions playwright #1413

[ACS-6066] viewer special permissions playwright

[ACS-6066] viewer special permissions playwright #1413

Triggered via pull request October 2, 2023 10:14
Status Success
Total duration 49m 28s
Artifacts 3

pull-request.yml

on: pull_request
Matrix: unit-tests
Matrix: E2e test suites: Playwright
Matrix: e2es
Finalize
4s
Finalize
Fit to window
Zoom out
Zoom in

Annotations

8 errors, 17 warnings, and 6 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#L1
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Test timeout of 45000ms exceeded.
[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: 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-qmh2xk' }) 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#L1
1) [Folder Rules] › src/tests/actions.spec.ts:54:7 › Folder Rules Actions › [C691637] Create a rule with actions Pending operations: - expect.soft.toBeVisible at 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: e2e/playwright/folder-rules/src/tests/conditions.spec.ts#L64
2) [Folder Rules] › src/tests/conditions.spec.ts:51:7 › Folder Rules Conditions › [C691638] Create a rule with condition Error: 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-llc1i9' }) 62 | await nodesPage.manageRulesDialog.createRuleButton.click(); 63 | > 64 | await expect.soft(nodesPage.manageRules.getGroupsList(randomRuleName)).toBeVisible(); | ^ 65 | }); 66 | }); 67 | at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/folder-rules/src/tests/conditions.spec.ts:64: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 Pending operations: - expect.soft.toBeVisible at e2e/playwright/folder-rules/src/tests/conditions.spec.ts:64:76
[Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action: projects/aca-playwright-shared/src/page-objects/pages/base.page.ts#L94
1) [Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action Error: page.reload: net::ERR_ABORTED; maybe frame was detached? =========================== logs =========================== waiting for navigation until "domcontentloaded" ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:94 92 | ...options 93 | }; > 94 | await this.page.reload(actualOptions); | ^ 95 | } 96 | } 97 | at PersonalFilesPage.reload (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/pages/base.page.ts:94:21) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-action.spec.ts:105:25
[special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666]: projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts#L47
1) [special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666] TimeoutError: locator.waitFor: Timeout 5000ms exceeded. =========================== logs =========================== waiting for locator('aca-page-layout .adf-datatable-row[role="row"]').filter({ hasText: 'file-1vc4g.txt' }) to be visible ============================================================ at ../../../projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts:47 45 | 46 | async performDoubleClickFolderOrFileToOpen(name: string): Promise<void> { > 47 | await this.getCellLinkByName(name).waitFor({ state: 'visible', timeout: timeouts.medium }); | ^ 48 | await this.getCellLinkByName(name).dblclick(); 49 | await this.spinnerWaitForReload(); 50 | } at SearchInputComponent.performDoubleClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/search/search-input.component.ts:47:40) at checkViewerActions (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:334:38) at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/viewer.ts:362:9
E2e test suites: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: editActions,favoriteActions
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 (actions, 1)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: deleteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: actionsAvailableLibraries,actionsAvailableNewMenu
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: libraryActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: copyMoveActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: createActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: listViews,navigation
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: uploadDownloadActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: pagination
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: shareActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: search
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: viewer,infoDrawer,extensions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: actionsAvailableSpecialPermissions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
E2e test suites: actionsAvailableFilesFolders
No files were found with the provided path: test-results/. No artifacts will be uploaded.
🎭 Playwright Run Summary
6 passed (39.3s)
🎭 Playwright Run Summary
16 passed (2.2m)
🎭 Playwright Run Summary
2 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 1 passed (1.6m)
🎭 Playwright Run Summary
20 passed (2.8m)
🎭 Playwright Run Summary
1 flaky [Viewer] › src/tests/viewer-action.spec.ts:94:7 › viewer action file › [C297584] Edit Offline action 21 passed (4.3m)
🎭 Playwright Run Summary
1 flaky [special-permissions] › src/tests/viewer.ts:361:11 › Special permissions : › Consumer › on Viewer › Consumer available actions : › file opened from Search Results › File simple - [C326666] 35 passed (5.8m)

Artifacts

Produced during runtime
Name Size
folder-rules Expired
11.7 MB
special-permissions Expired
2.36 MB
viewer Expired
1.44 MB