+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2016 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->type("sort_name", "$lastName, $firstName");
$this->click("xpath=//tr/td[1]/p/label[contains(text(),'Membership is a Test?')]/../label[contains(text(),'Yes')]/preceding-sibling::input[1]");
- $this->clickLink("_qf_Search_refresh", 'css=#memberSearch table tbody tr td span a.action-item:first-child');
- $this->click('css=#memberSearch table tbody tr td span a.action-item:first-child');
+ $this->clickLink("_qf_Search_refresh", "css=#memberSearch table tbody tr td a.action-item:first-child");
+ $this->click("css=#memberSearch table tbody tr td a.action-item:first-child");
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
//View Membership Record
$this->type("sort_name", "$organisationName");
$this->click("xpath=//tr/td[1]/p/label[contains(text(),'Membership is a Test?')]/../label[contains(text(),'Yes')]/preceding-sibling::input[1]");
- $this->clickLink("_qf_Search_refresh", 'css=#memberSearch table tbody tr td span a.action-item:first-child');
- $this->click('css=#memberSearch table tbody tr td span a.action-item:first-child');
+ $this->clickLink("_qf_Search_refresh", 'css=#memberSearch table tbody tr td a.action-item:first-child');
+ $this->click('css=#memberSearch table tbody tr td a.action-item:first-child');
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
//View Membership Record
$this->type("sort_name", "$lastName, $firstName");
$this->click("xpath=//tr/td[1]/p/label[contains(text(),'Membership is a Test?')]/../label[contains(text(),'Yes')]/preceding-sibling::input[1]");
- $this->clickLink("_qf_Search_refresh", 'css=#memberSearch table tbody tr td span a.action-item:first-child');
- $this->click('css=#memberSearch table tbody tr td span a.action-item:first-child');
+ $this->clickLink("_qf_Search_refresh", 'css=#memberSearch table tbody tr td a.action-item:first-child');
+ $this->click('css=#memberSearch table tbody tr td a.action-item:first-child');
$this->waitForElementPresent("_qf_MembershipView_cancel-bottom");
//View Membership Record
$title = substr(sha1(rand()), 0, 7);
$membershipTypeTitle = "Membership Type $title";
$this->type('name', "Membership Type $title");
-
+ $this->waitForAjaxContent();
$this->select2('member_of_contact_id', 'Default Organization');
$this->type('minimum_fee', '100');
$this->clickLink("_qf_Main_upload-bottom", "_qf_Confirm_next-bottom");
$this->assertTrue($this->isTextPresent("I want to contribute this amount every month."));
$this->click("_qf_Confirm_next-bottom");
- sleep(10);
$this->waitForPageToLoad($this->getTimeoutMsec());
$expectedParams = array(