Commit 88a900eb authored by Ivan Tyagov's avatar Ivan Tyagov

Fix tests after r45717.

Add a new UI tests for fix in r45717.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45719 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 62d3fd54
......@@ -104,12 +104,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -135,7 +135,7 @@
<!-- Click on + a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -145,27 +145,27 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>c1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>c10</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>c11</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[26]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[26]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -191,7 +191,7 @@
<!-- Click on + c1 -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -201,27 +201,27 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-open"]</td>\n
<td>c1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>c10</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>c11</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[26]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[26]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -247,7 +247,7 @@
<!-- Click on - a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -257,12 +257,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -293,12 +293,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -324,8 +324,7 @@
</tal:block>\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
......@@ -104,12 +104,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -135,7 +135,7 @@
<!-- Click on + a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -145,22 +145,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -224,8 +224,7 @@
</tal:block>\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
......@@ -104,12 +104,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -135,7 +135,7 @@
<!-- Click on + a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -145,22 +145,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -186,7 +186,7 @@
<!-- Click on + a2 -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -196,22 +196,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-open"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -232,7 +232,7 @@
<!-- Click on - a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -242,12 +242,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -278,12 +278,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -309,8 +309,7 @@
</tal:block>\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_text</string> </key>
<value> <unicode encoding="cdata"><![CDATA[
<html xmlns:tal="http://xml.zope.org/namespaces/tal"\n
xmlns:metal="http://xml.zope.org/namespaces/metal">\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">\n
<title>Test Dynamic Domain Tree</title>\n
</head>\n
<body>\n
<table cellpadding="1" cellspacing="1" border="1">\n
<thead>\n
<tr><td rowspan="1" colspan="3">Test Dynamic Domain Tree</td></tr>\n
</thead><tbody>\n
<!-- Domain tree are not avalaible in mobile skin \n
So this part is skipped -->\n
<tal:block tal:condition="python: context.TestTool_getSkinName()!=\'Mobile\'">\n
\n
<tal:block metal:use-macro="here/ListBoxZuite_CommonTemplate/macros/init" />\n
<tr>\n
<td>open</td>\n
<td>${base_url}/foo_module/FooModule_viewListboxAsDomainTreeDialog</td>\n
<td></td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>setDomainTreeMode:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>type</td>\n
\t<td>field_your_id</td>\n
\t<td>test_id</td>\n
</tr>\n
<tr>\n
\t<td>type</td>\n
\t<td>field_your_title</td>\n
\t<td>test_title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>unfoldDomain:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_id</td>\n
\t<td>test_id</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_title</td>\n
\t<td>test_title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>foldDomain:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_id</td>\n
\t<td>test_id</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_title</td>\n
\t<td>test_title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>document.forms[0].elements[\'unfoldDomain:method\'][1]</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_id</td>\n
\t<td>test_id</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_title</td>\n
\t<td>test_title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>foldDomain:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>listbox_nextPage:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_id</td>\n
\t<td>test_id</td>\n
</tr>\n
<tr>\n
\t<td>verifyValue</td>\n
\t<td>field_your_title</td>\n
\t<td>test_title</td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>listbox_firstPage:method</td>\n
\t<td></td>\n
</tr>\n
<tr>\n
\t<td>clickAndWait</td>\n
\t<td>setFlatListMode:method</td>\n
\t<td></td>\n
</tr>\n
\n
</tal:block>\n
</tbody></table>\n
</body>\n
</html>
]]></unicode> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/html</string> </value>
</item>
<item>
<key> <string>expand</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>testDomainTreeDialogFormValuesKept</string> </value>
</item>
<item>
<key> <string>output_encoding</string> </key>
<value> <string>utf-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <unicode></unicode> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -104,12 +104,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
......@@ -135,7 +135,7 @@
<!-- Click on + Title 0 -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -145,22 +145,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>Title 0</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>Title 3</td>\n
</tr>\n
<tr>\n
......@@ -194,12 +194,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>Title 1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>Title 2</td>\n
</tr>\n
<tr>\n
......@@ -221,8 +221,7 @@
</tal:block>\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
......@@ -104,12 +104,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -135,7 +135,7 @@
<!-- Click on + a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -145,22 +145,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -186,7 +186,7 @@
<!-- Click on + a2 -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -196,22 +196,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-open"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -232,7 +232,7 @@
<!-- Click on - a -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -242,12 +242,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -278,12 +278,12 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<tr>\n
......@@ -309,8 +309,7 @@
</tal:block>\n
</tbody></table>\n
</body>\n
</html>\n
</html>
]]></unicode> </value>
</item>
......
......@@ -385,18 +385,18 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<!-- Click on "+ a" link -->\n
<tr>\n
<td>clickAndWait</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-closed"]</td>\n
<td></td>\n
</tr>\n
<tr>\n
......@@ -406,22 +406,22 @@
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//a[@class="tree-open"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[1]//button[@class="tree-open"]</td>\n
<td>a</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[2]//button[@class="tree-closed"]</td>\n
<td>a1</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[3]//button[@class="tree-closed"]</td>\n
<td>a2</td>\n
</tr>\n
<tr>\n
<td>verifyText</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//a[@class="tree-closed"]</td>\n
<td>//table[@class="listbox-table-domain-tree"]//tr[4]//button[@class="tree-closed"]</td>\n
<td>b</td>\n
</tr>\n
<!-- END of inspired code -->\n
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="ERP5Form" module="Products.ERP5Form.Form"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
</klass>
<tuple/>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary/>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>action</string> </key>
<value> <string>FooModule_viewFooList</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>edit_order</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>enctype</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>group_list</string> </key>
<value>
<list>
<string>left</string>
<string>right</string>
<string>center</string>
<string>bottom</string>
<string>disabled</string>
</list>
</value>
</item>
<item>
<key> <string>groups</string> </key>
<value>
<dictionary>
<item>
<key> <string>bottom</string> </key>
<value>
<list>
<string>listbox</string>
</list>
</value>
</item>
<item>
<key> <string>center</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>disabled</string> </key>
<value>
<list/>
</value>
</item>
<item>
<key> <string>left</string> </key>
<value>
<list>
<string>your_id</string>
<string>your_title</string>
</list>
</value>
</item>
<item>
<key> <string>right</string> </key>
<value>
<list/>
</value>
</item>
</dictionary>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>FooModule_viewListboxAsDomainTreeDialog</string> </value>
</item>
<item>
<key> <string>method</string> </key>
<value> <string>POST</string> </value>
</item>
<item>
<key> <string>name</string> </key>
<value> <string>FooModule_viewSearchDialog</string> </value>
</item>
<item>
<key> <string>pt</string> </key>
<value> <string>form_dialog</string> </value>
</item>
<item>
<key> <string>row_length</string> </key>
<value> <int>4</int> </value>
</item>
<item>
<key> <string>stored_encoding</string> </key>
<value> <string>UTF-8</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Listbox Domain Tree in Dialog Mode</string> </value>
</item>
<item>
<key> <string>unicode_mode</string> </key>
<value> <int>0</int> </value>
</item>
<item>
<key> <string>update_action</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>update_action_title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
671
\ No newline at end of file
672
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment