From 7d6fb21a8cd16dc3ec8b9ec10387f8f3e4d5b768 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 20 Oct 2019 16:45:40 +0900 Subject: [PATCH] Fix test --- BTCPayServer.Tests/CheckoutUITests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/BTCPayServer.Tests/CheckoutUITests.cs b/BTCPayServer.Tests/CheckoutUITests.cs index a63ca56f5..c44320e4e 100644 --- a/BTCPayServer.Tests/CheckoutUITests.cs +++ b/BTCPayServer.Tests/CheckoutUITests.cs @@ -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);