geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1001344 - /geronimo/server/branches/2.2/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
Date Sun, 26 Sep 2010 03:18:09 GMT
Author: genspring
Date: Sun Sep 26 03:18:09 2010
New Revision: 1001344

URL: http://svn.apache.org/viewvc?rev=1001344&view=rev
Log:
GEORNIMO-5573 Fix console-testsuite for Geronimo-4950 change.

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

Modified: geronimo/server/branches/2.2/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
URL: http://svn.apache.org/viewvc/geronimo/server/branches/2.2/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java?rev=1001344&r1=1001343&r2=1001344&view=diff
==============================================================================
--- geronimo/server/branches/2.2/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
(original)
+++ geronimo/server/branches/2.2/testsupport/testsupport-selenium/src/main/java/org/apache/geronimo/testsupport/console/ConsoleTestSupport.java
Sun Sep 26 03:18:09 2010
@@ -66,13 +66,13 @@ public abstract class ConsoleTestSupport
 		navigationTreeLabel2Index.put("Debug Views",5);
 		navigationTreeLabel2Index.put("Embedded DB",6);
 		//get tree node id dynamicly 
-		String script=" var navigationTree=this.browserbot.getCurrentWindow().dijit.byId('navigationTree');";
+		String script=" var navigationTree=this.browserbot.getCurrentWindow().dijit.byId('navigationTreeAdvanced');";
 	 	script=script+"var wrapperNode =navigationTree._itemNodesMap["+navigationTreeLabel2Index.get(navigationTreeLabel).intValue()+"];";
 	 	script+="wrapperNode[0].id;";
 	 	String navigationTreeNodeId=selenium.getEval(script);
 	 	
 	 	//collapse the tree node 
-	 	script=" var navigationTree=this.browserbot.getCurrentWindow().dijit.byId('navigationTree');";
+	 	script=" var navigationTree=this.browserbot.getCurrentWindow().dijit.byId('navigationTreeAdvanced');";
 	 	script=script+"var wrapperNode =navigationTree._itemNodesMap["+navigationTreeLabel2Index.get(navigationTreeLabel).intValue()+"];";
 	 	script+="navigationTree._collapseNode(wrapperNode[0]);";
 		selenium.getEval(script);



Mime
View raw message