[Erp5-report] r20968 - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_tests/ Path...
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed May 14 18:32:14 CEST 2008
Author: rafael
Date: Wed May 14 18:32:12 2008
New Revision: 20968
URL: http://svn.erp5.org?rev=20968&view=rev
Log:
Initial zuite for access tab
Added:
erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/
erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite.xml
erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/testAccessTabPreference.xml
Modified:
erp5/trunk/bt5/erp5_ui_test/bt/change_log
erp5/trunk/bt5/erp5_ui_test/bt/revision
erp5/trunk/bt5/erp5_ui_test/bt/template_path_list
Added: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite.xml?rev=20968&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite.xml Wed May 14 18:32:12 2008
@@ -1,0 +1,35 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="Zuite" module="Products.Zelenium.zuite"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_objects</string> </key>
+ <value>
+ <tuple/>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>access_tab_zuite</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Added: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/testAccessTabPreference.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/testAccessTabPreference.xml?rev=20968&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/testAccessTabPreference.xml (added)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/access_tab_zuite/testAccessTabPreference.xml Wed May 14 18:32:12 2008
@@ -1,0 +1,182 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <tuple>
+ <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+ <tuple/>
+ </tuple>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>__ac_local_roles__</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <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>_owner</string> </key>
+ <value>
+ <none/>
+ </value>
+ </item>
+ <item>
+ <key> <string>_text</string> </key>
+ <value> <string 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 Bread Crumbs</title>\n
+</head>\n
+<body>\n
+<table cellpadding="1" cellspacing="1" border="1">\n
+<thead>\n
+<tr><td rowspan="1" colspan="3">Test Access Tab Front Page Preference</td></tr>\n
+</thead><tbody>\n
+<tal:block metal:use-macro="here/PTZuite_CommonTemplate/macros/init" />\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/portal_preferences/BTZuite_setPreference</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>assertTextPresent</td>\n
+ <td>Set Preference Successfully.</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/portal_preferences/ListBoxZuite_waitForActivities</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>assertTextPresent</td>\n
+ <td>Done.</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/portal_preferences/erp5_ui_test_preference/view</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>clickAndWait</td>\n
+ <td>link=User Interface</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>click</td>\n
+ <td>//input[@name=\'field_my_preferred_html_style_access_tab\']</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>clickAndWait</td>\n
+ <td>//button[@name=\'Base_edit:method\']</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/view</td>\n
+ <td></td>\n
+</tr>\n
+<!-- \n
+ Asserts goes here \n
+ Notes that access tab are visible only if dms, base or express are installed.\n
+ So it can be included here different conditions and assert for all cases.\n
+-->\n
+<tal:block tal:condition="python:getattr(context,\'document_module\',None)" >\n
+ <tr>\n
+ <td>assertText</td>\n
+ <td>//li[@id="quick_search_tab"]/a/span</td>\n
+ <td>Quick Search</td>\n
+ </tr>\n
+</tal:block>\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/portal_preferences/erp5_ui_test_preference/view</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>clickAndWait</td>\n
+ <td>link=User Interface</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>click</td>\n
+ <td>//input[@name=\'field_my_preferred_html_style_access_tab\']</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>clickAndWait</td>\n
+ <td>//button[@name=\'Base_edit:method\']</td>\n
+ <td></td>\n
+</tr>\n
+<tr>\n
+ <td>open</td>\n
+ <td>${base_url}/view</td>\n
+ <td></td>\n
+</tr>\n
+<!-- Asserts goes here -->\n
+<tr>\n
+ <td>assertText</td>\n
+ <td>//div[@class="index_html"]/h2</td>\n
+ <td>Welcome to ERP5</td>\n
+</tr>\n
+\n
+\n
+</tbody></table>\n
+</body>\n
+</html>\n
+
+
+]]></string> </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>testAccessTabPreference</string> </value>
+ </item>
+ <item>
+ <key> <string>title</string> </key>
+ <value> <string></string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_ui_test/bt/change_log
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/change_log?rev=20968&r1=20967&r2=20968&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/change_log (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/change_log Wed May 14 18:32:12 2008
@@ -1,3 +1,6 @@
+2008-05-14 rafael
+* Initial zuite for access tab
+
2008-05-13 jerome
* Initial zuite for matrixbox
Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=20968&r1=20967&r2=20968&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Wed May 14 18:32:12 2008
@@ -1,1 +1,1 @@
-350
+351
Modified: erp5/trunk/bt5/erp5_ui_test/bt/template_path_list
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/template_path_list?rev=20968&r1=20967&r2=20968&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/template_path_list (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/template_path_list Wed May 14 18:32:12 2008
@@ -1,6 +1,8 @@
portal_categories/foo_big_category/**
portal_categories/foo_category/**
portal_domains/foo_domain
+portal_tests/access_tab_zuite
+portal_tests/access_tab_zuite/**
portal_tests/business_template_zuite
portal_tests/business_template_zuite/**
portal_tests/check_box_field_zuite
More information about the Erp5-report
mailing list