From 7b080fd0ead5e889fc9beaa7b247001155aa164c Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 29 Sep 2007 01:40:54 +0000 Subject: Fixed test cases. --- UPGRADE | 2 ++ tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php | 3 ++- tests/FunctionalTests/tickets/protected/pages/Ticket528.page | 4 ++-- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/UPGRADE b/UPGRADE index 6b609eea..3388dd3c 100644 --- a/UPGRADE +++ b/UPGRADE @@ -20,6 +20,8 @@ Upgrading from v3.1.0 TUserManager. - The order of application lifecycles is changed. The loadState and loadStateComplete are moved to right after onBeginRequest. +- TDropDownList will be in an unselected state if no initial selection is specified. + That is, its SelectedIndex will be -1. Previously, the first item will be considered as selected. Upgrading from v3.1b -------------------- diff --git a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php index 33a79124..c6b22e00 100644 --- a/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php @@ -12,7 +12,8 @@ class MultiViewTestCase extends SeleniumTestCase $this->verifyElementNotPresent('ctl0_body_Result1'); $this->verifyElementNotPresent('ctl0_body_Result2'); $this->type('ctl0_body_Memo','test'); - $this->clickAndWait('ctl0$body$ctl1'); + $this->clickAndWait('ctl0$body$ctl0'); // view 2 to select the dropdown + $this->clickAndWait('ctl0$body$ctl4'); // view 3 : check if the output is updated $this->verifyTextPresent('Your text input is: test'); diff --git a/tests/FunctionalTests/tickets/protected/pages/Ticket528.page b/tests/FunctionalTests/tickets/protected/pages/Ticket528.page index f3a85e2a..15df2b62 100644 --- a/tests/FunctionalTests/tickets/protected/pages/Ticket528.page +++ b/tests/FunctionalTests/tickets/protected/pages/Ticket528.page @@ -1,8 +1,8 @@ - + -- cgit v1.2.3