Author: sdumitriu
Date: 2008-02-12 19:08:46 +0100 (Tue, 12 Feb 2008)
New Revision: 7558

Modified:
   
xwiki-products/xwiki-enterprise/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AlbatrossSkinExecutor.java
Log:
The registration link is not a good way to assert that the user is authenticated


Modified: 
xwiki-products/xwiki-enterprise/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AlbatrossSkinExecutor.java
===================================================================
--- 
xwiki-products/xwiki-enterprise/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AlbatrossSkinExecutor.java
   2008-02-12 18:06:51 UTC (rev 7557)
+++ 
xwiki-products/xwiki-enterprise/trunk/distribution-test/selenium-tests/src/test/it/com/xpn/xwiki/it/selenium/framework/AlbatrossSkinExecutor.java
   2008-02-12 18:08:46 UTC (rev 7558)
@@ -71,8 +71,7 @@
 
     public boolean isAuthenticated()
     {
-        return !(getTest().isElementPresent("headerlogin") && 
getTest().isElementPresent(
-            "headerregister"));
+        return !(getTest().isElementPresent("headerlogin"));
     }
 
     public void logout()

_______________________________________________
notifications mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/notifications

Reply via email to