Skip to content

Commit

Permalink
Ensure that the decorators do not leak out of the support package
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Sep 27, 2022
1 parent 96c4ecd commit 3e7c6e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion java/src/org/openqa/selenium/support/decorators/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ load("//java:defs.bzl", "java_library")
java_library(
name = "decorators",
srcs = glob(["*.java"]),
visibility = ["//visibility:public"],
visibility = [
"//java/src/org/openqa/selenium/support:__subpackages__",
"//java/test/org/openqa/selenium/support/decorators:__pkg__",
],
deps = [
"//java/src/org/openqa/selenium:core",
artifact("net.bytebuddy:byte-buddy"),
Expand Down
2 changes: 1 addition & 1 deletion java/test/org/openqa/selenium/remote/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ java_test_suite(
"//java/src/org/openqa/selenium/ie",
"//java/src/org/openqa/selenium/json",
"//java/src/org/openqa/selenium/remote",
"//java/src/org/openqa/selenium/support/decorators",
"//java/src/org/openqa/selenium/support",
"//java/test/org/openqa/selenium/testing:annotations",
artifact("org.assertj:assertj-core"),
artifact("com.google.guava:guava"),
Expand Down

0 comments on commit 3e7c6e1

Please sign in to comment.