From eecf0b9e0d79d805824ce13be1b1af091504b0f8 Mon Sep 17 00:00:00 2001
From: Gabriel Monnerat <gabriel@tiolive.com>
Date: Thu, 3 May 2012 11:09:13 -0300
Subject: [PATCH] change assert to check on exactly tag the present text

---
 .../datetime_field_zuite/testSurchargeWithInvalidDateTime.xml | 4 ++--
 bt5/erp5_ui_test/bt/revision                                  | 2 +-
 2 files changed, 3 insertions(+), 3 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 65c0c0e1fd..a3e06eea1e 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,9 +180,9 @@
   <td></td>\n
 </tr>\n
 <tr>\n
-  <td>assertTextPresent</td>\n
+  <td>assertText</td>\n
+  <td>//div[@class="status"]/div[@class="transition_message"]</td>\n
   <td>Data updated.</td>\n
-  <td></td>\n
 </tr>\n
 \n
 </tbody></table>\n
diff --git a/bt5/erp5_ui_test/bt/revision b/bt5/erp5_ui_test/bt/revision
index 8e6862383d..633a077699 100644
--- a/bt5/erp5_ui_test/bt/revision
+++ b/bt5/erp5_ui_test/bt/revision
@@ -1 +1 @@
-684
\ No newline at end of file
+685
\ No newline at end of file
-- 
2.30.9