Skip to content

Commit

Permalink
Merge branch 'fix/oidc-integration-test' into 'develop'
Browse files Browse the repository at this point in the history
OEQ-2397 fix: OidcIntegrationTest

See merge request edalex-group/development/oeq/openequella!519
  • Loading branch information
I Stevenson committed Jan 28, 2025
2 parents 71a0313 + 371ae1c commit 290e108
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,14 @@ public LoginPage loginWithError(String username, String password) {

public String getLoginFailure() {
WebElement errorMessage =
waiter.until(ExpectedConditions.visibilityOf(driver.findElement(By.name("login_failure"))));
waiter.until(ExpectedConditions.presenceOfElementLocated(By.name("login_failure")));
return errorMessage.getText();
}

public String getLoginErrorDetails() {
WebElement errorMessage =
waiter.until(
ExpectedConditions.visibilityOf(
driver.findElement(By.name("login_error_description"))));
ExpectedConditions.presenceOfElementLocated(By.name("login_error_description")));
return errorMessage.getText();
}

Expand Down

0 comments on commit 290e108

Please sign in to comment.