From 043de868bc7c409da80aed23c9f0d5aeb085f88c Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Wed, 2 May 2012 16:22:08 -0300
Subject: [PATCH] change assert to check the text on the page

---
 .../testSurchargeWithInvalidDateTime.xml                    | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/datetime_field_zuite/testSurchargeWithInvalidDateTime.xml b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/datetime_field_zuite/testSurchargeWithInvalidDateTime.xml
index 4a8c413309..65c0c0e1fd 100644
--- a/bt5/erp5_ui_test/PathTemplateItem/portal_tests/datetime_field_zuite/testSurchargeWithInvalidDateTime.xml
+++ b/bt5/erp5_ui_test/PathTemplateItem/portal_tests/datetime_field_zuite/testSurchargeWithInvalidDateTime.xml
@@ -180,16 +180,14 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertPortalStatusMessage</td>\n
+  <td>assertTextPresent</td>\n
   <td>Data updated.</td>\n
   <td></td>\n
 </tr>\n
 \n
 </tbody></table>\n
 </body>\n
-</html>\n
-\n
-
+</html>
 
 ]]></unicode> </value>
         </item>
-- 
2.30.9