+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2016 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$checkboxOptionLabel2 = 'optionLabel_' . substr(sha1(rand()), 0, 5);
$this->type("option_label_2", $checkboxOptionLabel2);
$this->type("option_value_2", "2");
- $this->click("link=another choice");
+ $this->click("link=add another choice");
$checkboxOptionLabel3 = 'optionLabel_' . substr(sha1(rand()), 0, 5);
$this->type("option_label_3", $checkboxOptionLabel3);
$this->type("option_value_3", "3");
$radioOptionLabel2 = 'optionLabel_' . substr(sha1(rand()), 0, 5);
$this->type("option_label_2", $radioOptionLabel2);
$this->type("option_value_2", "2");
- $this->click("link=another choice");
+ $this->click("link=add another choice");
$radioOptionLabel3 = 'optionLabel_' . substr(sha1(rand()), 0, 5);
$this->type("option_label_3", $radioOptionLabel3);
$this->type("option_value_3", "3");
//verify the money custom field value in the proper format
$this->assertTrue($this->isElementPresent("xpath=//div[@id='custom-set-content-{$customFieldsetId}']/div/div[2]/div[2]"));
- $this->verifyText("xpath=//div[@id='custom-set-content-{$customFieldsetId}']/div/div[2]/div[2]", '12,345,678.98');
+ $this->assertElementContainsText("xpath=//div[@id='custom-set-content-{$customFieldsetId}']/div/div[2]/div[2]", '12,345,678.98');
}
public function testCustomDataChangeLog() {