Skip to content

Commit d028d5e

Browse files
committed
The app manifest was served correctly by the static resource handler
1 parent 4917444 commit d028d5e

File tree

3 files changed

+16
-59
lines changed

3 files changed

+16
-59
lines changed

java/client/test/org/openqa/selenium/environment/webserver/JettyAppServer.java

-4
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,6 @@ public JettyAppServer(String hostName, int httpPort, int httpsPort) {
139139
defaultContext.setInitParameter("path", TEMP_SRC_CONTEXT_PATH);
140140
defaultContext.setInitParameter("webSrc", webSrc.toAbsolutePath().toString());
141141

142-
addServlet(defaultContext, "/manifest/*", ManifestServlet.class);
143-
144142
addServlet(defaultContext, "/quitquitquit", KillSwitchServlet.class);
145143
addServlet(defaultContext, "/generated/*", GeneratedJsTestServlet.class);
146144

@@ -168,8 +166,6 @@ public JettyAppServer(String hostName, int httpPort, int httpsPort) {
168166
defaultContext.addServlet(new ServletHolder(new HttpHandlerServlet(Route.combine(route, prefixed))), "/*");
169167

170168
server.setHandler(handlers);
171-
172-
System.out.println("Listening on " + whereIs("/"));
173169
}
174170

175171
private void addJsResourceHandler(String handlerPath, String dirPath) {

java/client/test/org/openqa/selenium/environment/webserver/ManifestServlet.java

-55
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
load("@rules_jvm_external//:defs.bzl", "artifact")
2+
load("//java:defs.bzl", "java_library", "java_selenium_test_suite")
3+
4+
java_selenium_test_suite(
5+
name = "large-tests",
6+
size = "large",
7+
srcs = glob(["*.java"]),
8+
deps = [
9+
"//java/client/src/org/openqa/selenium/remote",
10+
"//java/client/test/org/openqa/selenium/testing:annotations",
11+
"//java/client/test/org/openqa/selenium/testing:test-base",
12+
"//java/client/test/org/openqa/selenium/testing/drivers",
13+
artifact("junit:junit"),
14+
artifact("org.assertj:assertj-core"),
15+
],
16+
)

0 commit comments

Comments
 (0)