[weld-commits] Weld SVN: r6064 - ftest/login/trunk/src/main/java/org/jboss/weld/example/login/test/selenium.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Tue Mar 23 09:06:15 EDT 2010
Author: mgencur at redhat.com
Date: 2010-03-23 09:06:14 -0400 (Tue, 23 Mar 2010)
New Revision: 6064
Modified:
ftest/login/trunk/src/main/java/org/jboss/weld/example/login/test/selenium/CommonLoginTest.java
Log:
fixed ftest for login - just change of right credentials
Modified: ftest/login/trunk/src/main/java/org/jboss/weld/example/login/test/selenium/CommonLoginTest.java
===================================================================
--- ftest/login/trunk/src/main/java/org/jboss/weld/example/login/test/selenium/CommonLoginTest.java 2010-03-22 13:25:35 UTC (rev 6063)
+++ ftest/login/trunk/src/main/java/org/jboss/weld/example/login/test/selenium/CommonLoginTest.java 2010-03-23 13:06:14 UTC (rev 6064)
@@ -57,8 +57,8 @@
public void loginTest()
{
assertFalse(browser.isElementPresent(LOGGED_IN), "User should not be logged in!");
- browser.type(USERNAME_FIELD, "User");
- browser.type(PASSWORD_FIELD, "password");
+ browser.type(USERNAME_FIELD, "demo");
+ browser.type(PASSWORD_FIELD, "demo");
browser.clickAndWait(LOGIN_BUTTON);
assertTrue(browser.isElementPresent(LOGGED_IN), "User should be logged in!");
}
@@ -67,8 +67,8 @@
public void logoutTest()
{
assertFalse(browser.isElementPresent(LOGGED_IN), "User should not be logged in!");
- browser.type(USERNAME_FIELD, "User");
- browser.type(PASSWORD_FIELD, "password");
+ browser.type(USERNAME_FIELD, "demo");
+ browser.type(PASSWORD_FIELD, "demo");
browser.clickAndWait(LOGIN_BUTTON);
assertTrue(browser.isElementPresent(LOGGED_IN), "User should be logged in!");
browser.clickAndWait(LOGOUT_BUTTON);
More information about the weld-commits
mailing list