Commit be4365cf authored by Jean-Paul Smets's avatar Jean-Paul Smets

2006-09-15 jp

* use bar_category instead of destination

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10015 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d912e6f5
...@@ -105,7 +105,7 @@ the same Form</td></tr>\n ...@@ -105,7 +105,7 @@ the same Form</td></tr>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>field_my_destination_title_list</td>\n <td>field_my_bar_category_title_list</td>\n
<td>Title 1</td>\n <td>Title 1</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
...@@ -126,7 +126,7 @@ the same Form</td></tr>\n ...@@ -126,7 +126,7 @@ the same Form</td></tr>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>field_my_destination_title_list</td>\n <td>field_my_bar_category_title_list</td>\n
<td>Title 1</td>\n <td>Title 1</td>\n
</tr>\n </tr>\n
</tbody></table>\n </tbody></table>\n
......
...@@ -77,53 +77,131 @@ to set categories</td></tr>\n ...@@ -77,53 +77,131 @@ to set categories</td></tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/FooModule_createObjects?num:int=2</td>\n <td>${base_url}/foo_module/FooModule_createObjects?num:int=2</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextPresent</td>\n <td>assertTextPresent</td>\n
<td>Created Successfully.</td>\n <td>Created Successfully.</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/ListBoxZuite_waitForActivities</td>\n <td>${base_url}/foo_module/ListBoxZuite_waitForActivities</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>assertTextPresent</td>\n <td>assertTextPresent</td>\n
<td>Done.</td>\n <td>Done.</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>open</td>\n <td>open</td>\n
<td>${base_url}/foo_module/0/Base_viewMetadata</td>\n <td>${base_url}/foo_module/0/Base_viewMetadata</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>field_my_category_list</td>\n <td>field_my_category_list</td>\n
<td>destination/foo_module/0\n <td>bar_category/foo_module/0\n
destination/foo_module/1</td>\n bar_category/foo_module/1</td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>//button[@title=\'Save\']</td>\n <td>//button[@title=\'Save\']</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyPortalStatusMessage</td>\n <td>verifyPortalStatusMessage</td>\n
<td>Data Updated.</td>\n <td>Data Updated.</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
<td>link=Relation Fields</td>\n <td>link=Relation Fields</td>\n
<td></td>\n <td></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 0\n
Title 1</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 0\n
Title 1\n
Title 1</td>\n
<td>Make sure than we can repeat the second item in a list</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@title=\'Save\']</td>\n
<td></td>\n
<td></td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>field_my_destination_title_list</td>\n <td>field_my_bar_category_title_list</td>\n
<td>Title 0\n <td>Title 0\n
Title 1\n
Title 1</td>\n Title 1</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 0\n
Title 0\n
Title 1\n
Title 1</td>\n
<td>Make sure that we can repeat the first item (default) in a list</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@title=\'Save\']</td>\n
<td></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 0\n
Title 0\n
Title 1\n
Title 1</td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>type</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 1\n
Title 0\n
Title 1</td>\n
<td>Make sure we can reorder items in a list</td>\n
</tr>\n
<tr>\n
<td>clickAndWait</td>\n
<td>//button[@title=\'Save\']</td>\n
<td></td>\n
<td></td>\n
</tr>\n
<tr>\n
<td>verifyValue</td>\n
<td>field_my_bar_category_title_list</td>\n
<td>Title 1\n
Title 0\n
Title 1</td>\n
<td></td>\n
</tr>\n </tr>\n
<!-- XXX don\'t test jump for now, because we don\'t have good locators anyway.\n <!-- XXX don\'t test jump for now, because we don\'t have good locators anyway.\n
-->\n -->\n
......
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
<string>my_id</string> <string>my_id</string>
<string>my_title</string> <string>my_title</string>
<string>my_foo_category_title</string> <string>my_foo_category_title</string>
<string>my_destination_title_list</string> <string>my_bar_category_title_list</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_destination_title_list</string> </value> <value> <string>my_bar_category_title_list</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -252,9 +252,7 @@ ...@@ -252,9 +252,7 @@
</item> </item>
<item> <item>
<key> <string>default</string> </key> <key> <string>default</string> </key>
<value> <value> <string></string> </value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
...@@ -393,7 +391,7 @@ ...@@ -393,7 +391,7 @@
</item> </item>
<item> <item>
<key> <string>base_category</string> </key> <key> <string>base_category</string> </key>
<value> <string>destination</string> </value> <value> <string>bar_category</string> </value>
</item> </item>
<item> <item>
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
...@@ -526,7 +524,7 @@ ...@@ -526,7 +524,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Destination Titles - XXX with workaround on default TALES</string> </value> <value> <string>Bar Titles</string> </value>
</item> </item>
<item> <item>
<key> <string>unicode</string> </key> <key> <string>unicode</string> </key>
...@@ -558,23 +556,4 @@ ...@@ -558,23 +556,4 @@
</dictionary> </dictionary>
</pickle> </pickle>
</record> </record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<tuple>
<tuple>
<string>Products.Formulator.TALESField</string>
<string>TALESMethod</string>
</tuple>
<none/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_text</string> </key>
<value> <string>python:[x.getTitle() for x in here.getDestinationValueList()]</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData> </ZopeData>
bar_category
foo_category foo_category
foo_empty_category foo_empty_category
\ 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