Increase timeout for AssertHappyMessage test

This commit is contained in:
nicolas.dorier 2020-01-18 15:36:20 +09:00
parent a2be7ee471
commit 4b088defd3
No known key found for this signature in database
GPG Key ID: 6618763EF09186FE

View File

@ -72,7 +72,7 @@ namespace BTCPayServer.Tests
internal void AssertHappyMessage() internal void AssertHappyMessage()
{ {
using var cts = new CancellationTokenSource(10_000); using var cts = new CancellationTokenSource(20_000);
while (!cts.IsCancellationRequested) while (!cts.IsCancellationRequested)
{ {
var success = Driver.FindElements(By.ClassName("alert-success")).Where(el => el.Displayed).Any(); var success = Driver.FindElements(By.ClassName("alert-success")).Where(el => el.Displayed).Any();