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

java_test_suite(
    name = "small-tests",
    size = "small",
    srcs = glob([
        "*.java",
        "jdk/*.java",
    ]),
    javacopts = [
        "--release",
        TOOLS_JAVA_VERSION,
    ],
    deps = [
        "//java:auto-service",
        "//java/src/org/openqa/selenium:core",
        "//java/src/org/openqa/selenium/remote/http",
        "//java/test/org/openqa/selenium/environment",
        "//java/test/org/openqa/selenium/remote/internal:test-lib",
        "//java/test/org/openqa/selenium/testing:annotations",
        artifact("org.assertj:assertj-core"),
        artifact("com.google.guava:guava"),
        artifact("org.junit.jupiter:junit-jupiter-api"),
    ] + JUNIT5_DEPS,
)
