Webtest fixes - Related to Search Builder
authormonishdeb <monish.deb@webaccess.co.in>
Tue, 17 Sep 2013 09:44:47 +0000 (15:14 +0530)
committermonishdeb <monish.deb@webaccess.co.in>
Tue, 17 Sep 2013 09:44:47 +0000 (15:14 +0530)
tests/phpunit/WebTest/Contact/SearchBuilderTest.php

index b4d8384d8ae579a6f37d744396c67235893aae2d..d4f4352179a87249da5ddfc2e32e75b86448a862 100644 (file)
@@ -241,7 +241,7 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase {
     if ($loc) {
       $this->select("mapper_{$set}_{$row}_2", "label=$loc");
     }
-    $this->select("operator_{$set}_{$row}", "label=$op");
+    $this->select("operator_{$set}_{$row}", "value=$op");
     if (is_array($value)) {
       $this->waitForElementPresent("css=#crm_search_value_{$set}_{$row} select option + option");
       foreach ($value as $val) {