projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge pull request #9616 from ErichBSchulz/feature/drupal_boot_no_exit
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Grant
/
ContactContextAddTest.php
diff --git
a/tests/phpunit/WebTest/Grant/ContactContextAddTest.php
b/tests/phpunit/WebTest/Grant/ContactContextAddTest.php
index dfbd677944c9178fab6c443f2019ae578718c99d..f5472d894daea391b2adafe8ac59cd392abcce1d 100644
(file)
--- a/
tests/phpunit/WebTest/Grant/ContactContextAddTest.php
+++ b/
tests/phpunit/WebTest/Grant/ContactContextAddTest.php
@@
-3,7
+3,7
@@
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
| CiviCRM version 4.7 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
5
|
+ | Copyright CiviCRM LLC (c) 2004-201
7
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-61,7
+61,8
@@
class WebTest_Grant_ContactContextAddTest extends CiviSeleniumTestCase {
$this->waitForElementPresent('crm-contact-actions-link');
// now add grant from contact summary
$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');
// wait for add Grant link
$this->waitForElementPresent('link=Add Grant');