Update branch for ADF 6.0.0-A.2-7992 and JS-API 5.4.0-561 [ci:force] (#2952)

* [ci:force][auto-commit] Update @alfresco/adf-extensions to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-core to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-content-services to 6.0.0-A.2-8156 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-cli to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 37793

* [ci:force][auto-commit] Update @alfresco/adf-testing to 6.0.0-A.2-7992 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 37793

* [AAE-10778] Fix viewer BC: replace adf-viewer with adf-alfresco-viewer

* Update @alfresco/adf-extensions and @alfresco/adf-content-services to 6.0.0-A.2-7992

* [AAE-10778] Fix viewer BC: fix Unit node effects unit tests, replace ViewUtilService with RenditionViewerService since method 'printFileGeneric' has been moved from ViewUtilService to RenditionViewerService

* Fix comments-tab unit test: provide a mock onLogout value

---------

Co-authored-by: Amedeo Lepore <amedeo.lepore@hyland.com>
This commit is contained in:
Alfresco Build
2023-02-02 11:07:02 +01:00
committed by GitHub
parent 567882e864
commit 704f0a8b65
17 changed files with 58 additions and 51 deletions

View File

@@ -181,7 +181,8 @@ describe('Share a file', () => {
expect(await page.getSnackBarMessage()).toBe('Link copied to the clipboard');
await browser.get(url);
expect(await viewer.isViewerOpened()).toBe(true, 'viewer is not open');
await viewer.waitForViewerToOpen();
expect(await viewer.getFileTitle()).toEqual(file4);
await page.load();

View File

@@ -163,7 +163,7 @@ describe('Unshare a file from Search Results', () => {
expect(await apis.user.nodes.isFileShared(file2Id)).toBe(false, `${file2} is shared`);
await browser.get(url);
expect(await viewer.isViewerOpened()).toBe(true, 'viewer is not open');
await viewer.waitForViewerToOpen();
expect(await viewer.getFileTitle()).not.toEqual(file2);
await page.load();
@@ -213,7 +213,7 @@ describe('Unshare a file from Search Results', () => {
expect(await apis.user.nodes.isFileShared(file4Id)).toBe(false, `${file4} is shared`);
await browser.get(url);
expect(await viewer.isViewerOpened()).toBe(true, 'viewer is not open');
await viewer.waitForViewerToOpen();
expect(await viewer.getFileTitle()).not.toEqual(file4);
await page.load();