[Fusionforge-commits] FusionForge branch master updated. 1ff6930c15871e03af4a20643af14c58d9b5b2be

Franck VILLAUME nerville at fusionforge.org
Fri May 3 15:52:03 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  1ff6930c15871e03af4a20643af14c58d9b5b2be (commit)
      from  cb3e3628476dcef70125b386d2f67ce1e09b551a (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 1ff6930c15871e03af4a20643af14c58d9b5b2be
Author: Franck Villaume <franck.villaume at trivialdev.com>
Date:   Fri May 3 15:51:58 2013 +0200

    tests: wrong xpath

diff --git a/tests/func/Search/searchTest.php b/tests/func/Search/searchTest.php
index 6322ff3..caab776 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[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
+		$this->select("//tr/td/strong[.='Project visibility']/../../td/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[.='Project visibility']/../td/select[contains(@name,'data[project_read]'))", "label=Visible");
+		$this->select("//tr/td/strong[.='Project visibility']/../../td/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