mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-02-15 03:04:30 +01:00
Fix flacky CanUseForms
This commit is contained in:
@@ -111,7 +111,8 @@ namespace BTCPayServer.Tests
|
||||
await popOutPage.CloseAsync();
|
||||
await s.Page.Context.Pages.First().BringToFrontAsync();
|
||||
await s.GoToUrl(editUrl.PathAndQuery);
|
||||
Assert.Contains("aa@aa.com", await s.Page.ContentAsync());
|
||||
|
||||
await Expect(s.Page.Locator("#Email")).ToHaveValueAsync("aa@aa.com");
|
||||
var invoice = await s.Server.PayTester.GetService<InvoiceRepository>().GetInvoice(invoiceId);
|
||||
Assert.Equal("aa@aa.com", invoice.Metadata.BuyerEmail);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user