public void FillCheckoutFormAndSubmit(CheckOutFormModel model) { EmailInput.SendKeysWithWait(model.Email); NameInput.SendKeysWithWait(model.Name); AddressInput.SendKeysWithWait(model.Address); CardTypeDropdown.SelectText(model.CardType); CardNumberInput.SendKeysWithWait(model.CardNumber.ToString()); CardholderNameInput.SendKeysWithWait(model.CardholderName); VerificationCodeInput.SendKeysWithWait(model.VerificationCode.ToString()); PlaceOrder.ClickWithWait(); }
public async Task ConfirmPhoneNumberByCode(VerificationCodeInput input) { await _userRegistrationManager.ConfirmPhoneNumberByCodeAsync(input.PhoneNumber, input.Code); }