[Fusionforge-commits] r12847 - branches/Branch_5_1/tests/func/RBAC

Alain Peyrat aljeux at fusionforge.org
Sat Mar 19 13:58:36 CET 2011


Author: aljeux
Date: 2011-03-19 13:58:36 +0100 (Sat, 19 Mar 2011)
New Revision: 12847

Modified:
   branches/Branch_5_1/tests/func/RBAC/rbacTest.php
Log:
Fix logic in rbacTest, wait after submit

Modified: branches/Branch_5_1/tests/func/RBAC/rbacTest.php
===================================================================
--- branches/Branch_5_1/tests/func/RBAC/rbacTest.php	2011-03-19 12:58:26 UTC (rev 12846)
+++ branches/Branch_5_1/tests/func/RBAC/rbacTest.php	2011-03-19 12:58:36 UTC (rev 12847)
@@ -376,8 +376,8 @@
 		$this->assertSelected("//select[contains(@name,'data[frs]')]", "View public packages only");
 		$this->select("//select[contains(@name,'data[frs]')]", "label=View all packages");
 		$this->click ("//input[@value='Submit']") ;
+		$this->waitForPageToLoad("30000");
 		$this->assertSelected("//select[contains(@name,'data[frs]')]", "View all packages");
-		$this->waitForPageToLoad("30000");
 
 		// Check that SD is technician on trackers but DM isn't
 		$this->click("link=Tracker");




More information about the Fusionforge-commits mailing list