Skip to content

Design new playwright test project #31159

@HaoK

Description

@HaoK

Goal of the E2E test project with playwright is to enable something like this:

MyTestBase : IAssemblyFixture<SomeContainer> { }

[Fact]
public async Task Stuff()
{
   var server = await ServerFixture.GetServerAsync(someRequirements);
   var client = await ClientFixture.GetBrowserAsync(differentRequirments);
}

Future goals

  • Improve debuggability of tests
  • Support WebView testability as well

Next steps

  • @pranavkm will prototype server fixture
  • @javiercn will improve current client/playwright functionality
  • @HaoK will identify the set of quarantined tests to use as a baseline for comparison to measure improvements vs the old

Quarantined tests to try:
#25929
#23366
#29553

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedNeeds: DesignThis issue requires design work before implementating.area-blazorIncludes: Blazor, Razor Componentsarea-infrastructureIncludes: MSBuild projects/targets, build scripts, CI, Installers and shared frameworktask

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions