summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UPGRADE2
-rw-r--r--tests/FunctionalTests/quickstart/Controls/MultiViewTestCase.php3
-rw-r--r--tests/FunctionalTests/tickets/protected/pages/Ticket528.page4
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 @@
<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" />