From d3fffb3424ac7e74c8089f28e3d3d07c80eee687 Mon Sep 17 00:00:00 2001 From: Gabriel Monnerat <gabriel@tiolive.com> Date: Wed, 23 Mar 2011 15:23:36 +0000 Subject: [PATCH] - remove pause command - add more asserts to UNG Calendar git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44542 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../ung_zuite/testUNGCalendar.xml | 28 ++++++++++++++++--- bt5/erp5_web_ung_ui_test/bt/revision | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml index 0148a73274..d796f9dd2d 100644 --- a/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml +++ b/bt5/erp5_web_ung_ui_test/PathTemplateItem/portal_tests/ung_zuite/testUNGCalendar.xml @@ -85,9 +85,9 @@ <td></td>\n </tr>\n <tr>\n - <td>pause</td>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent(\'//div[@id="blank-result"]\')</td>\n <td>1000</td>\n - <td></td>\n </tr>\n <tr>\n <td>verifyText</td>\n @@ -131,8 +131,8 @@ </tr>\n <tr>\n <td>type</td>\n - <td>//textarea[@name="event_text_content"]</td>\n - <td>Text of Event</td>\n + <td>//input[@name="stop_date_year"]</td>\n + <td>2020</td>\n </tr>\n <tr>\n <td>click</td>\n @@ -150,6 +150,26 @@ <td>My Event</td>\n <td></td>\n </tr>\n + <tr>\n + <td>type</td>\n + <td>//input[@name=\'searchable-text\']</td>\n + <td>My Event</td>\n + </tr>\n + <tr>\n + <td>click</td>\n + <td>//input[@id=\'submit-search\']</td>\n + <td></td>\n + </tr>\n + <tr>\n + <td>waitForCondition</td>\n + <td>selenium.isElementPresent(\'//td[@id="event-date"]\')</td>\n + <td>2000</td>\n + </tr>\n + <tr>\n + <td>verifyElementPresent</td>\n + <td>//td[@id="event-date"]</td>\n + <td></td>\n + </tr>\n </tbody>\n </table>\n </body>\n diff --git a/bt5/erp5_web_ung_ui_test/bt/revision b/bt5/erp5_web_ung_ui_test/bt/revision index 7c091989d0..c24b6ae77d 100644 --- a/bt5/erp5_web_ung_ui_test/bt/revision +++ b/bt5/erp5_web_ung_ui_test/bt/revision @@ -1 +1 @@ -37 \ No newline at end of file +38 \ No newline at end of file -- 2.30.9