[Erp5-report] r44323 gabriel - in /erp5/trunk/bt5/erp5_web_ung_ui_test: PathTemplateItem/po...
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Mar 15 21:51:39 CET 2011
Author: gabriel
Date: Tue Mar 15 21:51:39 2011
New Revision: 44323
URL: http://svn.erp5.org?rev=44323&view=rev
Log:
rename file and update tests
Added:
erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGTestEnvironment.xml
Removed:
erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGKnowledgePadList.xml
Modified:
erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml
erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml
erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGLogin.xml
erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/Zuite_CommonTemplateForUNG.xml
erp5/trunk/bt5/erp5_web_ung_ui_test/bt/revision
Modified: erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml?rev=44323&r1=44322&r2=44323&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testGadgetInUNGDocs.xml [utf8] Tue Mar 15 21:51:39 2011
@@ -48,11 +48,6 @@
<tr><td rowspan="1" colspan="3" tal:content="template/getId"/></tr>\n
</thead><tbody>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/init" />\n
- <tr>\n
- <td>openAndWait</td>\n
- <td>${base_url}/ERP5Site_cleanUpUNGKnowledgePadList</td>\n
- <td></td>\n
- </tr>\n
<tal:block metal:use-macro="here/Zuite_CommonTemplateForUNG/macros/login" />\n
<tr>\n
<td>verifyTextPresent</td>\n
Modified: erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml?rev=44323&r1=44322&r2=44323&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml [utf8] Tue Mar 15 21:51:39 2011
@@ -104,6 +104,11 @@
<td>//a[@id="back-calendar"]</td>\n
<td></td>\n
</tr>\n
+ <tr>\n
+ <td>click</td>\n
+ <td>//span[@class="addcal"]</td>\n
+ <td></td>\n
+ </tr>\n
</tbody>\n
</table>\n
</body>\n
Modified: erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGLogin.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGLogin.xml?rev=44323&r1=44322&r2=44323&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGLogin.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGLogin.xml [utf8] Tue Mar 15 21:51:39 2011
@@ -94,6 +94,76 @@
<td>Create an account now</td>\n
<td></td>\n
</tr>\n
+ <tr>\n
+ <td>click</td>\n
+ <td>//td[@id="new-account-form"]</td>\n
+ <td></td>\n
+ </tr>\n
+ <tr>\n
+ <td>click</td>\n
+ <td>//td[@id="back-login"]</td>\n
+ <td></td>\n
+ </tr>\n
+ <tr>\n
+ <td>click</td>\n
+ <td>//td[@id="new-account-form"]</td>\n
+ <td></td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="firstname"]</td>\n
+ <td>Gabriel</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="lastname"]</td>\n
+ <td>Monnerat</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="email"]</td>\n
+ <td>example at example.com</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="login_name"]</td>\n
+ <td>ung_user</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="password"]</td>\n
+ <td>1234</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="confirm"]</td>\n
+ <td>1234</td>\n
+ </tr>\n
+ <tr>\n
+ <td>click</td>\n
+ <td>//input[@value="Create Account"]</td>\n
+ <td></td>\n
+ </tr>\n
+ <tr>\n
+ <td>waitForPageToLoad</td>\n
+ <td>30000</td>\n
+ <td></td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="__ac_name"]</td>\n
+ <td>ung_user</td>\n
+ </tr>\n
+ <tr>\n
+ <td>type</td>\n
+ <td>//input[@name="__ac_password"]</td>\n
+ <td>1234</td>\n
+ </tr>\n
+ <tr>\n
+ <td>clickAndWait</td>\n
+ <td>//input[@type="submit"]</td>\n
+ <td></td>\n
+ </tr>\n
</tbody>\n
</table>\n
</body>\n
Removed: erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGKnowledgePadList.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGKnowledgePadList.xml?rev=44322&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGKnowledgePadList.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGKnowledgePadList.xml (removed)
@@ -1,77 +0,0 @@
-<?xml version="1.0"?>
-<ZopeData>
- <record id="1" aka="AAAAAAAAAAE=">
- <pickle>
- <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
- </pickle>
- <pickle>
- <dictionary>
- <item>
- <key> <string>Script_magic</string> </key>
- <value> <int>3</int> </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_container</string> </key>
- <value> <string>container</string> </value>
- </item>
- <item>
- <key> <string>name_context</string> </key>
- <value> <string>context</string> </value>
- </item>
- <item>
- <key> <string>name_m_self</string> </key>
- <value> <string>script</string> </value>
- </item>
- <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>_body</string> </key>
- <value> <string>portal = context.getPortalObject()\n
-ung_website = portal.web_site_module.ung\n
-\n
-pad_list = portal.portal_catalog(portal_type="Knowledge Pad",\n
- publication_section_uid=ung_website.getUid())\n
-\n
-for pad in pad_list:\n
- pad_object = context.restrictedTraverse(pad.getPath())\n
- portal.knowledge_pad_module.deleteContent(pad_object.getId())\n
-\n
-return True\n
-</string> </value>
- </item>
- <item>
- <key> <string>_params</string> </key>
- <value> <string></string> </value>
- </item>
- <item>
- <key> <string>id</string> </key>
- <value> <string>ERP5Site_cleanUpUNGKnowledgePadList</string> </value>
- </item>
- </dictionary>
- </pickle>
- </record>
-</ZopeData>
Added: erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGTestEnvironment.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGTestEnvironment.xml?rev=44323&view=auto
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGTestEnvironment.xml (added)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/ERP5Site_cleanUpUNGTestEnvironment.xml [utf8] Tue Mar 15 21:51:39 2011
@@ -0,0 +1,91 @@
+<?xml version="1.0"?>
+<ZopeData>
+ <record id="1" aka="AAAAAAAAAAE=">
+ <pickle>
+ <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+ </pickle>
+ <pickle>
+ <dictionary>
+ <item>
+ <key> <string>Script_magic</string> </key>
+ <value> <int>3</int> </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_container</string> </key>
+ <value> <string>container</string> </value>
+ </item>
+ <item>
+ <key> <string>name_context</string> </key>
+ <value> <string>context</string> </value>
+ </item>
+ <item>
+ <key> <string>name_m_self</string> </key>
+ <value> <string>script</string> </value>
+ </item>
+ <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>_body</string> </key>
+ <value> <string>portal = context.getPortalObject()\n
+ung_website = portal.web_site_module.ung\n
+\n
+pad_list = portal.portal_catalog(portal_type="Knowledge Pad",\n
+ publication_section_uid=ung_website.getUid())\n
+\n
+for pad in pad_list:\n
+ pad_object = context.restrictedTraverse(pad.getPath())\n
+ portal.knowledge_pad_module.deleteContent(pad_object.getId())\n
+\n
+person = portal.portal_catalog.getResultValue(portal_type="Person", reference="ung_user")\n
+\n
+context.log(person)\n
+if person:\n
+ portal.person_module.deleteContent(person.getId())\n
+\n
+return True\n
+</string> </value>
+ </item>
+ <item>
+ <key> <string>_params</string> </key>
+ <value> <string></string> </value>
+ </item>
+ <item>
+ <key> <string>_proxy_roles</string> </key>
+ <value>
+ <tuple>
+ <string>Manager</string>
+ </tuple>
+ </value>
+ </item>
+ <item>
+ <key> <string>id</string> </key>
+ <value> <string>ERP5Site_cleanUpUNGTestEnvironment</string> </value>
+ </item>
+ </dictionary>
+ </pickle>
+ </record>
+</ZopeData>
Modified: erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/Zuite_CommonTemplateForUNG.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/Zuite_CommonTemplateForUNG.xml?rev=44323&r1=44322&r2=44323&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/Zuite_CommonTemplateForUNG.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/SkinTemplateItem/portal_skins/erp5_web_ung_ui_test/Zuite_CommonTemplateForUNG.xml [utf8] Tue Mar 15 21:51:39 2011
@@ -45,6 +45,11 @@
<td>${base_url}/web_site_module/ung</td>\n
<td>ung_url</td>\n
</tr>\n
+ <tr>\n
+ <td>openAndWait</td>\n
+ <td>${base_url}/ERP5Site_cleanUpUNGTestEnvironment</td>\n
+ <td></td>\n
+ </tr>\n
</tal:block>\n
<tal:block metal:define-macro="login">\n
<tr>\n
Modified: erp5/trunk/bt5/erp5_web_ung_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_web_ung_ui_test/bt/revision?rev=44323&r1=44322&r2=44323&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_web_ung_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_web_ung_ui_test/bt/revision [utf8] Tue Mar 15 21:51:39 2011
@@ -1 +1 @@
-10
\ No newline at end of file
+11
\ No newline at end of file
More information about the Erp5-report
mailing list