@Test(dependsOnMethods = {"AddTag_Uber3722"}) public void EditTag_Uber3723() { using( homePage = loginPage .clear() .and() .fill( LoginDataInfo.getNew() .setUser(Constants.VALID_USER) .setPassword(Constants.VALID_PASSWORD)) .and() .submit(ui.getFirefoxDriver())) .check(loginPage.isHomePageDisplayed(driver)) .andUsing(SetupAdmin = homePage.goToSetupAdmin(driver)) .check(SetupAdmin.isSetupAdminPageDisplayed(driver)) .andUsing(DeviceSetting = SetupAdmin.goToDeviceManagerTagPage(driver)) .check(DeviceSetting.isTagDisplayed(driver)) .andUsing(DeviceSetting.EditTag(driver)) .check(DeviceSetting.isUpdateTagModalWindowDisplayed(driver)) .andUsing( DeviceSetting.updateTagName( Constants.TAG_NAME_UPDATE, driver, DeviceManagerSettingsPage.class)) .check(DeviceSetting.isTagUpdatedDisplayed(driver)); }
@Test(dependsOnMethods = {"EditTag_Uber3723"}) public void DeleteTag_Uber3726() { using( homePage = loginPage .clear() .and() .fill( LoginDataInfo.getNew() .setUser(Constants.VALID_USER) .setPassword(Constants.VALID_PASSWORD)) .and() .submit(ui.getFirefoxDriver())) .check(loginPage.isHomePageDisplayed(driver)) .andUsing(SetupAdmin = homePage.goToSetupAdmin(driver)) .check(SetupAdmin.isSetupAdminPageDisplayed(driver)) .andUsing(DeviceSetting = SetupAdmin.goToDeviceManagerTagPage(driver)) .check(DeviceSetting.isTagToBeDeletedDisplayed(driver)) .andUsing(DeviceSetting.DeleteTag(driver)) .check(DeviceSetting.isTagDeletedDisplayed(driver)); }
@Test public void AddTag_Uber3722() { using( homePage = loginPage .clear() .and() .fill( LoginDataInfo.getNew() .setUser(Constants.VALID_USER) .setPassword(Constants.VALID_PASSWORD)) .and() .submit(ui.getFirefoxDriver())) .check(loginPage.isHomePageDisplayed(driver)) .andUsing(SetupAdmin = homePage.goToSetupAdmin(driver)) .check(SetupAdmin.isSetupAdminPageDisplayed(driver)) .andUsing(DeviceSetting = SetupAdmin.goToDeviceManagerTagPage(driver)) .check(DeviceSetting.isTagsListDisplayed(driver)) .andUsing(DeviceSetting.TagNameListed(driver)) .check(DeviceSetting.isCreateTagModalWindowDisplayed(driver)) .andUsing( DeviceSetting.setTagName(Constants.TAG_NAME, driver, DeviceManagerSettingsPage.class)) .check(DeviceSetting.isTagPageDisplayed(driver)); }