Add step to Google Social Login (#30335)

Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
This commit is contained in:
Alfredo Moises Boullosa 2024-06-11 14:12:27 +02:00 committed by Marek Posolda
parent c49b5749ef
commit a5cd6ed965

View file

@ -47,6 +47,7 @@ import org.keycloak.testsuite.pages.social.OpenShiftLoginPage;
import org.keycloak.testsuite.pages.social.PayPalLoginPage;
import org.keycloak.testsuite.pages.social.StackOverflowLoginPage;
import org.keycloak.testsuite.pages.social.TwitterConsentLoginPage;
import org.keycloak.testsuite.util.DroneUtils;
import org.keycloak.testsuite.util.IdentityProviderBuilder;
import org.keycloak.testsuite.util.OAuthClient;
import org.keycloak.testsuite.util.RealmBuilder;
@ -289,6 +290,9 @@ public class SocialLoginTest extends AbstractKeycloakTest {
public void googleLogin() throws InterruptedException {
setTestProvider(GOOGLE);
performLogin();
DroneUtils.getCurrentDriver().findElement(By.xpath("//button//span[contains(.,'Continue')]")).click();
WaitUtils.pause(3000);
WaitUtils.waitForPageToLoad();
appPage.assertCurrent();
testTokenExchange();
}