From: kurund Date: Tue, 13 Aug 2013 17:24:11 +0000 (+0530) Subject: webtest fixes for --filter=testSearchBuilderMembershipType WebTest_Contact_SearchBuil... X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=0266751499a1e50016c7170b512af8f4046b522e;p=civicrm-core.git webtest fixes for --filter=testSearchBuilderMembershipType WebTest_Contact_SearchBuilderTest --- diff --git a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php index 849896772f..9c45c54356 100644 --- a/tests/phpunit/WebTest/Contact/SearchBuilderTest.php +++ b/tests/phpunit/WebTest/Contact/SearchBuilderTest.php @@ -479,9 +479,7 @@ class WebTest_Contact_SearchBuilderTest extends CiviSeleniumTestCase { $this->clickLink('_qf_Builder_refresh'); $this->waitForText('search-status', "1 Contact"); - $this->click("xpath=//div[@class='crm-accordion-header crm-master-accordion-header']"); - $this->waitForElementPresent("xpath=//span[@id='crm_search_value_1_1']/select"); - $this->select("xpath=//span[@id='crm_search_value_1_1']/select", "label=Grace"); + $this->enterValues(1, 2, 'Membership', 'Membership Status', NULL, '=', array('Grace')); $this->clickLink('_qf_Builder_refresh'); $this->waitForText('search-status', "1 Contact");