This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, master has been updated
via 818e0e345f0d4c9f2a5f28e65a7cf770853f9399 (commit)
from 04f516de13e56ff0fb10437f92c572cf4ac38b73 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=818e0e345f0d4c9f2a5f28e65a7cf770853f9399
commit 818e0e345f0d4c9f2a5f28e65a7cf770853f9399
Author: Franck Villaume <[email protected]>
Date: Mon Jan 14 10:28:00 2019 +0000
implement clickAndWait function
diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index d57a811..0c34383 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -191,10 +191,10 @@ class FForge_SeleniumTestCase extends
PHPUnit_Extensions_Selenium2TestCase
}
public function clickAndWait($link) {
- // click does not do what we expect! Need to be rewrite...
- $this->click($link);
- // we may need to implement this waitForPageToLoad... let's
comment it first.
- //$this->waitForPageToLoad();
+ $this->execute(array(
+ 'script' =>
'document.querySelector(\'a[href*="'.$link.'"]\').click()',
+ 'args' => array(),
+ ));
}
public function waitForTextPresent($text) {
-----------------------------------------------------------------------
Summary of changes:
tests/func/SeleniumForge.php | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits