[ACS-6269] create file from template tests #1674
Annotations
5 errors and 1 notice
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
|
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.
|
projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts#L52
2) [Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Error: locator.waitFor: Target closed
=========================== logs ===========================
waiting for locator('adf-viewer .adf-viewer-render-layout-content') to be visible
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:52
50 |
51 | async waitForViewerToOpen(): Promise<void> {
> 52 | await this.viewerLocator.waitFor({ state: 'visible', timeout: timeouts.medium });
| ^
53 | }
54 |
55 | 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:52:30)
at ViewerComponent.isViewerOpened (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:56:16)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:90:41
|
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
|
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
|
|
The logs for this run have expired and are no longer available.
Loading