public void SignUpTest(bool isPositive, SocialTitle socialTitle, string firstName, string lastName, string email, string password, string birthDay, bool taggedOffers, bool taggedNewsLetter, bool taggedAgree) { OriginalPage originalPage = new OriginalPage(driver); LogInPage logInPage = originalPage.OpenLogInPage(); SignUpPage signUpPage = logInPage.ClickOnMakeAccount(); bool isAccountCreated = signUpPage.InputSocialTitle(socialTitle) .InputFirstName(firstName) .InputLastName(lastName) .InputEmail(email) .InputPassword(password) .InputBirthDay(birthDay) .TagOffers(taggedOffers) .TagNewsLetter(taggedNewsLetter) .TagAgree(taggedAgree) .ClickSaveButton() .IsAccountCreated(); System.Threading.Thread.Sleep(1000); Assert.That(isAccountCreated, Is.EqualTo(isPositive), $"Account is created {(isAccountCreated ? "successfully" : "unsuccessfully")}"); }