Fix timeouts after logout from servlet

This commit is contained in:
mhajas 2015-12-10 15:26:33 +01:00
parent b82346761c
commit 49e9965125

View file

@ -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
*/ */
@ -10,5 +12,6 @@ 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);
} }
} }