Pull Payment UI: Test fix

This commit is contained in:
Dennis Reimann 2020-09-30 19:42:41 +02:00
parent 652604a36f
commit 7b718ada63
No known key found for this signature in database
GPG key ID: 5009E1797F03F8D0

View file

@ -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);