Make test more reliable

This commit is contained in:
nicolas.dorier 2020-01-12 17:06:47 +09:00
parent 90da81f68e
commit d48334b97f
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -145,6 +145,7 @@ namespace BTCPayServer.Tests
elements = s.Driver.FindElement(By.ClassName("vex-content")).FindElements(By.ClassName("vexmenuitem"));
elements.Single(element => element.Text.Contains("Lightning")).Click();
Thread.Sleep(1000);
currencyDropdownButton = s.Driver.FindElement(By.ClassName("payment__currencies"));
Assert.Contains("Lightning", currencyDropdownButton.Text);