+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->click('is_override');
$this->waitForElementPresent('status_id');
$this->select('status_id', 'label=Current');
$this->click('is_override');
$this->waitForElementPresent('status_id');
$this->select('status_id', 'label=Current');
- $this->select('membership_type_id[0]', 'label=Default Organization');
- $this->select('membership_type_id[1]', 'label=General');
+ $this->select('membership_type_id[0]', 'value=1');
+ $this->select('membership_type_id[1]', 'value=1');
$this->assertTrue($this->isElementPresent("xpath=//div[@class='crm-search-results']/table/tbody/tr[3]/td[3][text()='Type changed from {$membershipTypes['membership_type']} to General']"));
$this->assertTrue($this->isElementPresent("xpath=//div[@class='crm-search-results']/table/tbody/tr[3]/td[5]/a[text()='{$contactName}']"));
}
$this->assertTrue($this->isElementPresent("xpath=//div[@class='crm-search-results']/table/tbody/tr[3]/td[3][text()='Type changed from {$membershipTypes['membership_type']} to General']"));
$this->assertTrue($this->isElementPresent("xpath=//div[@class='crm-search-results']/table/tbody/tr[3]/td[5]/a[text()='{$contactName}']"));
}