diff options
author | xue <> | 2006-06-08 23:56:38 +0000 |
---|---|---|
committer | xue <> | 2006-06-08 23:56:38 +0000 |
commit | 99458807b73ff35b07521697f806b4654d1ec8fd (patch) | |
tree | 34533823505feb2010c64f72dfdcebe4c7be6c44 /tests | |
parent | 97991dea453f103aba63ab1a1818e434c93c1ee8 (diff) |
ensureChildControls() is now invoked in TControl::initRecursive
Diffstat (limited to 'tests')
4 files changed, 10 insertions, 10 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php index ea071612..8b2da6f3 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard1TestCase.php @@ -14,7 +14,7 @@ class Wizard1TestCase extends SeleniumTestCase $this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0$body$Wizard1$DropDownList1', "label=Purple");
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 2
$this->verifyTextPresent('Your favorite color is: Purple');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php index ca94bb19..04d448cb 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard2TestCase.php @@ -14,7 +14,7 @@ class Wizard2TestCase extends SeleniumTestCase $this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl0_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0$body$Wizard1$DropDownList1', "label=Blue");
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 2
$this->verifyTextPresent('Your favorite color is: Blue');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php index 807e7dc6..855ed545 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard3TestCase.php @@ -12,15 +12,15 @@ class Wizard3TestCase extends SeleniumTestCase $this->verifyTextPresent('A Mini Survey');
$this->verifyTextPresent('PRADO QuickStart Sample');
$this->click('ctl0_body_Wizard3_StudentCheckBox');
- $this->clickAndWait('ctl0$body$Wizard3$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl4$ctl0');
// step 2
$this->select('ctl0$body$Wizard3$DropDownList11', "label=Chemistry");
- $this->clickAndWait('ctl0$body$Wizard3$ctl9$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl5$ctl1');
// step 3
$this->select('ctl0$body$Wizard3$DropDownList22', "label=Tennis");
- $this->clickAndWait('ctl0$body$Wizard3$ctl10$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl6$ctl1');
// step 4
$this->verifyTextPresent('You are a college student');
@@ -31,11 +31,11 @@ class Wizard3TestCase extends SeleniumTestCase $this->open("../../demos/quickstart/index.php?page=Controls.Samples.TWizard.Sample3&notheme=true", "");
// step 1
- $this->clickAndWait('ctl0$body$Wizard3$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl4$ctl0');
// step 3
$this->select('ctl0$body$Wizard3$DropDownList22', "label=Baseball");
- $this->clickAndWait('ctl0$body$Wizard3$ctl10$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard3$ctl6$ctl1');
// step 4
$this->verifyTextNotPresent('You are a college student');
diff --git a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php index e25ce86d..b1df9213 100644 --- a/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/Wizard5TestCase.php @@ -14,11 +14,11 @@ class Wizard5TestCase extends SeleniumTestCase $this->verifyVisible('ctl0_body_Wizard1_SideBarList_ctl1_SideBarButton');
$this->verifyAttribute('ctl0_body_Wizard1_SideBarList_ctl2_SideBarButton@disabled','regexp:true|disabled');
$this->select('ctl0_body_Wizard1_DropDownList1', "label=Cyan");
- $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl4$ctl0');
// step 2
$this->select('ctl0_body_Wizard1_Step2_DropDownList2','label=Football');
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl0');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl0');
// step 1
$this->verifySelected('ctl0_body_Wizard1_DropDownList1','label=Cyan');
@@ -26,7 +26,7 @@ class Wizard5TestCase extends SeleniumTestCase // step 2
$this->verifySelected('ctl0_body_Wizard1_Step2_DropDownList2','label=Football');
- $this->clickAndWait('ctl0$body$Wizard1$ctl8$ctl1');
+ $this->clickAndWait('ctl0$body$Wizard1$ctl6$ctl1');
// step 3
$this->verifyTextPresent('Your favorite color is: Cyan');
|