How to Start .net 6 Hosted Blazor App in xUnit for E2E Tests

Viewed 224

Unfortunately all of the resources I found are either using WebApplicationFactory.CreateClient() which is not starting the application in a way that's exposing HTTP Endpoints or they are referring to old .net versions.

What is a Simple WebApplicationFactory-like way to start the App so it can be used by Playwright?

I am not using a StartUp class.

1 Answers
Related