[Fusionforge-commits] r14664 - in trunk: . tests/func/Search

Roland Mas lolando at fusionforge.org
Sun Oct 16 10:27:17 CEST 2011


Author: lolando
Date: 2011-10-16 10:27:17 +0200 (Sun, 16 Oct 2011)
New Revision: 14664

Modified:
   trunk/
   trunk/tests/func/Search/searchTest.php
Log:
Adapt search testsuite to new advanced search UI

Modified: trunk/tests/func/Search/searchTest.php
===================================================================
--- trunk/tests/func/Search/searchTest.php	2011-10-16 08:25:58 UTC (rev 14663)
+++ trunk/tests/func/Search/searchTest.php	2011-10-16 08:27:17 UTC (rev 14664)
@@ -442,11 +442,7 @@
 
 		$this->gotoProject('projecta');
 		$this->clickAndWait('Link=Advanced search');
-		$this->click("//a[contains(@href,'short_forum') and .='all']");
-		$this->click("//a[contains(@href,'short_tracker') and .='all']");
-		$this->click("//a[contains(@href,'short_pm') and .='all']");
-		$this->click("//a[contains(@href,'short_docman') and .='all']");
-		$this->click("//a[contains(@href,'short_news') and .='all']");
+		$this->click("//input[@class='checkthemall']");
 		$this->type("//div[@id='maindiv']//input[@name='words']", "needle");
 		$this->clickAndWait("//input[@name='submitbutton']");
 		$this->assertTrue($this->isTextPresent("Bug1"));




More information about the Fusionforge-commits mailing list