[Fusionforge-commits] FusionForge branch master updated. v6.1-182-gee87213

Franck Villaume nerville at libremir.placard.fr.eu.org
Wed Jan 16 19:22:52 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  ee87213081e690248bfb6e48cd6476cc2cc3aaf8 (commit)
      from  545983d066efc925638b68cb3d897d8db9953e1f (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=ee87213081e690248bfb6e48cd6476cc2cc3aaf8

commit ee87213081e690248bfb6e48cd6476cc2cc3aaf8
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Wed Jan 16 19:22:11 2019 +0100

    make clickAndWait works correct with link=My Link ; adjust loginTest to enforce test against login page

diff --git a/tests/func/10_Site/loginTest.php b/tests/func/10_Site/loginTest.php
index 72c352e..7fae6fd 100644
--- a/tests/func/10_Site/loginTest.php
+++ b/tests/func/10_Site/loginTest.php
@@ -54,7 +54,7 @@ class LoginProcess extends FForge_SeleniumTestCase
 			$this->logout();
 		}
 		$this->clickAndWait("link=Log In");
-		$this->assertTrue($this->isTextPresent("Log In"));
+		$this->assertTrue($this->isTextPresent("Login"));
 
 		// Check that current URL's base is the same as ROOT
 		// If the forge redirects to other URL than the one
diff --git a/tests/func/SeleniumForge.php b/tests/func/SeleniumForge.php
index 0ff1199..cdca27e 100644
--- a/tests/func/SeleniumForge.php
+++ b/tests/func/SeleniumForge.php
@@ -193,7 +193,7 @@ class FForge_SeleniumTestCase extends PHPUnit_Extensions_Selenium2TestCase
 	public function clickAndWait($link) {
 		if (preg_match('/^link=/', $link)) {
 			$text = substr($link, 5);
-			$this->byLinkText($text).click();
+			$this->byLinkText($text)->click();
 		}
 	}
 

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

Summary of changes:
 tests/func/10_Site/loginTest.php | 2 +-
 tests/func/SeleniumForge.php     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list