[ACS-6510] playwright List View e2e test #1967
pull-request.yml
on: pull_request
Annotations
10 errors, 6 warnings, and 8 notices
[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: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
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
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Test timeout of 45000ms exceeded.
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L57
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: locator.waitFor: Page closed
=========================== logs ===========================
waiting for locator('.mat-menu-content')
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57
55 |
56 | async verifyActualMoreActions(expectedToolbarMore: string[]): Promise<void> {
> 57 | await this.page.locator('.mat-menu-content').waitFor({ state: 'attached' });
| ^
58 | let menus = await this.page.$$('.mat-menu-content .mat-menu-item');
59 | let actualMoreActions: string[] = await Promise.all(
60 | menus.map(async (button) => {
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:57:50)
at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
|
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]:
e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts#L1
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Pending operations:
- locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:57:50
|
[List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files:
e2e/playwright/list-views/src/tests/permissions.spec.ts#L101
1) [List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files
Error: Items are still displayed
Expected: true
Received: false
99 | await siteApiAdmin.deleteSiteMember(sitePrivate, username);
100 | await recentFilesPage.reload();
> 101 | expect(await recentFilesPage.dataTable.isEmpty(), 'Items are still displayed').toBe(true);
| ^
102 | });
103 |
104 | test('[C213227] on Favorites', async ({ favoritePage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/permissions.spec.ts:101:86
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Test timeout of 45000ms exceeded.
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L183
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'user-folder-1pz9f' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183
181 | */
182 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 183 | await this.getCellLinkByName(name).click();
| ^
184 | await this.spinnerWaitForReload();
185 | }
186 |
at DataTableComponent.performClickFolderOrFileToOpen (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/list-views/src/tests/personal-files.spec.ts:72:37
|
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar:
e2e/playwright/list-views/src/tests/personal-files.spec.ts#L1
2) [List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:183:40
|
[List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site:
e2e/playwright/list-views/src/tests/shared-files.spec.ts#L1
3) [List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site
Error: {"error":{"errorKey":"Person 'user-1m53c' already exists.","statusCode":409,"briefSummary":"112119150 Person 'user-1m53c' already exists.","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: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (pagination, 7)
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
5 passed (24.0s)
|
🎭 Playwright Run Summary
3 passed (29.6s)
|
🎭 Playwright Run Summary
16 passed (1.1m)
|
🎭 Playwright Run Summary
11 passed (2.3m)
|
🎭 Playwright Run Summary
1 flaky
[Viewer] › src/tests/viewer.spec.ts:56:7 › viewer file › [C279269] Viewer opens on double clicking on a file from Personal Files
20 passed (3.4m)
|
🎭 Playwright Run Summary
1 flaky
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
63 passed (6.2m)
|
🎭 Playwright Run Summary
3 flaky
[List Views] › src/tests/permissions.spec.ts:96:9 › Special permissions › file not displayed if user no longer has permissions on it › [C213173] on Recent Files
[List Views] › src/tests/personal-files.spec.ts:71:9 › Personal Files › Regular user's personal files › [C213245] redirects to Personal Files on clicking the link from sidebar
[List Views] › src/tests/shared-files.spec.ts:124:7 › Shared Files › [C280491] Location column redirect - file in site
56 passed (8.7m)
|
🎭 Playwright Run Summary
83 passed (9.8m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
list-views
Expired
|
3.43 MB |
|
listViews
Expired
|
2.12 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
3.12 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
9.43 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.2 MB |
|