[ 
https://issues.apache.org/jira/browse/GERONIMO-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

janel Zhang updated GERONIMO-5418:
----------------------------------

    Attachment: console-testsuite.patch

This is solution to Dojo navigation tree.
1.To get tree node id,we can use dojo script methods.The main method is as 
following:var  
navigationTree=this.browserbot.getCurrentWindow().dijit.byId('navigationTree'); 
var wrapperNode 
=navigationTree._itemNodesMap["+navigationTreeLabel2Index.get(navigationTreeLabel).intValue()+"];
wrapperNode[0].id;

The wrapperNode[0].id is the tree node id.

2.Because the dojo tree is cached in memory in very short time,we should   
collapase the tree node at first before click the tree node.  To solve it ,we 
can use the method:navigationTree._collapseNode(wrapperNode[0]);






> Console testsuite failures are caused by the new DOJO navigation tree
> ---------------------------------------------------------------------
>
>                 Key: GERONIMO-5418
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5418
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>    Affects Versions: 2.2.2, 3.0-M1, 3.0
>            Reporter: Forrest Xia
>            Assignee: Forrest Xia
>            Priority: Minor
>             Fix For: 2.2.2
>
>         Attachments: console-testsuite.patch, GERONIMO-5418.patch
>
>
> From Geronimo 2.2.1, the console navigation tree is rendered by DOJO, by 
> default, all link items are folded after login. This cause selenium failed to 
> get the right link information.
> We shall find a way to conquer the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to