From 29f952364617d5b97fdf1fb67bb841d15c96ef90 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Fri, 16 Jun 2023 14:00:04 +0200 Subject: [PATCH] Ensure `RegisterTest` runs in Chrome and Firefox (#21036) --- .../main/java/org/keycloak/testsuite/pages/RegisterPage.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/RegisterPage.java b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/RegisterPage.java index 4b35ff5d33..73424ab8f0 100644 --- a/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/RegisterPage.java +++ b/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/pages/RegisterPage.java @@ -121,11 +121,6 @@ public class RegisterPage extends AbstractPage { } } - try { - termsAcceptedInput.clear(); - } catch (NoSuchElementException e) { - // ignore - } if (termsAccepted != null && termsAccepted) { termsAcceptedInput.click(); }