public void VerifyUserWithPolicyNotCheckedIsNotCreated()
        {
            User user = TestData.TestData.ValidSymbols;

            RegisterAccountPage.FillMandatoryFields(user);
            RegisterAccountPage.ClickContinueButton();
            Assert.AreEqual(TestData.TestData.AdditionalData.PrivacyPolicyError, RegisterAccountPage.GetErrorMessage);
            VerifyUserNotExists(user);
        }
        public void VerifyUserWithOnlyMandatoryFieldsIsCreated()
        {
            User user = TestData.TestData.ValidSymbols;

            RegisterAccountPage.FillMandatoryFields(user);
            RegisterAccountPage.ClickPolicyCheckbox();
            RegisterAccountPage.ClickContinueButton();
            VerifyUserExists(user);
        }
        public void VerifyUserWithAlreadyExistingEmailIsNotCreated()
        {
            User user = TestData.TestData.ValidSymbols;

            RegisterAccountPage.FillMandatoryFields(user);
            RegisterAccountPage.ClearAndFillEmail(TestData.TestData.AdditionalData.ExistingEmail);
            RegisterAccountPage.ClickPolicyCheckbox();
            RegisterAccountPage.ClickContinueButton();
            Assert.AreEqual(TestData.TestData.AdditionalData.EmailAlreadyExistsError, RegisterAccountPage.GetErrorMessage);
            VerifyUserNotExists(user);
        }
        public void VerifyUserWithNotMatchingPasswordsIsNotCreated()
        {
            User user = TestData.TestData.ValidSymbols;

            RegisterAccountPage.FillMandatoryFields(user);
            RegisterAccountPage.SendKeysPasswordConfirm(TestData.TestData.AdditionalData.BadPasswordAdditionalChar);
            RegisterAccountPage.ClickPolicyCheckbox();
            RegisterAccountPage.ClickContinueButton();
            Assert.AreEqual(TestData.TestData.AdditionalData.PasswordConfirmError, RegisterAccountPage.GetPasswordConfirmErrorMessage);
            VerifyUserNotExists(user);
        }