Skip to content

Commit

Permalink
stabilize barcode: increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-rew committed Oct 31, 2023
1 parent acf32ba commit 1fadbf2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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();
}

}

0 comments on commit 1fadbf2

Please sign in to comment.