Use latest JS-API and ADF #1602
pull-request.yml
on: pull_request
Annotations
10 errors, 13 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#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-bjsyxb' })
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:
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-slqpxlg' })
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
|
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home:
e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts#L55
1) [Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 0
Array [
"Personal Files",
- "User Homes",
- "userAdmin-hq2us",
"userFolder-1nmcn",
]
53 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${userFolderId}` });
54 | personalFiles.breadcrumb.getItemByTitle(username).waitFor({ state: 'attached' });
> 55 | expect(await personalFiles.breadcrumb.getAllItems()).toEqual(['Personal Files', 'User Homes', username, userFolder]);
| ^
56 | });
57 | });
58 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/breadcrumb-admin.spec.ts:55:58
|
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
"beforeAll" hook timeout of 45000ms exceeded.
34 | let fileDocxId: string;
35 |
> 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => {
| ^
37 | await apiClientFactory.setUpAcaBackend('***');
38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' });
39 | folderId = node.entry.id;
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
|
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
2) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts#L53
2) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Error: locator.waitFor: Target page, context or browser has been closed
at ../../../projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:53
51 |
52 | async waitForViewerToOpen(): Promise<void> {
> 53 | await this.viewerLocator.waitFor({ state: 'visible', timeout: timeouts.medium });
| ^
54 | }
55 |
56 | async isViewerOpened(): Promise<boolean> {
at ViewerComponent.waitForViewerToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:53:30)
at ViewerComponent.isViewerOpened (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:57:16)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:90:41
|
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
2) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Pending operations:
- locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/base.component.ts:59:55
|
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
2) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
"beforeAll" hook timeout of 45000ms exceeded.
34 | let fileDocxId: string;
35 |
> 36 | test.beforeAll(async ({ fileAction, shareAction, favoritesPageAction }) => {
| ^
37 | await apiClientFactory.setUpAcaBackend('***');
38 | const node = await apiClientFactory.nodes.createNode('-my-', { name: randomFolderName, nodeType: 'cm:folder', relativePath: '/' });
39 | folderId = node.entry.id;
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:36:8
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L181
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L310
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L319
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L332
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L379
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L398
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L592
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L596
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L602
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
lint:
projects/aca-shared/rules/src/app.rules.ts#L629
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
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 (actions, 1)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 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
6 passed (46.0s)
|
🎭 Playwright Run Summary
1 flaky
[Navigation] › src/tests/breadcrumb-admin.spec.ts:52:7 › as admin › [C260970] Breadcrumb on navigation to a user's home
15 passed (2.2m)
|
🎭 Playwright Run Summary
36 passed (5.7m)
|
🎭 Playwright Run Summary
42 passed (5.8m)
|
🎭 Playwright Run Summary
2 flaky
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
19 passed (5.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
23.8 MB |
|
actionsAvailableFilesFolders
Expired
|
3.32 MB |
|
actionsAvailableLibraries,actionsAvailableNewMenu
Expired
|
2.21 MB |
|
actionsAvailableSpecialPermissions
Expired
|
3.22 MB |
|
copyMoveActions
Expired
|
2.36 MB |
|
createActions
Expired
|
2.18 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.29 MB |
|
folder-rules
Expired
|
13.7 MB |
|
libraryActions
Expired
|
2.13 MB |
|
listViews,navigation
Expired
|
2.14 MB |
|
navigation
Expired
|
689 KB |
|
pagination
Expired
|
2.11 MB |
|
search
Expired
|
2.12 MB |
|
shareActions
Expired
|
2.27 MB |
|
special-permissions
Expired
|
12.4 MB |
|
uploadDownloadActions
Expired
|
2.13 MB |
|
viewer
Expired
|
2.78 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.16 MB |
|