def test_createFolderSharedWithColleagues(self): folders = MyFoldersPageView(self.driver, self.wait) folders.createNewFolder() folders.typeAddNewFolderName(folderNameColleagues) folders.typeAddNewFolderDescription(text) folders.clickSharedWithColleagues() folders = folders.clickToCreateButton() self.assertTrue(folders.folderExists(folderNameColleagues), "folder not created")
def test_removeFolders(self): folders = MyFoldersPageView(self.driver, self.wait) folders = self.removeFolder(folders, folderNameClass) folders = self.removeFolder(folders, folderNameColleagues) self.assertFalse(folders.folderExists(folderNameColleagues), "folder not deleted") self.assertFalse(folders.folderExists(folderNameClass), "folder not deleted")