@@ -5,11 +5,14 @@ load("//java/src/org/openqa/selenium/devtools:versions.bzl", "CDP_DEPS")
5
5
LARGE_TESTS = [
6
6
"DistributedCdpTest.java" ,
7
7
"NewSessionCreationTest.java" ,
8
- "RemoteWebDriverBiDiTest.java" ,
9
8
"RemoteWebDriverDownloadTest.java" ,
10
9
"StressTest.java" ,
11
10
]
12
11
12
+ FIREFOX_ONLY_LARGE_TESTS = [
13
+ "RemoteWebDriverBiDiTest.java" ,
14
+ ]
15
+
13
16
java_library (
14
17
name = "support" ,
15
18
testonly = True ,
@@ -57,27 +60,45 @@ java_selenium_test_suite(
57
60
"//java/src/org/openqa/selenium/json" ,
58
61
"//java/src/org/openqa/selenium/remote" ,
59
62
"//java/src/org/openqa/selenium/support" ,
60
- "//java/test/org/openqa/selenium/environment" ,
61
- "//java/test/org/openqa/selenium/remote/tracing:tracing-support" ,
62
- "//java/test/org/openqa/selenium/testing:annotations" ,
63
- "//java/test/org/openqa/selenium/testing:test-base" ,
64
63
"//java/src/org/openqa/selenium/grid" ,
65
64
"//java/src/org/openqa/selenium/grid/config" ,
66
65
"//java/src/org/openqa/selenium/grid/distributor" ,
66
+ "//java/test/org/openqa/selenium/environment" ,
67
67
"//java/test/org/openqa/selenium/grid/testing" ,
68
+ "//java/test/org/openqa/selenium/remote/tracing:tracing-support" ,
69
+ "//java/test/org/openqa/selenium/testing:annotations" ,
70
+ "//java/test/org/openqa/selenium/testing:test-base" ,
68
71
artifact ("com.google.guava:guava" ),
69
72
artifact ("org.junit.jupiter:junit-jupiter-api" ),
70
73
artifact ("org.junit.jupiter:junit-jupiter-params" ),
71
74
artifact ("org.assertj:assertj-core" ),
72
75
] + CDP_DEPS + JUNIT5_DEPS ,
73
76
)
74
77
78
+ java_selenium_test_suite (
79
+ name = "firefox-only-large-tests" ,
80
+ size = "large" ,
81
+ srcs = FIREFOX_ONLY_LARGE_TESTS ,
82
+ browsers = ["firefox" ],
83
+ deps = [
84
+ ":support" ,
85
+ "//java/src/org/openqa/selenium/firefox" ,
86
+ "//java/src/org/openqa/selenium/grid/config" ,
87
+ "//java/src/org/openqa/selenium/remote" ,
88
+ "//java/test/org/openqa/selenium/environment" ,
89
+ "//java/test/org/openqa/selenium/testing:annotations" ,
90
+ "//java/test/org/openqa/selenium/testing:test-base" ,
91
+ artifact ("org.junit.jupiter:junit-jupiter-api" ),
92
+ artifact ("org.assertj:assertj-core" ),
93
+ ] + CDP_DEPS + JUNIT5_DEPS ,
94
+ )
95
+
75
96
java_test_suite (
76
97
name = "medium-tests" ,
77
98
size = "medium" ,
78
99
srcs = glob (
79
100
["*Test.java" ],
80
- exclude = LARGE_TESTS ,
101
+ exclude = LARGE_TESTS + FIREFOX_ONLY_LARGE_TESTS ,
81
102
),
82
103
tags = [
83
104
"requires-network" ,
0 commit comments