[Fusionforge-commits] FusionForge branch master updated. v6.1-210-g7176d17

Franck Villaume nerville at libremir.placard.fr.eu.org
Sun Jan 27 19:05:29 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  7176d17a66e632efbb0150c9f57d7d580c8455cb (commit)
      from  f76b5f75be46636d908bd4d39961ebbf463339e9 (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=7176d17a66e632efbb0150c9f57d7d580c8455cb

commit 7176d17a66e632efbb0150c9f57d7d580c8455cb
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Sun Jan 27 19:04:33 2019 +0100

    make assertTextPresent more robust

diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 1b1fd95..4ef32d2 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -230,6 +230,7 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 			} catch (Exception $e) {}
 			sleep(1);
 		}
+		return true;
 	}
 
 	public function runCommand($cmd) {
@@ -641,7 +642,7 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 	}
 
 	function assertTextPresent($string) {
-		return $this->assertTrue($this->isTextPresent($string));
+		return $this->assertTrue($this->waitForTextPresent($string));
 	}
 
 	function check($string) {

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list