load("//dotnet:defs.bzl", "dotnet_nunit_test_suite", "nuget_package")

dotnet_nunit_test_suite(
    name = "remote",
    size = "large",
    srcs = glob(
        ["**/*.cs"],
        exclude = [
            "bin/**",
            "obj/**",
        ],
    ),
    out = "WebDriver.Remote.Tests",
    browsers = ["remote"],
    data = [
        "//dotnet/test/webdriver:test-data",
    ],
    flaky = True,
    project_sdk = "web",
    target_frameworks = ["net10.0"],
    deps = [
        "//dotnet/src/webdriver:webdriver-net8.0",
        "//dotnet/test/testing.webserver",
        "//dotnet/test/webdriver",
        nuget_package("NUnit.Analyzers"),
        nuget_package("Runfiles"),
    ],
)
