[Fusionforge-commits] FusionForge branch master updated. a9433691e4778f683393a889ca16920acffd70ae

Franck VILLAUME nerville at fusionforge.org
Fri May 3 16:33:25 CEST 2013


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  a9433691e4778f683393a889ca16920acffd70ae (commit)
      from  e1e8257621105710ceb7ad43a376ec0f5662643d (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 a9433691e4778f683393a889ca16920acffd70ae
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri May 3 16:33:17 2013 +0200

    tests: wrong xpath ...

diff --git a/tests/func/Search/searchTest.php b/tests/func/Search/searchTest.php
index caab776..9d89206 100644
--- a/tests/func/Search/searchTest.php
+++ b/tests/func/Search/searchTest.php
@@ -514,7 +514,7 @@ class Search extends FForge_SeleniumTestCase
 		$this->waitForPageToLoad("30000");
 		$this->click ("//td/form/div[contains(.,'Trainee')]/../div/input[@value='Edit Permissions']") ;
 		$this->waitForPageToLoad("30000");
-		$this->select("//tr/td/strong[.='Project visibility']/../../td/select[contains(@name,'data[project_read]'))", "label=Visible");
+		$this->select("//select[contains(@name,'data[project_read]'))", "label=Visible");
 		$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=Read only");
 		$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=Read only");
@@ -529,7 +529,7 @@ class Search extends FForge_SeleniumTestCase
 		$this->waitForPageToLoad("30000");
 		$this->click ("//td/form/div[contains(.,'Anonymous')]/../div/input[@value='Edit Permissions']") ;
 		$this->waitForPageToLoad("30000");
-		$this->select("//tr/td/strong[.='Project visibility']/../../td/select[contains(@name,'data[project_read]'))", "label=Visible");
+		$this->select("//select[contains(@name,'data[project_read]'))", "label=Visible");
 		$this->select("//tr/td[.='Bugs']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='Patches']/../td/select[contains(@name,'data[tracker]')]", "label=No access");
 		$this->select("//tr/td[.='To Do']/../td/select[contains(@name,'data[pm]')]", "label=No access");

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

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


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list