From 7b080fd0ead5e889fc9beaa7b247001155aa164c Mon Sep 17 00:00:00 2001 From: xue <> Date: Sat, 29 Sep 2007 01:40:54 +0000 Subject: Fixed test cases. --- tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php | 3 ++- tests/FunctionalTests/tickets/protected/pages/Ticket528.page | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'tests/FunctionalTests') 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