Fix tests

This commit is contained in:
Stian Thorgersen 2013-11-08 12:33:39 +00:00
parent 90c4cd8bc6
commit c477f7c04c
4 changed files with 5 additions and 5 deletions

View file

@ -119,7 +119,7 @@ public class AccountTest {
loginPage.open(); loginPage.open();
loginPage.login("test-user@localhost", "password"); 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.open();
loginPage.login("test-user@localhost", "new-password"); loginPage.login("test-user@localhost", "new-password");

View file

@ -60,7 +60,7 @@ public class LoginTest {
loginPage.assertCurrent(); loginPage.assertCurrent();
Assert.assertEquals("Invalid username or password", loginPage.getError()); Assert.assertEquals("Invalid username or password.", loginPage.getError());
} }
@Test @Test
@ -70,7 +70,7 @@ public class LoginTest {
loginPage.assertCurrent(); loginPage.assertCurrent();
Assert.assertEquals("Invalid username or password", loginPage.getError()); Assert.assertEquals("Invalid username or password.", loginPage.getError());
} }
@Test @Test

View file

@ -102,7 +102,7 @@ public class LoginTotpTest {
loginTotpPage.login("123456"); loginTotpPage.login("123456");
loginPage.assertCurrent(); loginPage.assertCurrent();
Assert.assertEquals("Invalid username or password", loginPage.getError()); Assert.assertEquals("Invalid username or password.", loginPage.getError());
} }
@Test @Test

View file

@ -90,7 +90,7 @@ public class RegisterTest {
registerPage.register("firstName", "lastName", "email", "registerUserMissingPassword", null, null); registerPage.register("firstName", "lastName", "email", "registerUserMissingPassword", null, null);
registerPage.assertCurrent(); registerPage.assertCurrent();
Assert.assertEquals("Please specify password", registerPage.getError()); Assert.assertEquals("Please specify password.", registerPage.getError());
} }
@Test @Test