summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonListTest.php1
-rw-r--r--tests/FunctionalTests/active-controls/tests/ActiveDropDownListTestCase.php4
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonListTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonListTest.php
index 930d671b..ee805e11 100644
--- a/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonListTest.php
+++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRadioButtonListTest.php
@@ -5,6 +5,7 @@ class ActiveRadioButtonListTest extends TPage
function list1_callback($sender, $param)
{
$values = $sender->getSelectedValues();
+ var_dump($values);
$this->label1->setText("Selection: ".implode(', ', $values));
}
diff --git a/tests/FunctionalTests/active-controls/tests/ActiveDropDownListTestCase.php b/tests/FunctionalTests/active-controls/tests/ActiveDropDownListTestCase.php
index 44435199..5899a6ba 100644
--- a/tests/FunctionalTests/active-controls/tests/ActiveDropDownListTestCase.php
+++ b/tests/FunctionalTests/active-controls/tests/ActiveDropDownListTestCase.php
@@ -23,8 +23,10 @@ class ActiveDropDownListTestCase extends SeleniumTestCase
// due to clearing selection and then updating the selection
// otherwise it should not fire the changed event (fired by js because of change to options).
- $this->assertText("label1", "Selection 1: value 1");
+ $this->assertText("label1", "Label 1");
+ $this->select("list1", "item 1");
+ $this->pause(800);
$this->select("list2", "value 1 - item 4");
$this->pause(800);
$this->assertText("label1", "Selection 2: value 1 - item 4");