mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
fix naming for e2e (#1418)
This commit is contained in:
@@ -83,49 +83,49 @@ describe('Breadcrumb', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Personal Files breadcrumb main node - [C260964]', async () => {
|
||||
it('[C260964] Personal Files breadcrumb main node', async () => {
|
||||
await page.clickPersonalFiles();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Personal Files');
|
||||
});
|
||||
|
||||
it('My Libraries breadcrumb main node - [C260966]', async () => {
|
||||
it('[C260966] My Libraries breadcrumb main node', async () => {
|
||||
await page.goToMyLibrariesAndWait();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('My Libraries');
|
||||
});
|
||||
|
||||
it('Favorite Libraries breadcrumb main node - [C289891]', async () => {
|
||||
it('[C289891] Favorite Libraries breadcrumb main node', async () => {
|
||||
await page.goToFavoriteLibrariesAndWait();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Favorite Libraries');
|
||||
});
|
||||
|
||||
it('Recent Files breadcrumb main node - [C260971]', async () => {
|
||||
it('[C260971] Recent Files breadcrumb main node', async () => {
|
||||
await page.clickRecentFiles();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Recent Files');
|
||||
});
|
||||
|
||||
it('Shared Files breadcrumb main node - [C260972]', async () => {
|
||||
it('[C260972] Shared Files breadcrumb main node', async () => {
|
||||
await page.clickSharedFiles();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Shared Files');
|
||||
});
|
||||
|
||||
it('Favorites breadcrumb main node - [C260973]', async () => {
|
||||
it('[C260973] Favorites breadcrumb main node', async () => {
|
||||
await page.clickFavorites();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Favorites');
|
||||
});
|
||||
|
||||
it('Trash breadcrumb main node - [C260974]', async () => {
|
||||
it('[C260974] Trash breadcrumb main node', async () => {
|
||||
await page.clickTrash();
|
||||
expect(await breadcrumb.getItemsCount()).toEqual(1, 'Breadcrumb has incorrect number of items');
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe('Trash');
|
||||
});
|
||||
|
||||
it('Personal Files breadcrumb for a folder hierarchy - [C260965]', async () => {
|
||||
it('[C260965] Personal Files breadcrumb for a folder hierarchy', async () => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(parent);
|
||||
await page.dataTable.doubleClickOnRowByName(subFolder1);
|
||||
@@ -134,7 +134,7 @@ describe('Breadcrumb', () => {
|
||||
expect(await breadcrumb.getAllItems()).toEqual(expectedBreadcrumb);
|
||||
});
|
||||
|
||||
it('File Libraries breadcrumb for a folder hierarchy - [C260967]', async () => {
|
||||
it('[C260967] File Libraries breadcrumb for a folder hierarchy', async () => {
|
||||
await page.clickFileLibrariesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(siteName);
|
||||
await page.dataTable.doubleClickOnRowByName(parent);
|
||||
@@ -144,7 +144,7 @@ describe('Breadcrumb', () => {
|
||||
expect(await breadcrumb.getAllItems()).toEqual(expectedItems);
|
||||
});
|
||||
|
||||
it('User can navigate to any location by clicking on a step from the breadcrumb - [C213235]', async () => {
|
||||
it('[C213235] User can navigate to any location by clicking on a step from the breadcrumb', async () => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(parent);
|
||||
await page.dataTable.doubleClickOnRowByName(subFolder1);
|
||||
@@ -154,7 +154,7 @@ describe('Breadcrumb', () => {
|
||||
expect(await breadcrumb.getAllItems()).toEqual(expectedBreadcrumb);
|
||||
});
|
||||
|
||||
it('Tooltip appears on hover on a step in breadcrumb - [C213237]', async () => {
|
||||
it('[C213237] Tooltip appears on hover on a step in breadcrumb', async () => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(parent);
|
||||
await page.dataTable.doubleClickOnRowByName(subFolder1);
|
||||
@@ -162,7 +162,7 @@ describe('Breadcrumb', () => {
|
||||
expect(await breadcrumb.getNthItemTooltip(3)).toEqual(subFolder1);
|
||||
});
|
||||
|
||||
it('Breadcrumb updates correctly when folder is renamed - [C213238]', async () => {
|
||||
it('[C213238] Breadcrumb updates correctly when folder is renamed', async () => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(parent2);
|
||||
await page.dataTable.doubleClickOnRowByName(folder1);
|
||||
@@ -173,7 +173,7 @@ describe('Breadcrumb', () => {
|
||||
expect(await breadcrumb.getCurrentItemName()).toEqual(folder1Renamed);
|
||||
});
|
||||
|
||||
it('Browser back navigates to previous location regardless of breadcrumb steps - [C213240]', async () => {
|
||||
it('[C213240] Browser back navigates to previous location regardless of breadcrumb steps', async () => {
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.doubleClickOnRowByName(parent);
|
||||
await page.dataTable.doubleClickOnRowByName(subFolder1);
|
||||
@@ -202,7 +202,7 @@ describe('Breadcrumb', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it(`Breadcrumb on navigation to a user's home - [C260970]`, async () => {
|
||||
it(`[C260970] Breadcrumb on navigation to a user's home`, async () => {
|
||||
await page.dataTable.doubleClickOnRowByName('User Homes');
|
||||
await page.dataTable.doubleClickOnRowByName(user2);
|
||||
expect(await breadcrumb.getAllItems()).toEqual([ 'Personal Files', 'User Homes', user2 ]);
|
||||
|
@@ -46,70 +46,70 @@ describe('Sidebar', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('has "Personal Files" as default - [C217149]', async () => {
|
||||
it('[C217149] has "Personal Files" as default', async () => {
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.PERSONAL_FILES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.PERSONAL_FILES)).toBe(true, 'Default active link');
|
||||
});
|
||||
|
||||
it('File Libraries has correct sub-categories - [C217150]', async () => {
|
||||
it('[C217150] File Libraries has correct sub-categories', async () => {
|
||||
await page.clickFileLibraries();
|
||||
expect(await sidenav.isFileLibrariesMenuExpanded()).toBe(true, 'File Libraries not expanded');
|
||||
expect(await sidenav.getLink(SIDEBAR_LABELS.MY_LIBRARIES).isPresent()).toBe(true, 'My Libraries link not present');
|
||||
expect(await sidenav.getLink(SIDEBAR_LABELS.FAVORITE_LIBRARIES).isPresent()).toBe(true, 'Favorite Libraries link not present');
|
||||
});
|
||||
|
||||
it('My Libraries is automatically selected on expanding File Libraries - [C289900]', async () => {
|
||||
it('[C289900] My Libraries is automatically selected on expanding File Libraries', async () => {
|
||||
await sidenav.expandFileLibraries();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.MY_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');
|
||||
});
|
||||
|
||||
it('navigate to Favorite Libraries - [C289902]', async () => {
|
||||
it('[C289902] navigate to Favorite Libraries', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.FAVORITE_LIBRARIES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.FILE_LIBRARIES)).toBe(true, 'File Libraries link is not active');
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.FAVORITE_LIBRARIES)).toBe(true, 'Favorite Libraries link not active');
|
||||
});
|
||||
|
||||
it('navigate to My Libraries - [C289901]', async () => {
|
||||
it('[C289901] navigate to My Libraries', async () => {
|
||||
await page.goToMyLibraries();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.MY_LIBRARIES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.FILE_LIBRARIES)).toBe(true, 'File Libraries link is not active');
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.MY_LIBRARIES)).toBe(true, 'My Libraries link not active');
|
||||
});
|
||||
|
||||
it('navigates to "Shared Files" - [C213110]', async () => {
|
||||
it('[C213110] navigates to "Shared Files"', async () => {
|
||||
await page.clickSharedFiles();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.SHARED_FILES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.SHARED_FILES)).toBe(true, 'Shared Files link not active');
|
||||
});
|
||||
|
||||
it('navigates to "Recent Files" - [C213166]', async () => {
|
||||
it('[C213166] navigates to "Recent Files"', async () => {
|
||||
await page.clickRecentFiles();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.RECENT_FILES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.RECENT_FILES)).toBe(true, 'Recent Files link not active');
|
||||
});
|
||||
|
||||
it('navigates to "Favorites" - [C213225]', async () => {
|
||||
it('[C213225] navigates to "Favorites"', async () => {
|
||||
await page.clickFavorites();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.FAVORITES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.FAVORITES)).toBe(true, 'Favorites link not active');
|
||||
});
|
||||
|
||||
it('navigates to "Trash" - [C213216]', async () => {
|
||||
it('[C213216] navigates to "Trash"', async () => {
|
||||
await page.clickTrash();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.TRASHCAN);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.TRASH)).toBe(true, 'Trash link not active');
|
||||
});
|
||||
|
||||
it('navigates to "Personal Files" - [C280409]', async () => {
|
||||
it('[C280409] navigates to "Personal Files"', async () => {
|
||||
await page.clickPersonalFiles();
|
||||
expect(await browser.getCurrentUrl()).toContain(APP_ROUTES.PERSONAL_FILES);
|
||||
expect(await sidenav.isActive(SIDEBAR_LABELS.PERSONAL_FILES)).toBe(true, 'Personal Files link not active');
|
||||
});
|
||||
|
||||
it('Personal Files tooltip - [C217151]', async () => {
|
||||
it('[C217151] Personal Files tooltip', async () => {
|
||||
await page.clickPersonalFiles();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.PERSONAL_FILES)).toContain('View your Personal Files');
|
||||
|
||||
@@ -117,7 +117,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.PERSONAL_FILES)).toContain('View your Personal Files');
|
||||
});
|
||||
|
||||
it('Shared Files tooltip - [C213111]', async () => {
|
||||
it('[C213111] Shared Files tooltip', async () => {
|
||||
await page.clickSharedFiles();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.SHARED_FILES)).toContain('View files that have been shared');
|
||||
|
||||
@@ -125,7 +125,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.SHARED_FILES)).toContain('View files that have been shared');
|
||||
});
|
||||
|
||||
it('Recent Files tooltip - [C213167]', async () => {
|
||||
it('[C213167] Recent Files tooltip', async () => {
|
||||
await page.clickRecentFiles();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.RECENT_FILES)).toContain('View files you recently edited');
|
||||
|
||||
@@ -133,7 +133,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.RECENT_FILES)).toContain('View files you recently edited');
|
||||
});
|
||||
|
||||
it('Favorites tooltip - [C217153]', async () => {
|
||||
it('[C217153] Favorites tooltip', async () => {
|
||||
await page.clickFavorites();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FAVORITES)).toContain('View your favorite files and folders');
|
||||
|
||||
@@ -141,7 +141,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FAVORITES)).toContain('View your favorite files and folders');
|
||||
});
|
||||
|
||||
it('Trash tooltip - [C217154]', async () => {
|
||||
it('[C217154] Trash tooltip', async () => {
|
||||
await page.clickTrash();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.TRASH)).toContain('View deleted files in the trash');
|
||||
|
||||
@@ -149,7 +149,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.TRASH)).toContain('View deleted files in the trash');
|
||||
});
|
||||
|
||||
it('File Libraries tooltip - [C217152]', async () => {
|
||||
it('[C217152] File Libraries tooltip', async () => {
|
||||
await page.clickFileLibraries();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FILE_LIBRARIES)).toContain('File Libraries');
|
||||
|
||||
@@ -157,7 +157,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FILE_LIBRARIES)).toContain('File Libraries');
|
||||
});
|
||||
|
||||
it('My Libraries tooltip - [C289916]', async () => {
|
||||
it('[C289916] My Libraries tooltip', async () => {
|
||||
await page.goToMyLibraries();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.MY_LIBRARIES)).toContain('Access my libraries');
|
||||
|
||||
@@ -166,7 +166,7 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.MY_LIBRARIES)).toContain('Access my libraries');
|
||||
});
|
||||
|
||||
it('Favorite Libraries tooltip - [C289917]', async () => {
|
||||
it('[C289917] Favorite Libraries tooltip', async () => {
|
||||
await page.goToFavoriteLibraries();
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FAVORITE_LIBRARIES)).toContain('Access my favorite libraries');
|
||||
|
||||
@@ -175,11 +175,11 @@ describe('Sidebar', () => {
|
||||
expect(await sidenav.getLinkTooltip(SIDEBAR_LABELS.FAVORITE_LIBRARIES)).toContain('Access my favorite libraries');
|
||||
});
|
||||
|
||||
it('default state is expanded - [C269095]', async () => {
|
||||
it('[C269095] default state is expanded', async () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(true, 'Sidebar not expanded');
|
||||
});
|
||||
|
||||
it('sidebar toggle - [C269096]', async () => {
|
||||
it('[C269096] sidebar toggle', async () => {
|
||||
await header.collapseSideNav();
|
||||
expect(await header.isSidenavExpanded()).toBe(false, 'Sidebar not collapsed');
|
||||
|
||||
@@ -187,7 +187,7 @@ describe('Sidebar', () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(true, 'Sidebar not expanded');
|
||||
});
|
||||
|
||||
it('sidebar state is preserved on page refresh - [C269100]', async () => {
|
||||
it('[C269100] sidebar state is preserved on page refresh', async () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(true, 'Sidebar not expanded');
|
||||
await page.refresh();
|
||||
expect(await header.isSidenavExpanded()).toBe(true, 'Sidebar not expanded');
|
||||
@@ -198,7 +198,7 @@ describe('Sidebar', () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(false, 'Sidebar not collapsed');
|
||||
});
|
||||
|
||||
it('sidebar state is preserved after logout / login - [C269102]', async () => {
|
||||
it('[C269102] sidebar state is preserved after logout / login', async () => {
|
||||
await header.collapseSideNav();
|
||||
await page.signOut();
|
||||
await loginPage.loginWithAdmin();
|
||||
@@ -206,7 +206,7 @@ describe('Sidebar', () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(false, 'Sidebar not collapsed');
|
||||
});
|
||||
|
||||
it('sidebar is collapsed automatically when Search Results opens - [C277223]', async () => {
|
||||
it('[C277223] sidebar is collapsed automatically when Search Results opens', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
@@ -215,7 +215,7 @@ describe('Sidebar', () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(false, 'Sidebar not collapsed');
|
||||
});
|
||||
|
||||
it('sidenav returns to the default state when navigating away from the Search Results page - [C277224]', async () => {
|
||||
it('[C277224] sidenav returns to the default state when navigating away from the Search Results page', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
@@ -225,7 +225,7 @@ describe('Sidebar', () => {
|
||||
expect(await header.isSidenavExpanded()).toBe(true, 'Sidebar not expanded');
|
||||
});
|
||||
|
||||
it('sidenav can be expanded when search results page is displayed - [C277230]', async () => {
|
||||
it('[C277230] sidenav can be expanded when search results page is displayed', async () => {
|
||||
await searchInput.clickSearchButton();
|
||||
/* cspell:disable-next-line */
|
||||
await searchInput.searchFor('qwertyuiop');
|
||||
|
@@ -84,7 +84,7 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink does not appear for items in the Trash - [C284899]', async () => {
|
||||
it('[C284899] Hyperlink does not appear for items in the Trash', async () => {
|
||||
await page.clickTrashAndWait();
|
||||
|
||||
expect(await dataTable.hasLinkOnName(deletedFile1)).toBe(false, 'Link on name is present');
|
||||
@@ -97,11 +97,11 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file/folder - [C280032]', async () => {
|
||||
it('[C280032] Hyperlink appears when mouse over a file/folder', async () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
it('File preview opens when clicking the hyperlink - [C280033]', async () => {
|
||||
it('[C280033] File preview opens when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -109,7 +109,7 @@ describe('Single click on item name', () => {
|
||||
await Utils.pressEscape();
|
||||
});
|
||||
|
||||
it('Navigate inside the folder when clicking the hyperlink - [C280034]', async () => {
|
||||
it('[C280034] Navigate inside the folder when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(folder1);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(folder1);
|
||||
@@ -122,11 +122,11 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a library - [C284901]', async () => {
|
||||
it('[C284901] Hyperlink appears when mouse over a library', async () => {
|
||||
expect(await dataTable.hasLinkOnName(siteName)).toBe(true, 'Link on site name is missing');
|
||||
});
|
||||
|
||||
it('Navigate inside the library when clicking the hyperlink - [C284902]', async () => {
|
||||
it('[C284902] Navigate inside the library when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(siteName);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(siteName);
|
||||
@@ -140,11 +140,11 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file - [C284905]', async () => {
|
||||
it('[C284905] Hyperlink appears when mouse over a file', async () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
it('File preview opens when clicking the hyperlink - [C284906]', async () => {
|
||||
it('[C284906] File preview opens when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -159,11 +159,11 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file - [C284907]', async () => {
|
||||
it('[C284907] Hyperlink appears when mouse over a file', async () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
it('File preview opens when clicking the hyperlink - [C284908]', async () => {
|
||||
it('[C284908] File preview opens when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -178,11 +178,11 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file/folder - [C284909]', async () => {
|
||||
it('[C284909] Hyperlink appears when mouse over a file/folder', async () => {
|
||||
expect(await dataTable.hasLinkOnName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
it('File preview opens when clicking the hyperlink - [C284910]', async () => {
|
||||
it('[C284910] File preview opens when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(file1);
|
||||
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
@@ -190,7 +190,7 @@ describe('Single click on item name', () => {
|
||||
await Utils.pressEscape();
|
||||
});
|
||||
|
||||
it('Navigate inside the folder when clicking the hyperlink - [C284911]', async () => {
|
||||
it('[C284911] Navigate inside the folder when clicking the hyperlink', async () => {
|
||||
await dataTable.clickNameLink(folder1);
|
||||
|
||||
expect(await breadcrumb.getCurrentItemName()).toBe(folder1);
|
||||
@@ -210,14 +210,14 @@ describe('Single click on item name', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('Hyperlink appears when mouse over a file - [C306988]', async () => {
|
||||
it('[C306988] Hyperlink appears when mouse over a file', async () => {
|
||||
await searchInput.searchFor(file1);
|
||||
await dataTable.waitForBody();
|
||||
|
||||
expect(await dataTable.hasLinkOnSearchResultName(file1)).toBe(true, 'Link on name is missing');
|
||||
});
|
||||
|
||||
it('File preview opens when clicking the hyperlink - [C306989]', async () => {
|
||||
it('[C306989] File preview opens when clicking the hyperlink', async () => {
|
||||
await searchInput.searchFor(file1);
|
||||
await dataTable.waitForBody();
|
||||
await dataTable.clickSearchResultNameLink(file1);
|
||||
@@ -227,7 +227,7 @@ describe('Single click on item name', () => {
|
||||
await Utils.pressEscape();
|
||||
});
|
||||
|
||||
it('Navigate inside the folder when clicking the hyperlink - [C306990]', async () => {
|
||||
it('[C306990] Navigate inside the folder when clicking the hyperlink', async () => {
|
||||
await searchInput.searchFor(folder1);
|
||||
await dataTable.waitForBody();
|
||||
await dataTable.clickSearchResultNameLink(folder1);
|
||||
|
Reference in New Issue
Block a user