From e3a4bc286206a7cb11e78e80fd42980e5a298cd1 Mon Sep 17 00:00:00 2001 From: Fabio Bas Date: Fri, 27 Sep 2013 13:06:17 +0200 Subject: More functional tests porting --- .../FunctionalTests/quickstart/Controls/DropDownListTestCase.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/FunctionalTests/quickstart/Controls/DropDownListTestCase.php') 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"); -- cgit v1.2.3