"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/java/test/org/openqa/selenium/support/pagefactory/BUILD.bazel" (17 Feb 2023, 1266 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 load("@rules_jvm_external//:defs.bzl", "artifact")
    2 load("//java:defs.bzl", "JUNIT5_DEPS", "java_selenium_test_suite", "java_test_suite")
    3 
    4 MEDIUM_TESTS = [
    5     "UsingPageFactoryTest.java",
    6 ]
    7 
    8 java_test_suite(
    9     name = "SmallTests",
   10     size = "small",
   11     srcs = glob(
   12         [
   13             "*Test.java",
   14             "internal/*Test.java",
   15         ],
   16         exclude = MEDIUM_TESTS,
   17     ),
   18     deps = [
   19         "//java/src/org/openqa/selenium:core",
   20         "//java/src/org/openqa/selenium/support",
   21         "//java/test/org/openqa/selenium/support/ui:clock",
   22         "//java/test/org/openqa/selenium/testing:annotations",
   23         artifact("org.junit.jupiter:junit-jupiter-api"),
   24         artifact("org.assertj:assertj-core"),
   25         artifact("org.mockito:mockito-core"),
   26     ] + JUNIT5_DEPS,
   27 )
   28 
   29 java_selenium_test_suite(
   30     name = "LargeTests",
   31     size = "large",
   32     srcs = MEDIUM_TESTS,
   33     browsers = ["firefox"],
   34     deps = [
   35         "//java/src/org/openqa/selenium/remote",
   36         "//java/src/org/openqa/selenium/support",
   37         "//java/test/org/openqa/selenium/testing:test-base",
   38         artifact("org.junit.jupiter:junit-jupiter-api"),
   39         artifact("org.assertj:assertj-core"),
   40         artifact("org.mockito:mockito-core"),
   41     ] + JUNIT5_DEPS,
   42 )