@Test(dependsOnMethods = "createItem") public void editDataList() { dataListPage.editDataList(text, editedText, editedText); dataListPage.selectDataList(editedText); assertNotNull(dataListPage); }
public DataListPage editDataList (String oldTitle, String newTitle, String newDescription) { logger.info("Editing the data list " + oldTitle); NewListForm newListForm = getDataListDirectoryInfo(oldTitle).clickEdit(); newListForm.inputTitleField(newTitle); newListForm.inputDescriptionField(newDescription); newListForm.clickSave(); return new DataListPage(drone).render(); }
DataListPage extends AbstractDataList { public DataListPage editDataList (String oldTitle, String newTitle, String newDescription) { logger.info("Editing the data list " + oldTitle); NewListForm newListForm = getDataListDirectoryInfo(oldTitle).clickEdit(); newListForm.inputTitleField(newTitle); newListForm.inputDescriptionField(newDescription); newListForm.clickSave(); return new DataListPage(drone).render(); } }
DataListPage extends AbstractDataList { public DataListPage editDataList (String oldTitle, String newTitle, String newDescription) { logger.info("Editing the data list " + oldTitle); NewListForm newListForm = getDataListDirectoryInfo(oldTitle).clickEdit(); newListForm.inputTitleField(newTitle); newListForm.inputDescriptionField(newDescription); newListForm.clickSave(); return new DataListPage(drone).render(); } DataListPage(WebDrone drone); }
DataListPage extends AbstractDataList { public DataListPage editDataList (String oldTitle, String newTitle, String newDescription) { logger.info("Editing the data list " + oldTitle); NewListForm newListForm = getDataListDirectoryInfo(oldTitle).clickEdit(); newListForm.inputTitleField(newTitle); newListForm.inputDescriptionField(newDescription); newListForm.clickSave(); return new DataListPage(drone).render(); } DataListPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DataListPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DataListPage render(); @SuppressWarnings("unchecked") @Override DataListPage render(long time); DataListPage createDataList(DataLists listType, String title, String desc); void selectDataList(String name); boolean isNewListEnabled(); DataListDirectoryInfo getDataListDirectoryInfo(final String title); DataListPage editDataList(String oldTitle, String newTitle, String newDescription); DataListPage deleteDataListWithConfirm(String title); int getListsCount(); boolean isEditDataListDisplayed(String list); boolean isDeleteDataListDisplayed(String list); String getDataListDescription(String title); boolean isNoListFoundDisplayed(); DataListPage clickCancel(); List<String> getLists(); DataListTreeMenuNavigation getLeftMenus(); boolean isSelectMenuVisible(); DataListPage select(selectOptions option); SharePage chooseSelectedItemOpt(selectedItemsOptions option); }
DataListPage extends AbstractDataList { public DataListPage editDataList (String oldTitle, String newTitle, String newDescription) { logger.info("Editing the data list " + oldTitle); NewListForm newListForm = getDataListDirectoryInfo(oldTitle).clickEdit(); newListForm.inputTitleField(newTitle); newListForm.inputDescriptionField(newDescription); newListForm.clickSave(); return new DataListPage(drone).render(); } DataListPage(WebDrone drone); @SuppressWarnings("unchecked") @Override DataListPage render(RenderTime timer); @SuppressWarnings("unchecked") @Override DataListPage render(); @SuppressWarnings("unchecked") @Override DataListPage render(long time); DataListPage createDataList(DataLists listType, String title, String desc); void selectDataList(String name); boolean isNewListEnabled(); DataListDirectoryInfo getDataListDirectoryInfo(final String title); DataListPage editDataList(String oldTitle, String newTitle, String newDescription); DataListPage deleteDataListWithConfirm(String title); int getListsCount(); boolean isEditDataListDisplayed(String list); boolean isDeleteDataListDisplayed(String list); String getDataListDescription(String title); boolean isNoListFoundDisplayed(); DataListPage clickCancel(); List<String> getLists(); DataListTreeMenuNavigation getLeftMenus(); boolean isSelectMenuVisible(); DataListPage select(selectOptions option); SharePage chooseSelectedItemOpt(selectedItemsOptions option);  }