mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
Fix flaky
This commit is contained in:
parent
5a70345499
commit
7f75117bfa
@ -1,5 +1,4 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.ComponentModel;
|
|
||||||
using System.Globalization;
|
using System.Globalization;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
@ -99,6 +98,10 @@ namespace BTCPayServer.Tests
|
|||||||
Driver.FindElement(By.Id("FakePayment")).Click();
|
Driver.FindElement(By.Id("FakePayment")).Click();
|
||||||
if (mine)
|
if (mine)
|
||||||
{
|
{
|
||||||
|
TestUtils.Eventually(() =>
|
||||||
|
{
|
||||||
|
Driver.WaitForElement(By.Id("CheatSuccessMessage"));
|
||||||
|
});
|
||||||
MineBlockOnInvoiceCheckout();
|
MineBlockOnInvoiceCheckout();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user