myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1367897 - in /myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree: tree-expanded.selenium.html tree-expanded.xhtml
Date Wed, 01 Aug 2012 09:40:20 GMT
Author: lofwyr
Date: Wed Aug  1 09:40:19 2012
New Revision: 1367897

URL: http://svn.apache.org/viewvc?rev=1367897&view=rev
Log:
TOBAGO-1174: Easier handling of Selenium tests
using explicit ids to fix the JSPX variant

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.selenium.html
    myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.selenium.html
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.selenium.html?rev=1367897&r1=1367896&r2=1367897&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.selenium.html
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.selenium.html
Wed Aug  1 09:40:19 2012
@@ -47,7 +47,7 @@
 </tr>
 <tr>
 	<td>click</td>
-	<td>//span[@id='page:tree:8:j_id3']/img[2]</td>
+	<td>//span[@id='page:tree:8:indent']/img[2]</td>
 	<td></td>
 </tr>
 <!--node expanded-->
@@ -58,7 +58,7 @@
 </tr>
 <tr>
 	<td>clickAndWait</td>
-	<td>id=page:tree:7:j_id4</td>
+	<td>id=page:tree:7:command</td>
 	<td></td>
 </tr>
 <!--node collapsed-->

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.xhtml?rev=1367897&r1=1367896&r2=1367897&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/tree/tree-expanded.xhtml
Wed Aug  1 09:40:19 2012
@@ -18,8 +18,6 @@
 
 <f:view
     xmlns:tc="http://myfaces.apache.org/tobago/component"
-    xmlns:tx="http://myfaces.apache.org/tobago/extension"
-    xmlns:ui="http://java.sun.com/jsf/facelets"
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
@@ -34,8 +32,8 @@
 
     <tc:tree id="tree" value="#{tree.tree}" state="#{tree.state}" var="node" showRoot="true"
showRootJunction="true">
       <tc:treeNode id="node">
-        <tc:treeIndent/>
-        <tc:treeCommand label="#{node.userObject.name}"/>
+        <tc:treeIndent id="indent"/>
+        <tc:treeCommand id="command" label="#{node.userObject.name}"/>
       </tc:treeNode>
     </tc:tree>
 



Mime
View raw message