diff options
Diffstat (limited to 'tests/FunctionalTests')
-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" />
|