[ACS-5014] Migrated Copy Move actions E2Es from protractor to playwright #1873
pull-request.yml
on: pull_request
Annotations
5 errors, 7 warnings, and 7 notices
[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:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/personal-files.ts#L1
2) [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
Error: {"error":{"errorKey":"framework.exception.ApiDefault","statusCode":401,"briefSummary":"110610403 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/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages:
e2e/playwright/pagination/src/tests/personal-files.ts#L92
2) [Pagination] › src/tests/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toContain(expected) // indexOf
Expected substring: "Showing 1-25 of 51"
Received string: "Showing 26-50 of 51"
90 |
91 | await personalFiles.pagination.clickOnPreviousPage();
> 92 | expect(await personalFiles.pagination.getRange()).toContain('Showing 1-25 of 51');
| ^
93 | });
94 |
95 | test('[C280081] Previous button is disabled on first page', async ({ personalFiles }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/personal-files.ts:92:57
|
[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#L72
3) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
Error: expect(received).toContain(expected) // indexOf
Expected substring: "100"
Received string: "25"
70 | await favoritePage.pagination.openMaxItemsMenu();
71 | await favoritePage.pagination.clickMenuItem('100');
> 72 | expect(await favoritePage.pagination.getMaxItems()).toContain('100');
| ^
73 | expect(await favoritePage.pagination.getTotalPages()).toContain('of 1');
74 |
75 | await favoritePage.pagination.resetToDefaultPageSize();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:72:59
|
[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#L60
3) [Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 0
58 | expect(await favoritePage.pagination.getMaxItems()).toContain('25');
59 | expect(await favoritePage.pagination.getTotalPages()).toContain('of 3');
> 60 | expect(await favoritePage.pagination.getItemsCount()).toBe(3);
| ^
61 | await favoritePage.pagination.closeMenu();
62 |
63 | await favoritePage.pagination.openMaxItemsMenu();
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/pagination/src/tests/favorites.ts:60:61
|
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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: Playwright (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
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 (navigation, 5)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: Playwright (viewer, 3)
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.
|
🎭 Playwright Run Summary
83 passed (8.4m)
|
🎭 Playwright Run Summary
5 passed (21.3s)
|
🎭 Playwright Run Summary
3 passed (29.4s)
|
🎭 Playwright Run Summary
16 passed (1.1m)
|
🎭 Playwright Run Summary
21 passed (2.7m)
|
🎭 Playwright Run Summary
3 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/personal-files.ts:84:9 › Pagination on multiple pages : › on Personal Files › Pagination controls : › [C280083] navigate to next and previous pages
[Pagination] › src/tests/favorites.ts:55:9 › Pagination on multiple pages : › on Favorites › Pagination controls : › [C280115] current page menu items
10 passed (4.2m)
|
🎭 Playwright Run Summary
64 passed (5.4m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.16 MB |
|
pagination
Expired
|
12.4 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
19.8 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.18 MB |
|