[Fusionforge-commits] FusionForge branch master updated. v6.1-184-gae28976

Franck Villaume nerville at libremir.placard.fr.eu.org
Thu Jan 17 10:59:47 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  ae2897697a407d85322854415609900a1440c512 (commit)
      from  3643128978c682ad80c275bd88a46568a69eba11 (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=ae2897697a407d85322854415609900a1440c512

commit ae2897697a407d85322854415609900a1440c512
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Thu Jan 17 09:57:55 2019 +0000

    workaround for non-visible element link="Site Admin"

diff --git a/tests/func/10_Site/loginTest.php b/tests/func/10_Site/loginTest.php
index cc524ca..b1b2f11 100644
--- a/tests/func/10_Site/loginTest.php
+++ b/tests/func/10_Site/loginTest.php
@@ -106,7 +106,8 @@ class LoginProcess extends FForge_SeleniumTestCase
 		$this->assertTrue($this->isTextPresent("Forge Admin"));
 		$this->assertTrue($this->isTextPresent("Log Out"));
 
-		$this->clickAndWait("link=Site Admin");
+		//$this->clickAndWait("link=Site Admin"); // <- this does not work due to element not visble.
+		$this->open(ROOT."/admin/");
 		$this->clickAndWait("link=Display Full User List/Edit Users");
 		$this->clickAndWait("//table/tbody/tr/td/a[contains(@href,'useredit.php') and contains(.,'(admin)')]/../..//a[contains(@href, 'passedit.php?user_id=')]");
 		$this->type("passwd", FORGE_OTHER_PASSWORD);

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list