+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->openCiviPage('admin/custom/group/field/add', "reset=1&action=add&gid=$gid");
$textFieldLabel = 'test_text_field';
$this->click("header");
+ $this->waitForElementPresent('label');
$this->type("label", $textFieldLabel);
$this->click("_qf_Field_next_new-bottom");
$this->waitForPageToLoad($this->getTimeoutMsec());
$this->click("//option[@value='CheckBox']");
$checkboxFieldLabel = 'test_checkbox';
+ $this->waitForElementPresent('label');
$this->type("label", $checkboxFieldLabel);
$checkboxOptionLabel1 = 'check1';
$this->type("option_label_1", $checkboxOptionLabel1);
//add custom field - alphanumeric text
$textFieldLabel = 'test_text_field';
$this->click("header");
+ $this->waitForElementPresent('label');
$this->type("label", $textFieldLabel);
$this->clickLink("_qf_Field_next_new-bottom");
$this->click("//option[@value='Radio']");
$radioFieldLabel = 'test_radio';
+ $this->waitForElementPresent('label');
$this->type("label", $radioFieldLabel);
$radioOptionLabel1 = 'radio1';
$this->type("option_label_1", $radioOptionLabel1);