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 #2975 from atif-shaikh/WebTextFix
[civicrm-core.git]
/
tests
/
phpunit
/
WebTest
/
Import
/
ImportCiviSeleniumTestCase.php
diff --git
a/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
b/tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
index e88a5dafbb61e89e7576f32bf43cfc54a2aa8b04..0e2c0e3354506b91f5bf1f7215cf0175cc54f322 100644
(file)
--- a/
tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
+++ b/
tests/phpunit/WebTest/Import/ImportCiviSeleniumTestCase.php
@@
-1,9
+1,9
@@
<?php
/*
+--------------------------------------------------------------------+
<?php
/*
+--------------------------------------------------------------------+
- | CiviCRM version 4.
4
|
+ | CiviCRM version 4.
5
|
+--------------------------------------------------------------------+
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-201
3
|
+ | Copyright CiviCRM LLC (c) 2004-201
4
|
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
@@
-550,10
+550,11
@@
class ImportCiviSeleniumTestCase extends CiviSeleniumTestCase {
$this->typeKeys("css=input#sort_name_navigation", $searchName);
// Wait for result list.
$this->typeKeys("css=input#sort_name_navigation", $searchName);
// Wait for result list.
- $this->waitForElementPresent("css=
div.ac_results-inner
li");
+ $this->waitForElementPresent("css=
ul.ui-autocomplete
li");
// Visit contact summary page.
// Visit contact summary page.
- $this->clickLink("css=div.ac_results-inner li");
+ $this->click("css=ul.ui-autocomplete li");
+ $this->waitForPageToLoad($this->getTimeoutMsec());
// Get contact id from url.
$contactIds[] = $this->urlArg('cid');
// Get contact id from url.
$contactIds[] = $this->urlArg('cid');