public void OficialPlan() { driver.Url = Url.Deautos.Views.MyAccount.Publish; var publish = new PublishPage(driver); publish.PublishAgencyUser("Oficial", "Plan"); }
public void MultibrandUsed() { driver.Url = Url.Deautos.Views.MyAccount.Publish; var login = new AuthPage(driver); var publish = new PublishPage(driver); publish.PublishAgencyUser("Multibrand", "Used"); }
public void CopyItemClientUser() { var auth = new AuthPage(driver); var myAccount = new PublishPage(driver); driver.Url = Url.Deautos.Views.Login.Auth; auth.SecondaryLogin(OfficialUser, OfficialUserPassword); if (myAccount.CopyItem().Equals(false)) { if (myAccount.RepublishClientUser("Oficial").Equals(false)) { myAccount.PublishAgencyUser("Oficial", "Plan"); } IsTrue(myAccount.CopyItem()); } }
public void FinalizeItemClientUser() { var auth = new AuthPage(driver); var myAccount = new MyAccountPage(driver); var republish = new PublishPage(driver); driver.Url = Url.Deautos.Views.Login.Auth; auth.SecondaryLogin(OfficialUser, OfficialUserPassword); if (myAccount.EndPublication().Equals(false)) { if (republish.RepublishClientUser("Oficial").Equals(false)) { republish.PublishAgencyUser("Oficial", "Plan"); } IsTrue(myAccount.EndPublication()); } }