Fix timeouts after logout from servlet
This commit is contained in:
parent
b82346761c
commit
49e9965125
1 changed files with 4 additions and 1 deletions
|
@ -2,6 +2,8 @@ package org.keycloak.testsuite.adapter.page;
|
||||||
|
|
||||||
import org.keycloak.testsuite.page.AbstractPageWithInjectedUrl;
|
import org.keycloak.testsuite.page.AbstractPageWithInjectedUrl;
|
||||||
|
|
||||||
|
import static org.keycloak.testsuite.util.WaitUtils.pause;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author mhajas
|
* @author mhajas
|
||||||
*/
|
*/
|
||||||
|
@ -9,6 +11,7 @@ public abstract class SAMLServletWithLogout extends AbstractPageWithInjectedUrl
|
||||||
|
|
||||||
public void logout() {
|
public void logout() {
|
||||||
driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
|
driver.navigate().to(getUriBuilder().queryParam("GLO", "true").build().toASCIIString());
|
||||||
getUriBuilder().replaceQueryParam("GLO",null);
|
getUriBuilder().replaceQueryParam("GLO", null);
|
||||||
|
pause(300);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue