[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 9d184b86b277ecfa1cd2506e5b68e5c151b6d8d1

Roland Mas lolando at fusionforge.org
Mon Jan 20 11:06:26 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  9d184b86b277ecfa1cd2506e5b68e5c151b6d8d1 (commit)
      from  a5bb12ecb3dd7ec00f76d88958eee20b2b16551b (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 9d184b86b277ecfa1cd2506e5b68e5c151b6d8d1
Author: Roland Mas <lolando at debian.org>
Date:   Mon Jan 20 11:06:21 2014 +0100

    Update XPath in testsuite to cope with funky theme

diff --git a/tests/func/Forums/forumsTest.php b/tests/func/Forums/forumsTest.php
index 4b340e4..bd225c4 100755
--- a/tests/func/Forums/forumsTest.php
+++ b/tests/func/Forums/forumsTest.php
@@ -132,7 +132,7 @@ class CreateForum extends FForge_SeleniumTestCase
 		$this->init();
 		$this->click("link=Mailing Lists");
 		$this->waitForPageToLoad("30000");
-		$this->click("//body//div[@id='maindiv']/p[1]/strong/a[2]");
+		$this->click("//body//div[@id='maindiv']//a[.='Administration']");
 		$this->waitForPageToLoad("30000");
 		$this->click("link=Add Mailing List");
 		$this->waitForPageToLoad("30000");
@@ -143,7 +143,7 @@ class CreateForum extends FForge_SeleniumTestCase
 		$this->assertTrue($this->isTextPresent("List Added"));
 		$this->click("link=Forums");
 		$this->waitForPageToLoad("30000");
-		$this->click("//body//div[@id='maindiv']/p[1]/strong/a[2]");
+		$this->click("//body//div[@id='maindiv']//a[.='Administration']");
 		$this->waitForPageToLoad("30000");
 		$this->click("link=Add Forum");
 		$this->waitForPageToLoad("30000");

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

Summary of changes:
 tests/func/Forums/forumsTest.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list