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

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Oct 6 17:04:29 CEST 2007


Author: bartek
Date: Sat Oct  6 17:04:28 2007
New Revision: 16877

URL: http://svn.erp5.org?rev=16877&view=rev
Log:
Zelenium returns location with no host, so we have to compare with portal's id, not absolute_url

Modified:
    erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.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=16877&r1=16876&r2=16877&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml (original)
+++ erp5/trunk/bt5/erp5_ui_test/PathTemplateItem/portal_tests/document_zuite/testAddObject.xml Sat Oct  6 17:04:28 2007
@@ -82,7 +82,7 @@
 have id "2". This is probably a bit too stupid. -->\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'%s/foo_module/2/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
+  <td tal:content="python: \'/%s/foo_module/2/view\' % here.getPortalObject().getId()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -103,7 +103,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'%s/foo_module/2/1/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
+  <td tal:content="python: \'/%s/foo_module/2/1/view\' % here.getPortalObject().getId()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -131,7 +131,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'%s/foo_module/3/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
+  <td tal:content="python: \'/%s/foo_module/3/view\' % here.getPortalObject().getId()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n
@@ -153,7 +153,7 @@
 </tr>\n
 <tr>\n
   <td>assertLocation</td>\n
-  <td tal:content="python: \'%s/foo_module/4/view\' % here.portal_url.getPortalObject().absolute_url()"/>\n
+  <td tal:content="python: \'/%s/foo_module/4/view\' % here.getPortalObject().getId()"/>\n
   <td></td>\n
 </tr>\n
 <tr>\n

Modified: erp5/trunk/bt5/erp5_ui_test/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_ui_test/bt/revision?rev=16877&r1=16876&r2=16877&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_ui_test/bt/revision (original)
+++ erp5/trunk/bt5/erp5_ui_test/bt/revision Sat Oct  6 17:04:28 2007
@@ -1,1 +1,1 @@
-220
+222




More information about the Erp5-report mailing list