{if $savedSearch.name}{$savedSearch.name} ({ts}smart group{/ts}) - {/if}
{ts count=$pager->_totalItems plural='%count Contacts'}%count Contact{/ts}
</td>
-
+
{* Search criteria are passed to tpl in the $qill array *}
<td class="nowrap">
{if $qill}
<div class="float-left" id="contribution_soft_credit_type_wrapper">
{$form.contribution_soft_credit_type_id.label} <br />
{$form.contribution_soft_credit_type_id.html|crmAddClass:twenty}
- </div>
+ </div>
</td>
</tr>
<tr>
*}
{ts 1=$totalSelectedPledges}Number of selected pledges: %1{/ts}
-{if $rows }
+{if $rows }
<div class="crm-block crm-form-block crm-pledge-task-form-block">
<table width="30%">
<tr class="columnheader">
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
*}
-{if ! empty( $row )}
+{if ! empty( $row )}
{* wrap in crm-container div so crm styles are used *}
{if $overlayProfile }
{include file="CRM/Profile/Page/Overlay.tpl"}
</div>
</div>
{/if}
-{/if}
+{/if}
{* fields array is not empty *}
'duration_interval' => 1,
);
$result = civicrm_api3('membership_type', 'create', $api_params);
-
+
// Create a contribution page for testing.
$contribution_page = md5(microtime());
$api_params = array(
"Grant, Megan","Megan","grantm@fishmail.net","$ 500.00"
"merriechowski95@notmail.info", ,"merrie@testmail.co.nz","$ 125.00"
"Müller, Billy","Billy","mller.billy30@example.org","$ 50.00"
-"Smith, Errol","Errol","errols@sample.com","$ 500.00"
+"Smith, Errol","Errol","errols@sample.com","$ 500.00"
var $password = 'demo';
var $adminUsername = 'USERNAME';
-
+
var $adminPassword = 'PASSWORD';
var $adminApiKey = NULL; // civicrm_contact.api_key for admin
//Is custom group created?
$this->waitForText('crm-notification-container', "Your custom field set '$customGroupTitle' has been added. You can add custom fields now.");
-
+
$gid = $this->urlArg('gid');
-
+
//add custom field - alphanumeric text
$this->openCiviPage('admin/custom/group/field/add', "reset=1&action=add&gid=$gid");
$textFieldLabel = 'test_text_field';
$this->select('task', "Record Survey Responses");
$this->waitForElementPresent('_qf_Interview_cancel_interview');
- $this->waitForElementPresent("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody/tr[@id='row_{$id1}']/td[6]/input[@type='text']");
+ $this->waitForElementPresent("xpath=//div[@class='dataTables_wrapper no-footer']/table/tbody/tr[@id='row_{$id1}']/td[6]/input[@type='text']");
$this->type("field_{$id1}_phone-Primary-1", 9876543210);
$this->clickLink("_qf_Advanced_refresh");
$this->assertElementContainsText('Advanced', "$lastName, $firstName");
}
-
+
/**
* @param $firstName
* @param $lastName
* @param $caseTypeLabel
- *
- * test for assign case to another client
+ *
+ * test for assign case to another client
*/
function _testAssignToClient($firstName, $lastName, $caseTypeLabel) {
- $this->openCiviPage('case/search', 'reset=1', '_qf_Search_refresh-bottom');
+ $this->openCiviPage('case/search', 'reset=1', '_qf_Search_refresh-bottom');
$this->type('sort_name', $firstName);
$this->clickLink('_qf_Search_refresh-bottom');
$this->waitForElementPresent("xpath=//table[@class='caseSelector']/tbody//tr/td[3]/a[text()='{$lastName}, {$firstName}']");
//fill in first name
$firstName = "Anderson".substr(sha1(rand()), 0, 4);
$this->type('first_name', $firstName);
-
+
//fill in last name
$lastName = substr(sha1(rand()), 0, 4);
$this->type('last_name', $lastName);
//save the relationship
//$this->click("_qf_Relationship_upload");
$this->click("_qf_Relationship_upload-bottom");
-
+
//check the status message
$this->waitForText('crm-notification-container', 'Relationship created.');
$this->waitForElementPresent("xpath=//table[@id='DataTables_Table_2']/tbody/tr/td[9]/span/a[1][text()='View']");
$this->click("xpath=//table[@id='DataTables_Table_2']/tbody/tr[1]/td[9]/span/a[1][text()='View']");
-
+
$this->webtestVerifyTabularData(
array(
'Description' => $description,
//save the relationship
//$this->click("_qf_Relationship_upload");
$this->click('_qf_Relationship_upload-bottom');
-
+
//check the status message
$this->waitForText('crm-notification-container', 'Relationship created.');
// go for the chicken combo (obviously)
// $this->click('CIVICRM_QFID_chicken_Chicken');
-
+
$this->waitForElementPresent('send_receipt');
$this->assertTrue($this->isChecked("send_receipt"), 'Send Confirmation and Receipt checkbox should be checked by default but is not checked.');
-
+
// Clicking save.
$this->clickLink('_qf_Participant_upload-bottom');
}
$this->clickLink("_qf_PledgeView_next-bottom", "xpath=//div[@class='view-content']//table//tbody/tr[1]/td[10]/span[1]/a[text()='View']", FALSE);
-
+
$this->waitForElementPresent("xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[1]/span/a");
$this->click("xpath=//div[@class='view-content']//table[@class='selector row-highlight']//tbody/tr[1]/td[1]/span/a");
$this->waitForElementPresent("xpath=//div[@class='view-content']//table//tbody//tr//td[2]/table/tbody/tr[2]/td[8]/a[text()='Record Payment']");
$this->click("add");
$this->click("_qf_Localization_next-bottom");
$this->waitForPageToLoad($this->getTimeoutMsec());
-
+
// Disable pop-ups for this test. Running test w/ pop-ups causes a spurious failure. dgg
$this->enableDisablePopups(FALSE);
<?php
-require_once '../civicrm.config.php';
+require_once '../civicrm.config.php';
require_once 'CRM/Core/Config.php';
require_once 'CRM/Utils/Cache.php';
create_log()
{
cd $ORIGPWD/../test/
-
- PATH4LOG=`pwd`
-
- if [ ! -d "Result" ] ; then
+
+ PATH4LOG=`pwd`
+
+ if [ ! -d "Result" ] ; then
mkdir Result
fi
}
{
cd $ORIGPWD/../test/selenium-ruby/CPS
# Running Selenium (ruby) Tests
- ruby test_cps_personal.rb
+ ruby test_cps_personal.rb
}
###########################################################
##
<comments>For support, please contact project team on the forums. (http://forum.civicrm.org)</comments>
<typeInfo>
<reportUrl>grant/summary</reportUrl>
- <component>CiviGrant</component>
+ <component>CiviGrant</component>
</typeInfo>
</extension>
<directory>CRM</directory>
<exclude>
<file>CRM/Contact/Page/View/SMS.php</file>
- </exclude>
+ </exclude>
</whitelist>
</filter>
<logging>