+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015 |
+ | Copyright CiviCRM LLC (c) 2004-2017 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
$this->waitForElementPresent('crm-contact-actions-link');
// now add grant from contact summary
- $this->click("//a[@id='crm-contact-actions-link']/span/div");
+ $this->click("xpath=//div[@class='crm-actions-ribbon']/ul[@id='actions']/li[@class='crm-contact-activity crm-summary-block']/div/a[@id='crm-contact-actions-link']");
+ $this->waitForElementPresent('crm-contact-actions-list');
// wait for add Grant link
$this->waitForElementPresent('link=Add Grant');