[MNT-23433] Close Preview button position #1879
pull-request.yml
on: pull_request
Annotations
17 errors, 14 warnings, and 7 notices
E2e test suites: viewer,infoDrawer,extensions
Process completed with exit code 1.
|
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries:
e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L280
1) [Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-Am-library-rj4fm' }).locator('[title="Consumer"]')
278 | await adminSitesApi.approveSiteMembershipRequest(adminModerateLibrary1, username2);
279 | await favoriteLibrariesPage.navigate();
> 280 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary1, consumerRole)).toBeVisible();
| ^
281 | });
282 |
283 | test('[C290110] Leave a library from Favorite Libraries', async ({ favoriteLibrariesPage }) => {
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:280:101
|
[Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results:
e2e/playwright/actions/src/tests/library/library-actions.spec.ts#L383
2) [Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results
Error: Timed out 5000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 5000ms
- waiting for locator('adf-datatable adf-datatable-row').filter({ hasText: 'playwright-Am-library-1pw4h' }).locator('[title="Not a member"]')
381 | await searchPage.navigate({ remoteUrl: `#/search-libraries;q=${adminModerateLibrary4}` });
382 | await searchPage.reload({ waitUntil: loadString });
> 383 | await expect(libraryTable.getCellByColumnNameAndRowItem(adminModerateLibrary4, notMemberString)).toBeVisible();
| ^
384 | await libraryTable.performActionFromExpandableMenu(adminModerateLibrary4, cancelJoinRequestButton);
385 | await expect.soft(snackBar.getByMessageLocator(cancelJoinRequestMessage)).toBeVisible();
386 | const hasJoinRequest = await user2SitesApi.hasMembershipRequest(username2, adminModerateLibrary4);
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/actions/src/tests/library/library-actions.spec.ts:383:104
|
[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#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
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
|
[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#L66
1) [special-permissions] › src/tests/folders-actions.spec.ts:102:9 › Folders - available actions : › on Personal Files : › multiple folders - [C280459]
Error: Expected to contain Favorite
Expected: true
Received: false
at ../../../projects/aca-playwright-shared/src/page-objects/components/dataTable/mat-menu.component.ts:66
64 | );
65 | for (const action of expectedToolbarMore) {
> 66 | expect(actualMoreActions.includes(action), `Expected to contain ${action} ${actualMoreActions}`).toBe(true);
| ^
67 | }
68 | }
69 | }
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:66:104)
at checkMultipleSelActionsAvailable (/home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:53:5)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/special-permissions-actions-available/src/tests/folders-actions.spec.ts:107:7
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L93
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-viewer .adf-viewer-close-button')
============================================================
91 | await expect(myLibrariesPage.snackBar.getByMessageLocator('Moved 1 item')).toBeVisible();
92 |
> 93 | await myLibrariesPage.viewer.closeButtonLocator.click();
| ^
94 | await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).waitFor({ state: 'detached' });
95 | expect(await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).isVisible(), 'Item was not moved').toBe(false);
96 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${destinationId}` });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Pending operations:
- locator.click at e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L93
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-viewer .adf-viewer-close-button')
============================================================
91 | await expect(myLibrariesPage.snackBar.getByMessageLocator('Moved 1 item')).toBeVisible();
92 |
> 93 | await myLibrariesPage.viewer.closeButtonLocator.click();
| ^
94 | await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).waitFor({ state: 'detached' });
95 | expect(await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).isVisible(), 'Item was not moved').toBe(false);
96 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${destinationId}` });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 45000ms exceeded.
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L93
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.click: Page closed
=========================== logs ===========================
waiting for locator('adf-viewer .adf-viewer-close-button')
============================================================
91 | await expect(myLibrariesPage.snackBar.getByMessageLocator('Moved 1 item')).toBeVisible();
92 |
> 93 | await myLibrariesPage.viewer.closeButtonLocator.click();
| ^
94 | await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).waitFor({ state: 'detached' });
95 | expect(await myLibrariesPage.dataTable.getRowByName(xlsxLibraries).isVisible(), 'Item was not moved').toBe(false);
96 | await personalFiles.navigate({ remoteUrl: `#/personal-files/${destinationId}` });
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries:
e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts#L1
1) [Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.click at e2e/playwright/viewer/src/tests/viewer-useraction.spec.ts:93:53
|
[Viewer] › src/tests/viewer.spec.ts:68:7 › viewer file › [C279283] The viewer general elements are displayed:
projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts#L61
2) [Viewer] › src/tests/viewer.spec.ts:68:7 › viewer file › [C279283] The viewer general elements are displayed
TimeoutError: locator.waitFor: Timeout 2000ms exceeded.
=========================== logs ===========================
waiting for locator('adf-viewer .adf-viewer-close-button') to be visible
============================================================
at ../../../projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:61
59 |
60 | async isCloseButtonDisplayed(): Promise<boolean> {
> 61 | await this.closeButtonLocator.waitFor({ state: 'visible', timeout: timeouts.normal });
| ^
62 | return await this.closeButtonLocator.isEnabled({ timeout: timeouts.normal });
63 | }
64 |
at ViewerComponent.isCloseButtonDisplayed (/home/runner/work/alfresco-content-app/alfresco-content-app/projects/aca-playwright-shared/src/page-objects/components/viewer.component.ts:61:35)
at /home/runner/work/alfresco-content-app/alfresco-content-app/e2e/playwright/viewer/src/tests/viewer.spec.ts:72:39
|
Finalize
Process completed with exit code 1.
|
lint:
app/src/main.ts#L35
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Cproperties"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Callowable"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.spec.ts#L90
Unknown word: "Cpermissions"
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L133
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
lint:
projects/aca-content/folder-rules/src/manage-rules/manage-rules.smart-component.ts#L287
Promise returned in function argument where a void return was expected
|
lint:
projects/aca-content/folder-rules/src/mock/action-parameter-constraints.mock.ts#L71
Unknown word: "tagscope"
|
lint:
projects/aca-content/folder-rules/src/mock/action-parameter-constraints.mock.ts#L103
Unknown word: "generalclassifiable"
|
lint:
projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.ts#L95
Unknown word: "tagscope"
|
lint:
projects/aca-content/folder-rules/src/rule-details/actions/rule-action.ui-component.ts#L96
Unknown word: "generalclassifiable"
|
E2e test suites: copyMoveActions
No files were found with the provided path: e2e-output/. 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 (authentication, 4)
No files were found with the provided path: test-results/. No artifacts will be uploaded.
|
🎭 Playwright Run Summary
3 passed (31.2s)
|
🎭 Playwright Run Summary
2 flaky
[Actions] › src/tests/library/library-actions.spec.ts:271:9 › Library actions › Favorite Libraries page › [C290109] Join a moderated library from Favorite Libraries
[Actions] › src/tests/library/library-actions.spec.ts:379:9 › Library actions › Search Page › [C306962] Cancel join from Search Results
81 passed (9.6m)
|
🎭 Playwright Run Summary
16 passed (1.2m)
|
🎭 Playwright Run Summary
5 passed (18.1s)
|
🎭 Playwright Run Summary
2 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
11 passed (3.3m)
|
🎭 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.5m)
|
🎭 Playwright Run Summary
7 failed
[Viewer] › src/tests/viewer-useraction.spec.ts:78:7 › from File Libraries › [C286371] Move action from File Libraries
[Viewer] › src/tests/viewer.spec.ts:68:7 › viewer file › [C279283] The viewer general elements are displayed
[Viewer] › src/tests/viewer.spec.ts:76:7 › viewer file › [C279271] Close the viewer ────────────
[Viewer] › src/tests/viewer.spec.ts:84:7 › viewer file › [C284636] Viewer opens for a file from Recent Files
[Viewer] › src/tests/viewer.spec.ts:95:7 › viewer file › [C279175] Viewer opens for a file from Search Results
[Viewer] › src/tests/viewer.spec.ts:116:7 › viewer file › [C284635] Viewer opens for a file from Shared Files
[Viewer] › src/tests/viewer.spec.ts:126:7 › viewer file › [C284634] Viewer opens for a file from Favorites
14 passed (7.6m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
actions
Expired
|
5.76 MB |
|
deleteActions
Expired
|
2.14 MB |
|
editActions,favoriteActions
Expired
|
2.13 MB |
|
listViews
Expired
|
2.1 MB |
|
pagination
Expired
|
5.37 MB |
|
search
Expired
|
2.27 MB |
|
shareActions
Expired
|
2.18 MB |
|
special-permissions
Expired
|
2.71 MB |
|
uploadDownloadActions
Expired
|
2.12 MB |
|
viewer
Expired
|
41.3 MB |
|
viewer,infoDrawer,extensions
Expired
|
2.24 MB |
|