[ACS-5639] fix viewer exclude test from protractor and playwright #1369
Triggered via pull request
September 22, 2023 15:54
Status
Failure
Total duration
1h 27m 27s
Artifacts
3
pull-request.yml
on: pull_request
Annotations
16 errors, 16 warnings, and 5 notices
[Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page:
e2e/playwright/navigation/src/tests/sidebar.spec.ts#L76
1) [Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page
Error: Sidebar not expanded
Expected: true
Received: false
74 | await searchPage.searchInput.getIconByName('close').click();
75 | await searchPage.sidenav.expandedSidenav.waitFor({ state: 'attached' });
> 76 | expect(await personalFiles.sidenav.isSidenavExpanded(), 'Sidebar not expanded').toBe(true);
| ^
77 | });
78 | });
79 |
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/navigation/src/tests/sidebar.spec.ts:76:85
|
[Navigation] › src/tests/single-click.spec.ts:73:9 › Single click on item name › on Personal Files › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files:
e2e/playwright/navigation/src/tests/single-click.spec.ts#L1
2) [Navigation] › src/tests/single-click.spec.ts:73:9 › Single click on item name › on Personal Files › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files
Error: {"error":{"errorKey":"Duplicate child name not allowed: folder1-1fi7a","statusCode":409,"briefSummary":"08223194 Duplicate child name not allowed: folder1-1fi7a","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)
|
[Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs:
e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs
Test timeout of 45000ms exceeded.
|
[Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L201
1) [Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs
Error: locator.click: Target closed
=========================== logs ===========================
waiting for locator('adf-pagination [aria-label="Next page button"]')
locator resolved to <button disabled="true" mat-icon-button="" ng-reflect-di…>…</button>
attempting click action
waiting for element to be visible, enabled and stable
element is not enabled - waiting...
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:201
199 | }
200 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).isEnabled();
> 201 | await this.pagination.getArrowLocatorFor(PaginationActionsType.NextPageSelector).click();
| ^
202 | await this.spinnerWaitForReload();
203 | }
204 | }
at DataTableComponent.goThroughPagesLookingForRowWithName (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:201:88)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/create-library.spec.ts:245:5
|
[Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs:
e2e/playwright/actions/src/tests/create-library.spec.ts#L1
1) [Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:201:88
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L166
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-datatable-cell-value[role="link"]').filter({ hasText: 'file-docx-vfppy' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166
164 | */
165 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 166 | await this.getCellLinkByName(name).click();
| ^
167 | await this.spinnerWaitForReload();
168 | }
169 |
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:166:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:88:37
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166:40
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L166
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-datatable-cell-value[role="link"]').filter({ hasText: 'file-docx-mfqzv' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166
164 | */
165 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 166 | await this.getCellLinkByName(name).click();
| ^
167 | await this.spinnerWaitForReload();
168 | }
169 |
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:166:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:88:37
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166:40
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts#L166
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-datatable .adf-datatable-cell-value[role="link"]').filter({ hasText: 'file-docx-1lnbz' })
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166
164 | */
165 | async performClickFolderOrFileToOpen(name: string): Promise<void> {
> 166 | await this.getCellLinkByName(name).click();
| ^
167 | await this.spinnerWaitForReload();
168 | }
169 |
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:166:40)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:88:37
|
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
1) [Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at projects/aca-playwright-shared/src/page-objects/components/dataTable/data-table.component.ts:166:40
|
[Viewer] › src/tests/viewer.spec.ts:94:7 › viewer file › [C279175] Viewer opens for a file from Search Results:
e2e/playwright/viewer/src/tests/viewer.spec.ts#L1
2) [Viewer] › src/tests/viewer.spec.ts:94:7 › viewer file › [C279175] Viewer opens for a file from Search Results
Test timeout of 45000ms exceeded.
|
Finalize
Process completed with exit code 1.
|
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: actionsAvailableLibraries,actionsAvailableNewMenu
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: editActions,favoriteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: deleteActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: libraryActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: createActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: copyMoveActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: listViews,navigation
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: shareActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: pagination
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: uploadDownloadActions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: search
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: viewer,infoDrawer,extensions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: actionsAvailableFilesFolders
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
E2e test suites: actionsAvailableSpecialPermissions
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
6 passed (41.5s)
|
🎭 Playwright Run Summary
3 passed (47.3s)
|
🎭 Playwright Run Summary
2 flaky
[Navigation] › src/tests/sidebar.spec.ts:72:7 › Sidebar › [C277224] sidenav returns to the default state when navigating away from the Search Results page
[Navigation] › src/tests/single-click.spec.ts:73:9 › Single click on item name › on Personal Files › [C280034] Navigate inside the folder when clicking the hyperlink on Personal Files
14 passed (1.9m)
|
🎭 Playwright Run Summary
1 flaky
[Actions] › src/tests/create-library.spec.ts:233:7 › Create Libraries › [C280030] Create 2 libraries with same name but different IDs
19 passed (3.8m)
|
🎭 Playwright Run Summary
3 failed
[Viewer] › src/tests/viewer.spec.ts:83:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
[Viewer] › src/tests/viewer.spec.ts:94:7 › viewer file › [C279175] Viewer opens for a file from Search Results
[Viewer] › src/tests/viewer.spec.ts:115:7 › viewer file › [C284635] Viewer opens for a file from Shared Files
19 passed (7.5m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
2.78 MB |
|
navigation
Expired
|
1.33 MB |
|
viewer
Expired
|
17.3 MB |
|