diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/actions/TermsAndConditionsTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/actions/TermsAndConditionsTest.java index 7b4a247f53..a0252347ad 100755 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/actions/TermsAndConditionsTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/actions/TermsAndConditionsTest.java @@ -167,7 +167,7 @@ public class TermsAndConditionsTest extends AbstractTestRealmKeycloakTest { attributes.get(TermsAndConditions.USER_ATTRIBUTE)); } assertThat(DroneUtils.getCurrentDriver().getTitle(), equalTo("Account Management")); - Assert.assertTrue(DroneUtils.getCurrentDriver().getPageSource().contains("You need to agree to Terms and Conditions")); + Assert.assertTrue(DroneUtils.getCurrentDriver().getPageSource().contains("You need to accept the Terms and Conditions to continue")); Assert.assertFalse(DroneUtils.getCurrentDriver().getPageSource().contains("An unexpected error occurred")); WebElement tryAgainButton = DroneUtils.getCurrentDriver().findElement(By.tagName("button"));