Skip to content

Commit

Permalink
ARTEMIS-4229 Upgrade selenium version to 4.8.3
Browse files Browse the repository at this point in the history
  • Loading branch information
brusdev authored and gemmellr committed Apr 3, 2023
1 parent 7140829 commit ff87b9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/smoke-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.141.59</version>
<version>4.8.3</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public void before() throws Exception {

// Wait for server console
WebDriverWait loadWebDriverWait = new WebDriverWait(
driver, Duration.ofMillis(30000).getSeconds());
driver, Duration.ofMillis(30000));

logger.info("Loading " + webServerUrl);
loadWebDriverWait.until((Function<WebDriver, Object>) webDriver -> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ public void waitForLoading(int timeout) {

public void waitForElementToBeVisible(final By elementLocator, int timeout) {
WebDriverWait loadWebDriverWait = new WebDriverWait(
driver, Duration.ofMillis(timeout).getSeconds());
driver, Duration.ofMillis(timeout));

loadWebDriverWait.until(ExpectedConditions.visibilityOfElementLocated(elementLocator));
}

public void waitForElementToBeClickable(final By elementLocator, int timeout) {
WebDriverWait loadWebDriverWait = new WebDriverWait(
driver, Duration.ofMillis(timeout).getSeconds());
driver, Duration.ofMillis(timeout));

loadWebDriverWait.until(ExpectedConditions.elementToBeClickable(elementLocator));
}
Expand Down

0 comments on commit ff87b9c

Please sign in to comment.