diff options
author | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-27 13:06:17 +0200 |
---|---|---|
committer | Fabio Bas <ctrlaltca@gmail.com> | 2013-09-27 13:06:39 +0200 |
commit | e3a4bc286206a7cb11e78e80fd42980e5a298cd1 (patch) | |
tree | 3f3c7e1497ecd424f9a8edbf7874d69c5ba5ae88 /tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php | |
parent | 7d567fa0a50a363fa8d8951ae2a2310a102454fc (diff) |
More functional tests porting
Diffstat (limited to 'tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php')
-rwxr-xr-x | tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php b/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php index e374de1d..eae8ab36 100755 --- a/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php +++ b/tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php @@ -12,12 +12,12 @@ class QuickstartDropDownListTestCase extends PradoGenericSeleniumTest $this->verifyElementPresent("ctl0\$body\$ctl0"); // dropdown list with initial options - $this->verifySelectOptions("ctl0\$body\$ctl1","item 1,item 2,item 3,item 4"); - $this->verifySelected("ctl0\$body\$ctl1","value=value 2"); + $this->assertEquals($this->getSelectOptions("ctl0\$body\$ctl1"), array('item 1', 'item 2', 'item 3', 'item 4')); + $this->assertSelected("ctl0\$body\$ctl1","item 2"); // dropdown list with customized styles - $this->verifySelectOptions("ctl0\$body\$ctl2","item 1,item 2,item 3,item 4"); - $this->verifySelected("ctl0\$body\$ctl2","value=value 2"); + $this->assertEquals($this->getSelectOptions("ctl0\$body\$ctl2"), array('item 1', 'item 2', 'item 3', 'item 4')); + $this->assertSelected("ctl0\$body\$ctl2","item 2"); // a disabled dropdown list $this->verifyAttribute("ctl0\$body\$ctl3@disabled","regexp:true|disabled"); |