Enable back a few tests that have been fixed to run on Firefox and Chrome.

This commit is contained in:
Miquel Simon 2023-06-26 12:16:40 +02:00 committed by Bruno Oliveira da Silva
parent 216bbe512f
commit 46fa7d2e6c
3 changed files with 0 additions and 17 deletions

View file

@ -36,7 +36,6 @@ import org.keycloak.services.managers.BruteForceProtector;
import org.keycloak.testsuite.AbstractTestRealmKeycloakTest; import org.keycloak.testsuite.AbstractTestRealmKeycloakTest;
import org.keycloak.testsuite.AssertEvents; import org.keycloak.testsuite.AssertEvents;
import org.keycloak.testsuite.AssertEvents.ExpectedEvent; import org.keycloak.testsuite.AssertEvents.ExpectedEvent;
import org.keycloak.testsuite.arquillian.annotation.IgnoreBrowserDriver;
import org.keycloak.testsuite.pages.AppPage; import org.keycloak.testsuite.pages.AppPage;
import org.keycloak.testsuite.pages.AppPage.RequestType; import org.keycloak.testsuite.pages.AppPage.RequestType;
import org.keycloak.testsuite.pages.LoginPage; import org.keycloak.testsuite.pages.LoginPage;
@ -51,9 +50,6 @@ import org.keycloak.testsuite.util.RealmRepUtil;
import org.keycloak.testsuite.util.UserBuilder; import org.keycloak.testsuite.util.UserBuilder;
import jakarta.mail.internet.MimeMessage; import jakarta.mail.internet.MimeMessage;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.net.MalformedURLException; import java.net.MalformedURLException;
import java.util.Calendar; import java.util.Calendar;
import java.util.Collections; import java.util.Collections;
@ -568,8 +564,6 @@ public class BruteForceTest extends AbstractTestRealmKeycloakTest {
} }
@Test @Test
@IgnoreBrowserDriver(FirefoxDriver.class) // TODO: https://github.com/keycloak/keycloak/issues/20525
@IgnoreBrowserDriver(ChromeDriver.class)
public void testResetPassword() throws Exception { public void testResetPassword() throws Exception {
String userId = adminClient.realm("test").users().search("user2", null, null, null, 0, 1).get(0).getId(); String userId = adminClient.realm("test").users().search("user2", null, null, null, 0, 1).get(0).getId();

View file

@ -38,7 +38,6 @@ import org.keycloak.representations.idm.UserRepresentation;
import org.keycloak.testsuite.AbstractTestRealmKeycloakTest; import org.keycloak.testsuite.AbstractTestRealmKeycloakTest;
import org.keycloak.testsuite.AssertEvents; import org.keycloak.testsuite.AssertEvents;
import org.keycloak.testsuite.AbstractTestRealmKeycloakTest; import org.keycloak.testsuite.AbstractTestRealmKeycloakTest;
import org.keycloak.testsuite.arquillian.annotation.IgnoreBrowserDriver;
import org.keycloak.testsuite.pages.AppPage; import org.keycloak.testsuite.pages.AppPage;
import org.keycloak.testsuite.pages.AppPage.RequestType; import org.keycloak.testsuite.pages.AppPage.RequestType;
import org.keycloak.testsuite.pages.LoginPage; import org.keycloak.testsuite.pages.LoginPage;
@ -54,9 +53,6 @@ import org.keycloak.testsuite.util.AccountHelper;
import jakarta.mail.internet.MimeMessage; import jakarta.mail.internet.MimeMessage;
import jakarta.ws.rs.core.Response; import jakarta.ws.rs.core.Response;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import java.io.IOException; import java.io.IOException;
import java.util.UUID; import java.util.UUID;
@ -653,8 +649,6 @@ public class RegisterTest extends AbstractTestRealmKeycloakTest {
//KEYCLOAK-15244 //KEYCLOAK-15244
@Test @Test
@IgnoreBrowserDriver(ChromeDriver.class) // TODO: https://github.com/keycloak/keycloak/issues/20992
@IgnoreBrowserDriver(FirefoxDriver.class)
public void registerUserMissingTermsAcceptance() { public void registerUserMissingTermsAcceptance() {
configureRegistrationFlowWithCustomRegistrationPageForm(UUID.randomUUID().toString(), configureRegistrationFlowWithCustomRegistrationPageForm(UUID.randomUUID().toString(),
AuthenticationExecutionModel.Requirement.REQUIRED); AuthenticationExecutionModel.Requirement.REQUIRED);
@ -681,8 +675,6 @@ public class RegisterTest extends AbstractTestRealmKeycloakTest {
//KEYCLOAK-15244 //KEYCLOAK-15244
@Test @Test
@IgnoreBrowserDriver(ChromeDriver.class) // TODO: https://github.com/keycloak/keycloak/issues/20992
@IgnoreBrowserDriver(FirefoxDriver.class)
public void registerUserSuccessTermsAcceptance() { public void registerUserSuccessTermsAcceptance() {
configureRegistrationFlowWithCustomRegistrationPageForm(UUID.randomUUID().toString(), configureRegistrationFlowWithCustomRegistrationPageForm(UUID.randomUUID().toString(),
AuthenticationExecutionModel.Requirement.REQUIRED); AuthenticationExecutionModel.Requirement.REQUIRED);

View file

@ -32,7 +32,6 @@ import org.keycloak.representations.idm.RealmRepresentation;
import org.keycloak.representations.idm.UserRepresentation; import org.keycloak.representations.idm.UserRepresentation;
import org.keycloak.testsuite.AssertEvents; import org.keycloak.testsuite.AssertEvents;
import org.keycloak.testsuite.AbstractTestRealmKeycloakTest; import org.keycloak.testsuite.AbstractTestRealmKeycloakTest;
import org.keycloak.testsuite.arquillian.annotation.IgnoreBrowserDriver;
import org.keycloak.testsuite.drone.Different; import org.keycloak.testsuite.drone.Different;
import org.keycloak.testsuite.pages.AppPage; import org.keycloak.testsuite.pages.AppPage;
import org.keycloak.testsuite.pages.AppPage.RequestType; import org.keycloak.testsuite.pages.AppPage.RequestType;
@ -41,7 +40,6 @@ import org.keycloak.testsuite.pages.LoginPasswordUpdatePage;
import org.keycloak.testsuite.util.MutualTLSUtils; import org.keycloak.testsuite.util.MutualTLSUtils;
import org.keycloak.testsuite.util.OAuthClient; import org.keycloak.testsuite.util.OAuthClient;
import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotEquals; import static org.junit.Assert.assertNotEquals;
@ -54,7 +52,6 @@ import javax.ws.rs.core.Response;
* @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a> * @author <a href="mailto:sthorger@redhat.com">Stian Thorgersen</a>
* @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc. * @author Stan Silvert ssilvert@redhat.com (C) 2016 Red Hat Inc.
*/ */
@IgnoreBrowserDriver(FirefoxDriver.class) // TODO: https://github.com/keycloak/keycloak/issues/20527
public class SSOTest extends AbstractTestRealmKeycloakTest { public class SSOTest extends AbstractTestRealmKeycloakTest {
@Drone @Drone