geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiam...@apache.org
Subject svn commit: r1164428 - /geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
Date Fri, 02 Sep 2011 09:21:33 GMT
Author: xiaming
Date: Fri Sep  2 09:21:32 2011
New Revision: 1164428

URL: http://svn.apache.org/viewvc?rev=1164428&view=rev
Log:
less name check

Modified:
    geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java

Modified: geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java?rev=1164428&r1=1164427&r2=1164428&view=diff
==============================================================================
--- geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
(original)
+++ geronimo/server/trunk/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
Fri Sep  2 09:21:32 2011
@@ -107,23 +107,23 @@ public abstract class ConsoleTestSupport
 	}
 	
     	protected void login() throws Exception {
-	        selenium.open("/");
+	        selenium.open("/console");
 	        waitForPageLoad();
 	        
 	        //assertEquals("Apache Geronimo", selenium.getTitle());
 	
 	        selenium.deleteAllVisibleCookies();
 	
-	        selenium.click("link=Console");
-	        waitForPageLoad();
+	        //selenium.click("link=Console");
+	        //waitForPageLoad();
 	        
-	        assertEquals("Geronimo Console Login", selenium.getTitle());
+	        //assertEquals("Geronimo Console Login", selenium.getTitle());
 	        
 	        selenium.type("j_username", "system");
 	        selenium.type("j_password", "manager");
 	        selenium.click("submit");
 	        waitForPageLoad();
-	        assertEquals("Geronimo Console", selenium.getTitle());
+	        //assertEquals("Geronimo Console", selenium.getTitle());
     	}
     
     	protected void logout() throws Exception {
@@ -131,7 +131,7 @@ public abstract class ConsoleTestSupport
 	        selenium.click("//a[contains(@href, '/console/logout.jsp')]");
 	        waitForPageLoad();
 	        
-	        assertEquals("Geronimo Console Login", selenium.getTitle());
+	        //assertEquals("Geronimo Console Login", selenium.getTitle());
 	        
 	        //selenium.removeCookie("JSESSIONID", "/");
     	}



Mime
View raw message