Disable loading favicion.ico for vaadin 14 tests
ADD
instrumentation/vaadin-14.2/javaagent/src/vaadin142Test/java/test/vaadin/ApplicationServiceInitListener.java
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package test.vaadin;
+
+import com.vaadin.flow.server.ServiceInitEvent;
+import com.vaadin.flow.server.VaadinServiceInitListener;
+
+public class ApplicationServiceInitListener implements VaadinServiceInitListener {
+ @Override
+ public void serviceInit(ServiceInitEvent event) {
+ event.addBootstrapListener(
+ response -> {
+ // ensure that there is no need to request favicon.ico
+ response.getDocument().head().append("<link rel=\"icon\" href=\"data:,\">");
+ });
+ }
+}

ADD
instrumentation/vaadin-14.2/javaagent/src/vaadin142Test/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener
+test.vaadin.ApplicationServiceInitListener
\ No newline at end of file

ADD
instrumentation/vaadin-14.2/javaagent/src/vaadin14LatestTest/java/test/vaadin/ApplicationServiceInitListener.java
+/*
+ * Copyright The OpenTelemetry Authors
+ * SPDX-License-Identifier: Apache-2.0
+ */
+
+package test.vaadin;
+
+import com.vaadin.flow.server.ServiceInitEvent;
+import com.vaadin.flow.server.VaadinServiceInitListener;
+
+public class ApplicationServiceInitListener implements VaadinServiceInitListener {
+ @Override
+ public void serviceInit(ServiceInitEvent event) {
+ event.addBootstrapListener(
+ response -> {
+ // ensure that there is no need to request favicon.ico
+ response.getDocument().head().append("<link rel=\"icon\" href=\"data:,\">");
+ });
+ }
+}

ADD
instrumentation/vaadin-14.2/javaagent/src/vaadin14LatestTest/resources/META-INF/services/com.vaadin.flow.server.VaadinServiceInitListener
+test.vaadin.ApplicationServiceInitListener
\ No newline at end of file

RENAME
instrumentation/vaadin-14.2/testing/src/main/groovy/test/vaadin/MainView.java
instrumentation/vaadin-14.2/testing/src/main/java/test/vaadin/MainView.java
RENAME
instrumentation/vaadin-14.2/testing/src/main/groovy/test/vaadin/OtherView.java
instrumentation/vaadin-14.2/testing/src/main/java/test/vaadin/OtherView.java
Disable loading favicion.ico for vaadin 14 tests (#4856)