[Fusionforge-commits] FusionForge branch master updated. v6.1-192-ge48192b

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jan 20 00:13:26 CET 2019


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  e48192ba95aa941485ec57ebe37d120bdd516a8e (commit)
      from  db55328b46cc99dae502e3ba7e9590d7563f6987 (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=e48192ba95aa941485ec57ebe37d120bdd516a8e

commit e48192ba95aa941485ec57ebe37d120bdd516a8e
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jan 20 00:13:04 2019 +0100

    workaround for Element could not be scrolled into view

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 69bbe8b..653dc3b 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -204,7 +204,11 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 			$myelement = $this->byName($link);
 		}
 		sleep(7); // to handle tooltips
-		$myelement->click();
+		try {
+			$myelement->click();
+		} catch (Exception $e) {
+			$this->url($myelement->attribute('href'));
+		}
 	}
 
 	public function waitForTextPresent($text) {

-----------------------------------------------------------------------

Summary of changes:
 tests/func/SeleniumForge.php | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list