[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 68b600a729e6d69e0cd394e5581da07f54c10f0a

Roland Mas lolando at fusionforge.org
Fri Mar 21 13:50:21 CET 2014


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, Branch_5_3 has been updated
       via  68b600a729e6d69e0cd394e5581da07f54c10f0a (commit)
      from  0963c033ac2d591b734e97f1252503810964a57e (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 -----------------------------------------------------------------
commit 68b600a729e6d69e0cd394e5581da07f54c10f0a
Author: Roland Mas <lolando at debian.org>
Date:   Fri Mar 21 13:50:19 2014 +0100

    Fixed Xpath expression

diff --git a/tests/func/PluginsScmGit/gitTest.php b/tests/func/PluginsScmGit/gitTest.php
index 80b4da6..88cdc0b 100644
--- a/tests/func/PluginsScmGit/gitTest.php
+++ b/tests/func/PluginsScmGit/gitTest.php
@@ -59,7 +59,7 @@ class ScmGitTest extends FForge_SeleniumTestCase
 
 		$this->open(ROOT.'/plugins/scmgit/cgi-bin/gitweb.cgi?a=project_list;pf=projecta');
 		$this->waitForPageToLoad();
-		$this->assertElementPresent("//div[@class='page_footer']");
+		$this->assertElementPresent("//.[@class='page_footer']");
 		$this->assertTextPresent("projecta.git");
 		$this->assertTextPresent("other-repo.git");
 		$this->assertTextPresent("users/".FORGE_ADMIN_USERNAME.".git");
@@ -77,7 +77,7 @@ class ScmGitTest extends FForge_SeleniumTestCase
 
 		$this->open(ROOT.'/plugins/scmgit/cgi-bin/gitweb.cgi?a=project_list;pf=projecta');
 		$this->waitForPageToLoad();
-		$this->assertElementPresent("//div[@class='page_footer']");
+		$this->assertElementPresent("//.[@class='page_footer']");
 		$this->assertTextPresent("projecta.git");
 		$this->assertTextNotPresent("other-repo.git");
 		$this->assertTextPresent("users/".FORGE_ADMIN_USERNAME.".git");
@@ -92,7 +92,7 @@ class ScmGitTest extends FForge_SeleniumTestCase
 	{
 		if ($action == 'waitForPageToLoad') {
 			$this->assertTrue($this->isElementPresent("//h1")
-					  || $this->isElementPresent("//div[@class='page_footer']"));
+					  || $this->isElementPresent("//.[@class='page_footer']"));
 		}
 	}
 

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

Summary of changes:
 tests/func/PluginsScmGit/gitTest.php |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list