This commit is contained in:
nicolas.dorier 2019-10-20 16:45:40 +09:00
parent 5054e76d64
commit 7d6fb21a8c
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -35,6 +35,9 @@ namespace BTCPayServer.Tests
s.RegisterNewUser();
var store = s.CreateNewStore();
s.AddDerivationScheme("BTC");
s.GoToStore(store.storeId, StoreNavPages.Checkout);
s.Driver.FindElement(By.Id("RequiresRefundEmail")).Click();
s.Driver.FindElement(By.Name("command")).ForceClick();
var emailAlreadyThereInvoiceId =s.CreateInvoice(store.storeName, 100, "USD", "a@g.com");
s.GoToInvoiceCheckout(emailAlreadyThereInvoiceId);