public void SetUp() { _driver = GlobalSeleniumSettings.DefaultDriver; _registartionPage = new RegistrationPage(_driver); _user = UserFactory.CreateValidUser(); var _loginPage = new LoginPage(_driver); _account = new Account(_loginPage, _registartionPage); }
public void Create(RegistrationUser user) { _loginPage.CreateNewAccountAndNavigateToRegisterPage(user.Email); _registrationPage.FillNessesaryAccountInformation(user); _registrationPage.Register(); }