示例#1
0
 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();
 }
示例#2
0
 public async Task ConfirmPhoneNumberByCode(VerificationCodeInput input)
 {
     await _userRegistrationManager.ConfirmPhoneNumberByCodeAsync(input.PhoneNumber, input.Code);
 }