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"]),
    deps = [
        "//java/src/org/openqa/selenium/events",
        "//java/src/org/openqa/selenium/events/local",
        "//java/src/org/openqa/selenium/grid/data",
        "//java/src/org/openqa/selenium/grid/sessionmap",
        "//java/src/org/openqa/selenium/grid/sessionmap/local",
        "//java/src/org/openqa/selenium/grid/sessionmap/remote",
        "//java/src/org/openqa/selenium/remote",
        "//java/src/org/openqa/selenium/support",
        "//java/test/org/openqa/selenium/grid/testing",
        "//java/test/org/openqa/selenium/remote/tracing:tracing-support",
        artifact("org.junit.jupiter:junit-jupiter-api"),
        artifact("io.opentelemetry:opentelemetry-api"),
        artifact("org.assertj:assertj-core"),
    ] + JUNIT5_DEPS,
)
