$this->click('newACL');
$this->waitForElementPresent("acl_role_id");
$this->select("acl_role_id", "label=" . $label);
+ $this->waitForAjaxContent();
$this->select("entity_id", "label={$groupTitle}");
$this->clickLink("_qf_EntityRole_next-botttom", 'newACL', FALSE);
$this->waitForElementPresent("group_id");
$this->select("group_id", "label={$smartGroupTitle}");
$this->select("operation", "label=Edit");
+ $this->waitForAjaxContent();
$this->select("entity_id", "label={$label}");
$this->type("name", "describe {$label}");
$this->clickLink("_qf_ACL_next-bottom", 'newACL', FALSE);
$this->waitForElementPresent('name');
$this->type("name", "Edit All Events $label");
$this->select("entity_id", "label={$label}");
+ $this->waitForAjaxContent();
$this->select("operation", "label=Edit");
$this->click("xpath=//label[contains(text(), 'Events')]");
$this->select("event_id", "value=0");
$this->type("name", "Edit Events{$label}");
$this->select("operation", "label=Edit");
$this->select("entity_id", "label={$label}");
+ $this->waitForElementPresent("xpath=//tr[@class='crm-acl-form-block-object_type']/td[2]/label[contains(text(), 'Events')]");
$this->click("xpath=//tr[@class='crm-acl-form-block-object_type']/td[2]/label[contains(text(), 'Events')]");
$this->select("event_id", "label=All Events");
$this->clickLink("_qf_ACL_next-bottom");
public function _getImportComponentContactType($component, $contactType) {
$importComponentMode = array(
'Event' => array(
- 'Individual' => 'CIVICRM_QFID_1_8',
- 'Household' => 'CIVICRM_QFID_2_10',
- 'Organization' => 'CIVICRM_QFID_4_12',
+ 'Individual' => 'CIVICRM_QFID_1_18',
+ 'Household' => 'CIVICRM_QFID_2_20',
+ 'Organization' => 'CIVICRM_QFID_4_22',
),
'Contribution' => array(
- 'Individual' => 'CIVICRM_QFID_1_6',
- 'Household' => 'CIVICRM_QFID_2_8',
- 'Organization' => 'CIVICRM_QFID_4_10',
+ 'Individual' => 'CIVICRM_QFID_1_18',
+ 'Household' => 'CIVICRM_QFID_2_20',
+ 'Organization' => 'CIVICRM_QFID_4_22',
),
'Membership' => array(
- 'Individual' => 'CIVICRM_QFID_1_6',
- 'Household' => 'CIVICRM_QFID_2_8',
- 'Organization' => 'CIVICRM_QFID_4_10',
+ 'Individual' => 'CIVICRM_QFID_1_18',
+ 'Household' => 'CIVICRM_QFID_2_20',
+ 'Organization' => 'CIVICRM_QFID_4_22',
),
);
$this->click("link=Fees");
$this->waitForElementPresent("_qf_Fee_upload-bottom");
$this->click("CIVICRM_QFID_1_is_monetary");
- $this->click("xpath=//tr[@class='crm-event-manage-fee-form-block-payment_processor']/td[2]/label[text()='$processorName']");
+ $this->select2('payment_processor', $processorName, TRUE);
$this->select("financial_type_id", "value=4");
$counter = 1;
$this->click("CIVICRM_QFID_1_is_monetary");
// select newly created processor
- $xpath = "xpath=//label[text() = '{$processorName}']/preceding-sibling::input[1]";
+ $this->select2('payment_processor', $processorName, TRUE);
$this->assertElementContainsText('paymentProcessor', $processorName);
- $this->check($xpath);
$this->select("financial_type_id", "value=4");
$counter = 1;