Add step to Google Social Login (#30335)
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
This commit is contained in:
parent
c49b5749ef
commit
a5cd6ed965
1 changed files with 4 additions and 0 deletions
|
@ -47,6 +47,7 @@ import org.keycloak.testsuite.pages.social.OpenShiftLoginPage;
|
||||||
import org.keycloak.testsuite.pages.social.PayPalLoginPage;
|
import org.keycloak.testsuite.pages.social.PayPalLoginPage;
|
||||||
import org.keycloak.testsuite.pages.social.StackOverflowLoginPage;
|
import org.keycloak.testsuite.pages.social.StackOverflowLoginPage;
|
||||||
import org.keycloak.testsuite.pages.social.TwitterConsentLoginPage;
|
import org.keycloak.testsuite.pages.social.TwitterConsentLoginPage;
|
||||||
|
import org.keycloak.testsuite.util.DroneUtils;
|
||||||
import org.keycloak.testsuite.util.IdentityProviderBuilder;
|
import org.keycloak.testsuite.util.IdentityProviderBuilder;
|
||||||
import org.keycloak.testsuite.util.OAuthClient;
|
import org.keycloak.testsuite.util.OAuthClient;
|
||||||
import org.keycloak.testsuite.util.RealmBuilder;
|
import org.keycloak.testsuite.util.RealmBuilder;
|
||||||
|
@ -289,6 +290,9 @@ public class SocialLoginTest extends AbstractKeycloakTest {
|
||||||
public void googleLogin() throws InterruptedException {
|
public void googleLogin() throws InterruptedException {
|
||||||
setTestProvider(GOOGLE);
|
setTestProvider(GOOGLE);
|
||||||
performLogin();
|
performLogin();
|
||||||
|
DroneUtils.getCurrentDriver().findElement(By.xpath("//button//span[contains(.,'Continue')]")).click();
|
||||||
|
WaitUtils.pause(3000);
|
||||||
|
WaitUtils.waitForPageToLoad();
|
||||||
appPage.assertCurrent();
|
appPage.assertCurrent();
|
||||||
testTokenExchange();
|
testTokenExchange();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue