diff --git a/flow-tests/test-application-theme/test-theme-live-reload/src/test/java/com/vaadin/flow/uitest/ui/ThemeLiveReloadIT.java b/flow-tests/test-application-theme/test-theme-live-reload/src/test/java/com/vaadin/flow/uitest/ui/ThemeLiveReloadIT.java index 3a6fe8725e0..3c84bb4f83b 100644 --- a/flow-tests/test-application-theme/test-theme-live-reload/src/test/java/com/vaadin/flow/uitest/ui/ThemeLiveReloadIT.java +++ b/flow-tests/test-application-theme/test-theme-live-reload/src/test/java/com/vaadin/flow/uitest/ui/ThemeLiveReloadIT.java @@ -87,9 +87,8 @@ public void webpackLiveReload_newCssAndFontCreatedAndDeleted_stylesUpdatedOnFly( + "applying the font styles", fontFile.exists()); // Live reload upon adding a new font file and a new styles.css - doActionAndWaitUntilLiveReloadComplete(this::copyFontFile); - doActionAndWaitUntilLiveReloadComplete( - this::createStylesCssWithFontAndRedBackground); + copyFontFile(); + createStylesCssWithFontAndRedBackground(); waitUntilCustomFont(); waitUntilCustomBackgroundColor();