diff --git a/java/client/test/org/openqa/selenium/environment/BUILD.bazel b/java/client/test/org/openqa/selenium/environment/BUILD.bazel index a86d5ff8674b8..7d8d45262f0e7 100644 --- a/java/client/test/org/openqa/selenium/environment/BUILD.bazel +++ b/java/client/test/org/openqa/selenium/environment/BUILD.bazel @@ -15,6 +15,11 @@ java_library( data = [ "webserver/keystore", "//common/src/web", + "//javascript/atoms", + "//third_party/closure/goog", + "//third_party/js/selenium:webdriver_xpi", + "//third_party/js/selenium:webdriver.json", + "//third_party/js/sizzle", ], visibility = [ "//java/client/test:__subpackages__", diff --git a/javascript/atoms/BUILD.bazel b/javascript/atoms/BUILD.bazel index 6577f4438d271..da6f077d59b21 100644 --- a/javascript/atoms/BUILD.bazel +++ b/javascript/atoms/BUILD.bazel @@ -2,6 +2,21 @@ load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library") package(default_visibility = ["//visibility:public"]) +filegroup( + name = "atoms", + srcs = glob([ + "**/*.html", + "**/*.jpg", + "**/*.js", + "**/*.png", + "**/*.svg", + ]), + visibility = [ + "//java/client/test/org/openqa/selenium/environment:__pkg__", + "//javascript/node/selenium-webdriver:__pkg__", + ], +) + closure_js_library( name = "action", srcs = ["action.js"], diff --git a/third_party/closure/goog/BUILD.bazel b/third_party/closure/goog/BUILD.bazel new file mode 100644 index 0000000000000..bd73e2b1b0163 --- /dev/null +++ b/third_party/closure/goog/BUILD.bazel @@ -0,0 +1,11 @@ +# Only present to allow us to provide the filegroup to the test webserver + +filegroup( + name = "goog", + srcs = glob([ + "**/*.js", + ]), + visibility = [ + "//java/client/test/org/openqa/selenium/environment:__pkg__", + ], +) \ No newline at end of file diff --git a/third_party/js/selenium/BUILD.bazel b/third_party/js/selenium/BUILD.bazel index 8974a020b46bb..e876c7eac85c1 100644 --- a/third_party/js/selenium/BUILD.bazel +++ b/third_party/js/selenium/BUILD.bazel @@ -8,6 +8,7 @@ copy_file( out = "webdriver.xpi", visibility = [ "//java/client/src/org/openqa/selenium/firefox/xpi:__pkg__", + "//java/client/test/org/openqa/selenium/environment:__pkg__", ], ) @@ -16,5 +17,6 @@ exports_files( visibility = [ "//dotnet/src/webdriver:__pkg__", "//java/client/src/org/openqa/selenium/firefox:__pkg__", + "//java/client/test/org/openqa/selenium/environment:__pkg__", ], ) diff --git a/third_party/js/sizzle/BUILD.bazel b/third_party/js/sizzle/BUILD.bazel index 9b7f6050c469a..21b29e76ac5f3 100644 --- a/third_party/js/sizzle/BUILD.bazel +++ b/third_party/js/sizzle/BUILD.bazel @@ -5,6 +5,7 @@ filegroup( srcs = ["sizzle.js"], visibility = [ "//java/client/src/com/thoughtworks/selenium/webdriven:__pkg__", + "//java/client/test/org/openqa/selenium/environment:__pkg__", "//javascript/selenium-core:__pkg__", ], )