[ACS-6443] cleanup for redundant e2es and unused methods #1845
pull-request.yml
on: pull_request
Annotations
9 errors, 5 warnings, and 6 notices
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
1) [Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ───────────
"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:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L36
2) [Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
"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
|
[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.getItemsCount()).toBe(3);
| ^
61 |
62 | await personalFiles.pagination.openMaxItemsMenu();
63 | await personalFiles.pagination.clickMenuItem('50');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:62
|
[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
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
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.getItemsCount()).toBe(3);
| ^
61 |
62 | await personalFiles.pagination.openMaxItemsMenu();
63 | await personalFiles.pagination.clickMenuItem('50');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:60:62
|
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items:
e2e/playwright/pagination/src/tests/favorites.ts#L1
2) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"103033073 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.delete","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
[Pagination] › src/tests/favorites.ts:87:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/favorites.ts#L92
3) [Pagination] › src/tests/favorites.ts:87:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 26-50 of 51"
Received string: "Showing 1-25 of 51"
90 | expect(await favoritePage.pagination.getMaxItems()).toContain('25');
91 | await favoritePage.pagination.clickOnNextPage();
> 92 | expect(await favoritePage.pagination.getRange()).toContain('Showing 26-50 of 51');
| ^
93 |
94 | await favoritePage.pagination.clickOnPreviousPage();
95 | expect(await favoritePage.pagination.getRange()).toContain('Showing 1-25 of 51');
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:92:56
|
[Pagination] › src/tests/favorites.ts:98:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280118] Next button is disabled on last page:
e2e/playwright/pagination/src/tests/favorites.ts#L1
4) [Pagination] › src/tests/favorites.ts:98:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280118] Next button is disabled on last page
Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"103033125 Authentication failed for Web Script org/alfresco/api/ResourceWebScript.delete","stackTrace":"For security reasons the stack trace is no longer displayed, but the property is kept for previous versions","descriptionURL":"https://api-explorer.alfresco.com"}}
at Request.callback (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:901:17)
at fn (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/index.js:1166:18)
at IncomingMessage.<anonymous> (/home/runner/work/alfresco-content-app/alfresco-content-app/node_modules/superagent/src/node/parsers/json.js:19:7)
|
E2e test suites: Playwright (actions, 1)
Canceling since a higher priority waiting request for 'Pull request-refs/pull/3547/merge' exists
|
Finalize
Process completed with exit code 1.
|
E2e test suites: Playwright (folder-rules, 2)
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 (navigation, 5)
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)
Runner GitHub Actions 13 did not respond to a cancelation request with 00:05:00.
|
🎭 Playwright Run Summary
3 passed (27.5s)
|
🎭 Playwright Run Summary
5 passed (18.6s)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
2 flaky
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ────────────
[Viewer] › src/tests/viewer.spec.ts:108:7 › viewer file › [C279285] Viewer opens when accessing the preview URL for a file
19 passed (3.5m)
|
🎭 Playwright Run Summary
4 flaky
[Pagination] › src/tests/personal-files.ts:55:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280079] current page menu items
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
[Pagination] › src/tests/favorites.ts:87:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280119] navigate to next and previous pages
[Pagination] › src/tests/favorites.ts:98:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280118] Next button is disabled on last page
9 passed (4.1m)
|
🎭 Playwright Run Summary
64 passed (6.2m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
copyMoveActions
Expired
|
2.16 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.11 MB |
|
pagination
Expired
|
8.76 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
9.44 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.11 MB |
|