}
/**
- * @param $eventPageId
+ * @param int $eventPageId
*/
function _testRemoveProfile($eventPageId) {
$this->openCiviPage("event/manage/settings", "reset=1&action=update&id=$eventPageId");
}
/**
- * @param $customId
+ * @param int $customId
*
* @return array
*/
}
/**
- * @param $profileId
+ * @param int $profileId
*
* @return null
*/
}
/**
- * @param $eventPageId
- * @param $customId
- * @param $firstName
- * @param $lastName
- * @param $participantfname
- * @param $participantlname
+ * @param int $eventPageId
+ * @param int $customId
+ * @param string $firstName
+ * @param string $lastName
+ * @param string $participantfname
+ * @param string $participantlname
* @param $email1
* @param $email2
*/
$this->type("nick_name", "Nick");
$this->type("url-1", "http://www.test.com");
+ $this->waitForElementPresent('street_address-Primary');
$this->type("street_address-Primary", "Primary street address");
$this->type("city-Primary", "primecity");
$this->type("phone-Primary-1", "98667764");
$this->type("middle_name", "xyz");
$this->click("name=gender_id value=2");
+ $this->waitForElementPresent('participant_role');
$this->select("participant_role", "value=2");
$this->click("_qf_Register_upload-bottom");
$this->type("custom_" . $customId[1], "participant_custom1");
$this->type("custom_" . $customId[2], "participant_custom1");
+ $this->waitForElementPresent('street_address-Primary');
$this->type("street_address-Primary", "Primary street address");
$this->type("city-Primary", "primecity");
$this->type("phone-Primary-1", "98667764");
}
/**
- * @param $eventPageId
- * @param $customId
- * @param $firstName2
- * @param $lastName2
- * @param $participantfname2
+ * @param int $eventPageId
+ * @param int $customId
+ * @param string $firstName2
+ * @param string $lastName2
+ * @param string $participantfname2
* @param $participantlname2
* @param $email3
* @param $email4
}
/**
- * @param $cfId
+ * @param int $cfId
*/
function _removeEmailField($cfId) {
$this->openCiviPage("admin/uf/group/field", "action=delete&id={$cfId}");