diff --git a/vertx-vaadin-quarkus-extension/integration-tests/common-test-code/src/test/java/com/github/mcollovati/vertx/vaadin/quarkus/it/AbstractCdiIT.java b/vertx-vaadin-quarkus-extension/integration-tests/common-test-code/src/test/java/com/github/mcollovati/vertx/vaadin/quarkus/it/AbstractCdiIT.java index 47eafc67..6741e55c 100644 --- a/vertx-vaadin-quarkus-extension/integration-tests/common-test-code/src/test/java/com/github/mcollovati/vertx/vaadin/quarkus/it/AbstractCdiIT.java +++ b/vertx-vaadin-quarkus-extension/integration-tests/common-test-code/src/test/java/com/github/mcollovati/vertx/vaadin/quarkus/it/AbstractCdiIT.java @@ -42,7 +42,7 @@ protected void follow(String linkText) { } protected String getText(String id) { - return findElement(By.id(id)).getText(); + return waitUntil(d -> findElement(By.id(id))).getText(); } protected void assertCountEquals(int expectedCount, String counter) throws IOException {