[ACS-6269] update create file from template tests #1948
pull-request.yml
on: pull_request
Annotations
21 errors, 5 warnings, and 8 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: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 ───────────
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
|
[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
|
[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
1) [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#L174
1) [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-rphra' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:174
172 | */
173 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 174 | await this.getCellLinkByName(name).click();
| ^
175 | await this.spinnerWaitForReload();
176 | }
177 |
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:174: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
1) [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:174:40
|
[List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder:
e2e/playwright/list-views/src/tests/recent-files.spec.ts#L1
2) [List Views] › src/tests/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder
Error: {"error":{"errorKey":"Person 'user-v57uf' already exists.","statusCode":409,"briefSummary":"11196538 Person 'user-v57uf' 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)
|
[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
|
[special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]:
e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
2) [special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]
Test timeout of 45000ms exceeded.
|
[special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L174
2) [special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'file-10p13-docx-shared-fav.docx' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:174
172 | */
173 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 174 | await this.getCellLinkByName(name).click();
| ^
175 | await this.spinnerWaitForReload();
176 | }
177 |
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:174:40)
at checkActionsViewerAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:47:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts:116:15
|
[special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]:
e2e/playwright/special-permissions-actions-available/src/tests/other-permissions.ts#L1
2) [special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:174:40
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the test suite to run
|
E2e test suites: Playwright (actions, 1)
Timed out waiting 600s for the teardown for test suite to run
|
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results:
e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L1
1) [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results:
projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts#L45
1) [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results
Error: locator.waitFor: Page closed
=========================== logs ===========================
waiting for locator('.mat-menu-content button').filter({ hasText: 'Remove Favorite' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:45
43 | async clickMenuItem(menuItem: string): Promise<void> {
44 | const menuElement = this.getButtonByText(menuItem);
> 45 | await menuElement.waitFor({ state: 'attached' });
| ^
46 | await menuElement.click();
47 | await menuElement.waitFor({ state: 'detached' });
48 | }
at MatMenuComponent.clickMenuItem (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:45:23)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:420:25
|
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results:
e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L1
1) [Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results
Pending operations:
- locator.waitFor at projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:45:23
|
[Actions] › src/tests/create/create-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name:
e2e/playwright/actions/src/tests/create/create-folder.spec.ts#L168
2) [Actions] › src/tests/create/create-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name, title and description
Error: Timed out 5000ms waiting for expect(received).toHaveAttribute(expected)
- Expected string - 1
+ Received string + 1
- folder-title-1g4mw
+ playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69
Call log:
- expect.toHaveAttribute with timeout 5000ms
- waiting for locator('adf-datatable .adf-cell-value span').filter({ hasText: 'playwright-folder-d46zr' })
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-d46zrfolder-title-1g4mw </span>
- unexpected value "playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-d46zrfolder-title-1g4mw </span>
- unexpected value "playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-d46zrfolder-title-1g4mw </span>
- unexpected value "playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-d46zrfolder-title-1g4mw </span>
- unexpected value "playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69"
- locator resolved to <span role="link" tabindex="0" class="adf-datatable-ce…> playwright-folder-d46zrfolder-title-1g4mw </span>
- unexpected value "playwright-folder-d46zrfolder-title-1g4mw
folder-description-3vw69"
166 | await folderDialog.createNewFolderDialog(randomFolderName, randomFolderTitle, randomFolderDescription);
167 |
> 168 | await expect(folderTable.getCellLinkByName(randomFolderName)).toHaveAttribute('title', randomFolderTitle + `\n` + randomFolderDescription);
| ^
169 | });
170 |
171 | test('[C216351] Folder created after trimmed ending spaces from a folder name', async () => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create/create-folder.spec.ts:168:69
|
E2e test suites: Playwright (actions, 1)
Process completed with exit code 1.
|
Finalize
Process completed with exit code 1.
|
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.
|
🎭 Playwright Run Summary
5 passed (21.5s)
|
🎭 Playwright Run Summary
3 passed (29.4s)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
11 passed (2.1m)
|
🎭 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.9m)
|
🎭 Playwright Run Summary
2 flaky
[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/recent-files.spec.ts:110:7 › Recent Files › [C280486] Location column redirect - file in folder
35 passed (5.8m)
|
🎭 Playwright Run Summary
2 flaky
[special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
[special-permissions] › src/tests/other-permissions.ts:114:11 › Special permissions : › Collaborator › available actions : › available actions in the viewer : › file opened from Shared Files - [C297655]
62 passed (7.5m)
|
🎭 Playwright Run Summary
1 failed
[Actions] › src/tests/library/library-actions.spec.ts:407:9 › Library actions › Search Page › [C306964] Remove library from favorites from Search Results
1 flaky
[Actions] › src/tests/create/create-folder.spec.ts:165:9 › Create folders › On Personal Files dataTable › [C216340] Create a folder with name, title and description
2 skipped
79 passed (9.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
5.72 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
list-views
Expired
|
1.95 MB |
|
listViews
Expired
|
2.1 MB |
|
search
Expired
|
2.1 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
4.37 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
14.2 KB |
|
viewer,infoDrawer,extensions
Expired
|
2.19 MB |
|