[Fusionforge-commits] FusionForge branch master updated. 0e544b44f93766a72c5785109e2ea395b2886e0a

Roland Mas lolando at fusionforge.org
Fri May 9 14:58:36 CEST 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, master has been updated
       via  0e544b44f93766a72c5785109e2ea395b2886e0a (commit)
      from  7da3acb05b64ab04bfac9dc923b04ff5eb5c22c3 (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 0e544b44f93766a72c5785109e2ea395b2886e0a
Author: Roland Mas <lolando at debian.org>
Date:   Fri May 9 14:58:29 2014 +0200

    Reenable topTest.php (with a minor change to make it pass)

diff --git a/tests/func/Site/topTest.php b/tests/func/Site/topTest.php
index e3dbd01..2d2037a 100644
--- a/tests/func/Site/topTest.php
+++ b/tests/func/Site/topTest.php
@@ -46,39 +46,38 @@ require_once dirname(dirname(__FILE__)).'/Testing/SeleniumGforge.php';
 
 class TopTester extends FForge_SeleniumTestCase
 {
-    function skiptestWalkInTop()
+    function testWalkInTop()
     {
-		$this->populateStandardTemplate('forums');
-		$this->init();
+	    $this->populateStandardTemplate('forums');
+	    $this->init();
 
-		$this->clickAndWait("link=Forums");
-		$this->clickAndWait("link=open-discussion");
-		$this->clickAndWait("link=Start New Thread");
-		$this->type("subject", "Message1");
-		$this->type("body", "Text1");
-		$this->clickAndWait("submit");
-		$this->assertTextPresent("Message Posted Successfully");
+	    $this->clickAndWait("link=Forums");
+	    $this->clickAndWait("link=open-discussion");
+	    $this->clickAndWait("link=Start New Thread");
+	    $this->type("subject", "Message1");
+	    $this->type("body", "Text1");
+	    $this->clickAndWait("submit");
+	    $this->assertTextPresent("Message Posted Successfully");
 
-		sleep(1);
-		$this->cron("project_weekly_metric.php");
+	    $this->cron("project_weekly_metric.php");
 
-		// Test that from the main page we access the most active this week.
-		$this->clickAndWait("link=Home");
-		$this->clickAndWait("link=[More]");
-		$this->assertTextPresent("Most Active This Week");
+	    // Test that from the main page we access the most active this week.
+	    $this->clickAndWait("link=Home");
+	    $this->clickAndWait("link=All project activities");
+	    $this->assertTextPresent("Most Active This Week");
 
-    	// Test that we can return back to all the tops.
-		$this->clickAndWait("link=[View Other Top Categories]");
-		$this->assertTextPresent("We track many project usage statistics");
+	    // Test that we can return back to all the tops.
+	    $this->clickAndWait("link=[View Other Top Categories]");
+	    $this->assertTextPresent("We track many project usage statistics");
 
-    	// Test that we can go the view the most active all time.
-		$this->clickAndWait("link=Most Active All Time");
-		$this->assertTextPresent("Most Active All Time");
+	    // Test that we can go the view the most active all time.
+	    $this->clickAndWait("link=Most Active All Time");
+	    $this->assertTextPresent("Most Active All Time");
 
-    	// Return back to tops.
-		$this->clickAndWait("link=[View Other Top Categories]");
-		$this->clickAndWait("link=Top Downloads");
-		$this->assertTextPresent("Rank");
+	    // Return back to tops.
+	    $this->clickAndWait("link=[View Other Top Categories]");
+	    $this->clickAndWait("link=Top Downloads");
+	    $this->assertTextPresent("Rank");
     }
 }
 

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

Summary of changes:
 tests/func/Site/topTest.php |   51 +++++++++++++++++++++----------------------
 1 file changed, 25 insertions(+), 26 deletions(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list