mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-3996] Libraries list is not re-ordered in ACA as it is in ADW (#1721)
* reorder libraries sections * update e2e * e2e update * e2e update
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
@@ -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 () => {
|
||||
|
Reference in New Issue
Block a user