$this->click("is_searchable");
//clicking save
- $this->click("xpath=//div[@class='ui-dialog-buttonset']/button[1]/span[2]");
+ $this->clickLink("_qf_Field_next_new-bottom", "_qf_Field_next_new-bottom", FALSE);
//Is custom field created
- $this->waitForElementPresent("newCustomField");
$this->waitForText('crm-notification-container', "Custom field '$radioFieldLabel' has been saved.");
// create another custom field - text field
- $this->click("newCustomField");
- $this->waitForElementPresent("xpath=//div[@class='ui-dialog-buttonset']/button[1]/span[2]");
-
$textFieldLabel = 'Custom Field Text_' . substr(sha1(rand()), 0, 4);
$this->type('label', $textFieldLabel);
$this->click('is_searchable');
//clicking save
- $this->click("xpath=//div[@class='ui-dialog-buttonset']/button[1]/span[2]");
+ $this->click("_qf_Field_done-bottom");
$this->waitForElementPresent("//a[@id='newCustomField']/span");
//Is custom field created
$this->type("address_1_street_address", "121A Sherman St. Apt. 12");
$this->type("address_1_city", "Dumfries");
$this->type("address_1_postal_code", "1234");
- $this->assertElementContainsText('address_1', "- select - United States");
+ $this->assertElementContainsText('address_table_1', "- select - United States");
$this->select("address_1_state_province_id", "value=1019");
$this->click('_qf_Contact_upload_view');