Exemplo n.º 1
0
        public void OficialPlan()
        {
            driver.Url = Url.Deautos.Views.MyAccount.Publish;
            var publish = new PublishPage(driver);

            publish.PublishAgencyUser("Oficial", "Plan");
        }
Exemplo n.º 2
0
        public void MultibrandUsed()
        {
            driver.Url = Url.Deautos.Views.MyAccount.Publish;
            var login   = new AuthPage(driver);
            var publish = new PublishPage(driver);

            publish.PublishAgencyUser("Multibrand", "Used");
        }
Exemplo n.º 3
0
        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());
            }
        }
Exemplo n.º 4
0
        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());
            }
        }