def test_moveFavoritesToFolders(self):
     homePage = HomePageSS(self.driver, self.wait)
     homePage.searchByKeyword("test")
     searchResults = SearchResultsPageSS(self.driver, self.wait)
     searchResults.clickFavoriteStarForResult(1)
     searchResults.clickFavoriteStarForResult(2)
     searchResults.clickFavoriteStarForResult(3)
     searchResults.clickFavoriteStarForResult(4)
     favorited = MyFoldersPageView(self.driver, self.wait)
     favorited.clickToSelectAllButton()
     favorited.clickAddToFolderButton()
     favorited.selectFolder(folderNameClass)
     self.assertTrue(favorited.getFavoritesFromFolders(), "No Favorites saved to folder")
 def test_click_add_to_folder_when_disabled(self):
     folders = MyFoldersPageView(self.driver, self.wait)
     folders.clickAddToFolderButton()
     self.assertFalse(folders.isDisplayedSelectFolderWidget(), "Select a folder widget displayed although no resource selected when clicking Add To Folder")