Hide Forgot
Currently, the TreeView tab is loaded while loading the TestPlan. This will bring unfriendly user experience that is it seems have a bad performance. Change the way of building and displaying TreeView to a lazy way, that is load the TreeView only when user clicks the tab. And no refresh before user refresh the current TestPlan page.
Loading the plan tree happens only when switch to TreeView tab. Then, each time come back from other tabs, do not load the tree repeatedly.
Verify the bug on qa server.--->Pass Verify steps: 1.Enter a test plan. Click tree view tab. 2.Add a child node for this plan. 3.Change parent node for this plan. 4.Change the child plan's tree view, not refresh the plan page. Check the tree view. 5.Change the child plan's tree view, refresh the plan page. Check the tree view. Actual results: For step 1: load the latest tree view. For step 2: After change, plan reload the latest tree view. For step 3: After change, plan reload the latest tree view. For step 4: Not refresh the page, the page show the old tree view. For step 5: Refresh the page, the page show the latest tree view.