diff --git a/e2e/suites/actions-available/special-permissions/other-permissions.ts b/e2e/suites/actions-available/special-permissions/other-permissions.ts index b1e0ce28d..7546e2147 100755 --- a/e2e/suites/actions-available/special-permissions/other-permissions.ts +++ b/e2e/suites/actions-available/special-permissions/other-permissions.ts @@ -43,7 +43,7 @@ export function collaboratorTests(siteName?: string) { }); it('on File Libraries - [C297647]', async () => { - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.doubleClickOnRowByName(siteName); await dataTable.waitForHeader(); @@ -85,7 +85,7 @@ export function collaboratorTests(siteName?: string) { describe('available actions in the viewer : ', () => { it('file opened from File Libraries - [C297654]', async () => { - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.doubleClickOnRowByName(siteName); await dataTable.waitForHeader(); @@ -170,7 +170,7 @@ export function filesLockedByCurrentUser(siteName?: string) { }); it('on File Libraries - [C297657]', async () => { - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.doubleClickOnRowByName(siteName); await dataTable.waitForHeader(); @@ -212,7 +212,7 @@ export function filesLockedByCurrentUser(siteName?: string) { describe('available actions in the viewer : ', () => { it('file opened from File Libraries - [C297661]', async () => { - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.doubleClickOnRowByName(siteName); await dataTable.waitForHeader(); diff --git a/e2e/suites/info-drawer/library-properties.test.ts b/e2e/suites/info-drawer/library-properties.test.ts index 235488dce..a6a8ec448 100755 --- a/e2e/suites/info-drawer/library-properties.test.ts +++ b/e2e/suites/info-drawer/library-properties.test.ts @@ -230,7 +230,7 @@ describe('Library properties', () => { it('[C289337] Info drawer button is not displayed when user is not the library manager', async () => { await loginPage.loginWith(user2); - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.selectItem(site.name); expect(await page.toolbar.isButtonPresent('View Details')).toBe(false, 'View Details is present'); }); @@ -238,7 +238,7 @@ describe('Library properties', () => { it('[C289344] Error notification', async () => { await loginPage.loginWith(user3); - await page.clickFileLibrariesAndWait(); + await page.goToMyLibrariesAndWait(); await dataTable.selectItem(site.name); await page.toolbar.viewDetailsButton.click(); await infoDrawer.waitForInfoDrawerToOpen(); diff --git a/e2e/suites/navigation/breadcrumb.test.ts b/e2e/suites/navigation/breadcrumb.test.ts index a4431f9ea..49273e938 100755 --- a/e2e/suites/navigation/breadcrumb.test.ts +++ b/e2e/suites/navigation/breadcrumb.test.ts @@ -138,7 +138,7 @@ describe('Breadcrumb', () => { await page.dataTable.doubleClickOnRowByName(parent); await page.dataTable.doubleClickOnRowByName(subFolder1); await page.dataTable.doubleClickOnRowByName(subFolder2); - const expectedItems = ['My Libraries', siteName, parent, subFolder1, subFolder2]; + const expectedItems = ['Favorite Libraries', siteName, parent, subFolder1, subFolder2]; expect(await breadcrumb.getAllItems()).toEqual(expectedItems); }); diff --git a/e2e/suites/navigation/sidebar.test.ts b/e2e/suites/navigation/sidebar.test.ts index c7f7e3d04..d4ece47c7 100755 --- a/e2e/suites/navigation/sidebar.test.ts +++ b/e2e/suites/navigation/sidebar.test.ts @@ -56,11 +56,11 @@ describe('Sidebar', () => { expect(await sidenav.getLink(SIDEBAR_LABELS.FAVORITE_LIBRARIES).isPresent()).toBe(true, 'Favorite Libraries link not present'); }); - it('[C289900] My Libraries is automatically selected on expanding File Libraries', async () => { + it('[C289900] Favorite Libraries is automatically selected on expanding File Libraries', async () => { await sidenav.expandFileLibraries(); - expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.MY_LIBRARIES); + expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.FAVORITE_LIBRARIES); expect(await sidenav.isActive(SIDEBAR_LABELS.FILE_LIBRARIES)).toBe(true, 'File Libraries is not active'); - expect(await sidenav.isActive(SIDEBAR_LABELS.MY_LIBRARIES)).toBe(true, 'My Libraries link not active'); + expect(await sidenav.isActive(SIDEBAR_LABELS.FAVORITE_LIBRARIES)).toBe(true, 'Favorite Libraries link not active'); }); it('[C289902] navigate to Favorite Libraries', async () => { diff --git a/src/assets/app.extensions.json b/src/assets/app.extensions.json index 3a4231114..171a67b75 100644 --- a/src/assets/app.extensions.json +++ b/src/assets/app.extensions.json @@ -184,19 +184,19 @@ "title": "APP.BROWSE.LIBRARIES.SIDENAV_LINK.LABEL", "description": "APP.BROWSE.LIBRARIES.SIDENAV_LINK.TOOLTIP", "children": [ - { - "id": "app.navbar.libraries.files", - "order": 100, - "title": "APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.SIDENAV_LINK.LABEL", - "description": "APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.SIDENAV_LINK.TOOLTIP", - "route": "libraries" - }, { "id": "app.navbar.libraries.favorite", - "order": 200, + "order": 100, "title": "APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.SIDENAV_LINK.LABEL", "description": "APP.BROWSE.LIBRARIES.MENU.FAVORITE_LIBRARIES.SIDENAV_LINK.TOOLTIP", "route": "favorite/libraries" + }, + { + "id": "app.navbar.libraries.files", + "order": 200, + "title": "APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.SIDENAV_LINK.LABEL", + "description": "APP.BROWSE.LIBRARIES.MENU.MY_LIBRARIES.SIDENAV_LINK.TOOLTIP", + "route": "libraries" } ] }