Giving up at UI testing

This commit is contained in:
Paul Schneider 2026-06-15 00:00:39 +01:00
commit 69e81b9fd4
5 changed files with 23 additions and 17 deletions

View file

@ -8,7 +8,7 @@ namespace Yavsc.Tests
readonly WebServerFixture _server;
public DumpHtml(WebServerFixture server) { _server = server; }
[Fact]
// FIXME [Fact]
[Trait("debug", "html")]
public void DumpHomePageHtml()
{
@ -19,6 +19,7 @@ namespace Yavsc.Tests
};
var httpsUrl = _server.Addresses.FirstOrDefault(u => u.StartsWith("https:"))
?? _server.Addresses.FirstOrDefault() ?? "";
// var httpsUrl = "https://localhost:5001" ;
using var client = new HttpClient(handler) { BaseAddress = new Uri(httpsUrl) };
var paths = new[] { "/Home/About", "/css/site.css", "/lib/bootstrap.quartz.min.css", "/nonexistent" };