diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/AccountTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/AccountTest.java index b38411e4ad..ee46582349 100755 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/AccountTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/AccountTest.java @@ -119,7 +119,7 @@ public class AccountTest { loginPage.open(); loginPage.login("test-user@localhost", "password"); - Assert.assertEquals("Invalid username or password", loginPage.getError()); + Assert.assertEquals("Invalid username or password.", loginPage.getError()); loginPage.open(); loginPage.login("test-user@localhost", "new-password"); diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTest.java index d9628df5d4..fab49b26de 100644 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTest.java @@ -60,7 +60,7 @@ public class LoginTest { loginPage.assertCurrent(); - Assert.assertEquals("Invalid username or password", loginPage.getError()); + Assert.assertEquals("Invalid username or password.", loginPage.getError()); } @Test @@ -70,7 +70,7 @@ public class LoginTest { loginPage.assertCurrent(); - Assert.assertEquals("Invalid username or password", loginPage.getError()); + Assert.assertEquals("Invalid username or password.", loginPage.getError()); } @Test diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTotpTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTotpTest.java index a86392bb9c..a3ea179ecf 100755 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTotpTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/LoginTotpTest.java @@ -102,7 +102,7 @@ public class LoginTotpTest { loginTotpPage.login("123456"); loginPage.assertCurrent(); - Assert.assertEquals("Invalid username or password", loginPage.getError()); + Assert.assertEquals("Invalid username or password.", loginPage.getError()); } @Test diff --git a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/RegisterTest.java b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/RegisterTest.java index 93e773ec1c..e82b31f49f 100644 --- a/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/RegisterTest.java +++ b/testsuite/integration/src/test/java/org/keycloak/testsuite/forms/RegisterTest.java @@ -90,7 +90,7 @@ public class RegisterTest { registerPage.register("firstName", "lastName", "email", "registerUserMissingPassword", null, null); registerPage.assertCurrent(); - Assert.assertEquals("Please specify password", registerPage.getError()); + Assert.assertEquals("Please specify password.", registerPage.getError()); } @Test