diff --git a/aspose-barcode-demo-test/src_test/com/axonivy/utils/docfactory/test/WebTestAsposeBarcodeDemoIT.java b/aspose-barcode-demo-test/src_test/com/axonivy/utils/docfactory/test/WebTestAsposeBarcodeDemoIT.java index 8f826143..07dc37f2 100644 --- a/aspose-barcode-demo-test/src_test/com/axonivy/utils/docfactory/test/WebTestAsposeBarcodeDemoIT.java +++ b/aspose-barcode-demo-test/src_test/com/axonivy/utils/docfactory/test/WebTestAsposeBarcodeDemoIT.java @@ -5,6 +5,8 @@ import static com.codeborne.selenide.Selenide.$; import static com.codeborne.selenide.Selenide.open; +import java.time.Duration; + import org.junit.jupiter.api.Test; import org.openqa.selenium.By; @@ -26,7 +28,7 @@ public void createBarcodePage(){ $(By.id(BARCODE_STRING)).sendKeys(String.valueOf("Hello Axon Ivy")); $(By.id(PROCEED_BUTTON)).shouldBe(visible).click(); - $(By.id(BARCODE_IMAGE)).shouldBe(visible).isImage(); + $(By.id(BARCODE_IMAGE)).shouldBe(visible, Duration.ofSeconds(30)).isImage(); } } \ No newline at end of file