load("@rules_jvm_external//:defs.bzl", "artifact")
load("//java:defs.bzl", "JUNIT5_DEPS", "java_test_suite")

java_test_suite(
    name = "SmallTests",
    size = "small",
    srcs = glob(["*Test.java"]),
    resources = [
        "packaged-file.txt",
    ],
    tags = [
        "no-sandbox",
    ],
    deps = [
        "//java/src/org/openqa/selenium/grid/web",
        "//java/src/org/openqa/selenium/json",
        "//java/src/org/openqa/selenium/remote",
        "//java/src/org/openqa/selenium/remote/http",
        "//java/test/org/openqa/selenium/netty/server:test-server",
        "//java/test/org/openqa/selenium/remote/tracing:tracing-support",
        artifact("com.google.guava:guava"),
        artifact("org.junit.jupiter:junit-jupiter-api"),
        artifact("org.assertj:assertj-core"),
        artifact("org.mockito:mockito-core"),
        artifact("io.netty:netty-codec-http"),
        artifact("io.opentelemetry:opentelemetry-api"),
    ] + JUNIT5_DEPS,
)
