[Erp5-report] r25433 - in /erp5/trunk/bt5/erp5_ui_test: PathTemplateItem/portal_tests/docum...

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 3 18:17:07 CET 2009


Author: kazuhiko
Date: Tue Feb  3 18:17:00 2009
New Revision: 25433

URL: http://svn.erp5.org?rev=25433&view=rev
Log:
We don't have assertAbsoluteLocation in svn trunk Zelenium. Using assertLocation with the path part having '*' at the head and the end is compatible on both version.

Modified:
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCancelWorkflowTransitionDialog.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCloneObject.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtons.xml
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsKeepsFormId.xml
    erp5/trunk/bt5/erp5_ui_test/bt/revision

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml [utf8] Tue Feb  3 18:17:00 2009
@@ -66,8 +66,8 @@
 <!-- as the init macro create 1 Foo, we assume that our newly created foo will\n
 have id "2". This is probably a bit too stupid. -->\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="python:\'glob:%s/foo_module/2/view*\' % here.getPortalObject().absolute_url()"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/2/view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -87,8 +87,8 @@
   <td>Add Foo Line</td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="python: \'glob:%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url()"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -115,8 +115,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/3/view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/3/view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -137,8 +137,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/4/Foo_view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/4/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCancelWorkflowTransitionDialog.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCancelWorkflowTransitionDialog.xml?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCancelWorkflowTransitionDialog.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCancelWorkflowTransitionDialog.xml [utf8] Tue Feb  3 18:17:00 2009
@@ -102,8 +102,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/0/Foo_view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/0/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <!-- We check that the transition has not been passed by looking at the\n

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCloneObject.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCloneObject.xml?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCloneObject.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testCloneObject.xml [utf8] Tue Feb  3 18:17:00 2009
@@ -66,8 +66,8 @@
 <!-- as the init macro create 1 Foo, we assume that our newly created foo will\n
 have id "2". This is probably a bit too stupid. -->\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/2/view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/2/view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -87,8 +87,8 @@
   <td>Add Foo Line</td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/2/1/view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/2/1/view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -109,8 +109,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/2/2/FooLine_view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/2/2/FooLine_view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -134,8 +134,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/3/Foo_view*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/3/Foo_view*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtons.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtons.xml?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtons.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtons.xml [utf8] Tue Feb  3 18:17:00 2009
@@ -130,8 +130,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/FooModule_viewFooList*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/FooModule_viewFooList*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n

Modified: erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsKeepsFormId.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsKeepsFormId.xml?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsKeepsFormId.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testSelectionPreviousNextButtonsKeepsFormId.xml [utf8] Tue Feb  3 18:17:00 2009
@@ -94,8 +94,8 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertAbsoluteLocation</td>\n
-  <td tal:content="string:glob:${here/portal_url}/foo_module/0/Base_viewHistory*"/>\n
+  <td>assertLocation</td>\n
+  <td tal:content="python:\'*%s/foo_module/0/Base_viewHistory*\' % here.getPortalObject().absolute_url_path()"/>\n
   <td></td>\n
 </tr>\n
 \n

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=25433&r1=25432&r2=25433&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision [utf8] Tue Feb  3 18:17:00 2009
@@ -1,1 +1,1 @@
-401
+402




More information about the Erp5-report mailing list