KEYCLOAK-8035 Fix failing GitLab Social Login test
This commit is contained in:
parent
fa8cb004a1
commit
79774d2f07
1 changed files with 7 additions and 1 deletions
|
@ -45,6 +45,12 @@ public class GitLabLoginPage extends AbstractSocialLoginPage {
|
||||||
catch (NoSuchElementException e) {
|
catch (NoSuchElementException e) {
|
||||||
// already logged in
|
// already logged in
|
||||||
}
|
}
|
||||||
authorizeButton.click();
|
|
||||||
|
try {
|
||||||
|
authorizeButton.click();
|
||||||
|
}
|
||||||
|
catch (NoSuchElementException e) {
|
||||||
|
// might not be necessary
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue