You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2012/06/08 12:14:56 UTC

svn commit: r1348007 - /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java

Author: lofwyr
Date: Fri Jun  8 10:14:55 2012
New Revision: 1348007

URL: http://svn.apache.org/viewvc?rev=1348007&view=rev
Log:
TOBAGO-1049: Tree
 - treeIndent should have an own HTML parent tag (which contains the id, use this id as action id)

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java?rev=1348007&r1=1348006&r2=1348007&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/test/java/org/apache/myfaces/tobago/example/test/tc/tree/TreeExpandedSeleniumTest.java Fri Jun  8 10:14:55 2012
@@ -50,7 +50,7 @@ public class TreeExpandedSeleniumTest ex
         getSelenium().getAttribute("page:tree:8:node@class").contains(EXPANDED));
 
     // click on the toggle of node "Science"
-    getSelenium().click("//div[@id='page:tree:8:node']/img[2]");
+    getSelenium().click("//div[@id='page:tree:8:node']/span/img[2]");
 
     // check
     Assert.assertTrue(