mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 14:34:23 +01:00
Store rule emails in HTML + Test rule emails (#4843)
* Store rule emails in HTML + Test rule emails * Store rule emails in HTML + Test rule emails * Update BTCPayServer/Controllers/UIStoresController.Email.cs Thanks ! Co-authored-by: Andrew Camilleri <evilkukka@gmail.com> * change in StoreEmails() to work properly with add commande * CanSetupEmailServer() : Remove Bosy sendkeys that doesn't work with new HTML control * Update test for new HTML control * better command treatment --------- Co-authored-by: nisaba <infos@nisaba.solutions> Co-authored-by: Andrew Camilleri <evilkukka@gmail.com>
This commit is contained in:
@@ -467,7 +467,7 @@ namespace BTCPayServer.Tests
|
||||
s.Driver.FindElement(By.Id("Rules_0__To")).SendKeys("test@gmail.com");
|
||||
s.Driver.FindElement(By.Id("Rules_0__CustomerEmail")).Click();
|
||||
s.Driver.FindElement(By.Id("Rules_0__Subject")).SendKeys("Thanks!");
|
||||
s.Driver.FindElement(By.Id("Rules_0__Body")).SendKeys("Your invoice is settled");
|
||||
s.Driver.FindElement(By.ClassName("note-editable")).SendKeys("Your invoice is settled");
|
||||
s.Driver.FindElement(By.Id("SaveEmailRules")).Click();
|
||||
Assert.Contains("Store email rules saved", s.FindAlertMessage().Text);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user