diff --git a/flow-tests/test-webpush/src/main/java/com/vaadin/flow/webpush/WebPushView.java b/flow-tests/test-webpush/src/main/java/com/vaadin/flow/webpush/WebPushView.java
index 37863c39168..07de2881b97 100644
--- a/flow-tests/test-webpush/src/main/java/com/vaadin/flow/webpush/WebPushView.java
+++ b/flow-tests/test-webpush/src/main/java/com/vaadin/flow/webpush/WebPushView.java
@@ -51,7 +51,8 @@ public class WebPushView extends Div {
private WebPushSubscription subscription;
public WebPushView() {
- webPush = new WebPush(PUBLIC_KEY, PRIVATE_KEY, "test");
+ webPush = new WebPush(PUBLIC_KEY, PRIVATE_KEY,
+ "mailto:test@noresponse.com");
check = new NativeButton("Check",
event -> webPush.subscriptionExists(
diff --git a/flow-webpush/pom.xml b/flow-webpush/pom.xml
index b38b8acd568..9d570daf5d1 100644
--- a/flow-webpush/pom.xml
+++ b/flow-webpush/pom.xml
@@ -26,9 +26,21 @@
- dev.blanke.webpush.jwt
- webpush-jwt-jose4j
- 6.1.3
+ com.interaso
+ webpush
+ 1.2.0
+
+
+ org.jetbrains.kotlin
+ kotlin-stdlib
+
+
+
+
+
+ org.jetbrains.kotlin
+ kotlin-stdlib
+ 2.2.21