Skip to content

Commit

Permalink
Update BTCPay Server
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Apr 8, 2024
1 parent 452887b commit 592e65d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions BTCPayApp.Tests/BTCPayAppTestServer.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server.Features;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Extensions.Logging;
using Microsoft.Playwright;
Expand Down
3 changes: 2 additions & 1 deletion BTCPayApp.Tests/UnitTest1.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
using BTCPayApp.UI;
using BTCPayApp.UI.Pages;
using Xunit.Abstractions;

Expand All @@ -18,7 +19,7 @@ public async Task TestHomePage()
await using var factory = new BTCPayAppTestServer(_testOutputHelper);
var page = await (await factory.InitializeAsync()).NewPageAsync();
await page.GotoAsync(factory.ServerAddress);
Assert.EndsWith(Routes.Home, page.Url);
Assert.EndsWith(Routes.Index, page.Url);

var carousel = page.Locator("#OnboardingCarousel");
await carousel.Locator("[aria-label='3']").ClickAsync();
Expand Down
2 changes: 1 addition & 1 deletion submodules/btcpayserver
Submodule btcpayserver updated 457 files

0 comments on commit 592e65d

Please sign in to comment.