Пример #1
0
        public void MultibrandUserRegister()
        {
            var auth       = new AuthPage(driver);
            var agencyUser = new AgencyUserPage(driver);

            driver.Url = Url.Deautos.Views.Registers.RegisterUserTypeTwo;
            string email = auth.RegisterClientUser("Multibrand");

            driver.Navigate().GoToUrl(string.Concat(Url.Deautos.Views.Backoffice.Main, "agencyUserCms"));
            auth.BackOfficeLogin();
            agencyUser.ActivateAgencyUser(email);
        }