diff options
author | xue <> | 2007-09-29 01:40:54 +0000 |
---|---|---|
committer | xue <> | 2007-09-29 01:40:54 +0000 |
commit | 7b080fd0ead5e889fc9beaa7b247001155aa164c (patch) | |
tree | ad946ee6e53558d02252ada89361f424fca52842 /tests | |
parent | dd3674b7626d16bbc7669aacad28d0463990adc1 (diff) |
Fixed test cases.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php | 3 | ||||
-rw-r--r-- | tests/FunctionalTests/tickets/protected/pages/Ticket528.page | 4 |
2 files changed, 4 insertions, 3 deletions
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 @@ <com:TContent ID="Content">
<com:TLabel ForControl="DDropTurno" Text="Turno:"/>
-<com:Application.pages.DActiveDropDownList2
- ID="DDropTurno" onSelectedIndexChanged="trocaTurno" opcoes='turnos' />
+<com:Application.pages.DActiveDropDownList2
+ ID="DDropTurno" SelectedIndex="0" onSelectedIndexChanged="trocaTurno" opcoes='turnos' />
<com:TLabel Text="Código:" ForControl="Codigo"/>
<com:TActiveTextBox ID="Codigo" MaxLength="1" Columns="2" />
|