mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Pull Payment UI: Test fix
This commit is contained in:
parent
652604a36f
commit
7b718ada63
1 changed files with 2 additions and 3 deletions
|
@ -766,7 +766,7 @@ namespace BTCPayServer.Tests
|
|||
s.Driver.FindElement(By.Id("ClaimedAmount")).Clear();
|
||||
s.Driver.FindElement(By.Id("ClaimedAmount")).SendKeys("20" + Keys.Enter);
|
||||
s.AssertHappyMessage();
|
||||
Assert.Contains("AwaitingApproval", s.Driver.PageSource);
|
||||
Assert.Contains("Awaiting Approval", s.Driver.PageSource);
|
||||
|
||||
var viewPullPaymentUrl = s.Driver.Url;
|
||||
// This one should have nothing
|
||||
|
@ -808,8 +808,7 @@ namespace BTCPayServer.Tests
|
|||
s.Driver.Navigate().GoToUrl(viewPullPaymentUrl);
|
||||
txs = s.Driver.FindElements(By.ClassName("transaction-link"));
|
||||
Assert.Equal(2, txs.Count);
|
||||
Assert.Contains("InProgress", s.Driver.PageSource);
|
||||
|
||||
Assert.Contains("In Progress", s.Driver.PageSource);
|
||||
|
||||
await s.Server.ExplorerNode.GenerateAsync(1);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue