Skip to content

[Feature]: Allow convenient browser option changes in XUnit v3 without .runnsettings in the new Microsoft Test PlatformΒ #3249

@pomianowski

Description

@pomianowski

πŸš€ Feature Request

I would like to conveniently change the options using an additional method, similar to ConnectOptionsAsync, e.g., LaunchOptionsAsync. In it, I can add my own code and additionally inject my own environment variables or settings, depending on the needs of my test.

Example

No response

Motivation

We run tests in Azure DevOps and on local computers. We use dotnet run instead of dotnet test. I haven't found a convenient method to inject args into Playwright using ENV. Additionally, PlaywrightSettingsProvider requires XML.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions