UI Test Cases for Layout Menu - Main
Preconditions |
Test Case ID |
Instructions |
Expected Results |
Windows |
Mac |
||
Date Executed |
Pass/Fail |
Date Executed |
Pass/Fail |
||||
1. Start Cytoscape |
L1 |
1. Click Rotate |
The Tool Panel should appear at the bottom of the Control Panel with the Rotate tab selected. The graph should rotate through the number of degrees indicated (To hide the Tool Panel click Layout → Rotate again) |
|
|
|
|
L2 |
1. Click Scale |
The Tool Panel should appear at the bottom of the Control Panel with the Scale tab selected. The graph should change in size proportional to the number indicated. (To hide the Tool Panel click Layout → Scale again) |
|
|
|
|
|
L3 |
1. Click Align and Distribute |
The Tool Panel should appear at the bottom of the Control Panel with the Align and Distribute tab selected. The buttons should arrange the nodes in various configurations. (To hide the Tool Panel click Layout → Align and Distribute again) |
|
|
|
|
|
L4 |
To avoid repetition the Settings… sub menu contents will be tested under the JGraph and Cytoscape Layouts sub menus |
|
|
|
|
|
|
L5 |
yFiles Layouts are tested under the core plugins test cases |
|
|
|
|
|
|
L6.1 |
Select JGraph Layouts → Tree Layout |
The nodes should be distributed in a branched arrangement |
|
|
|
|
|
L6.2 |
Select JGraph Layouts → Radial Tree Layout |
The graph should appear with concentric ovals of nodes with angular arms on the outside |
|
|
|
|
|
L6.3 |
Select JGraph Layouts → Simulated Annealing Layout |
|
|
|
|
|
|
L6.4 |
Select JGraph Layouts → Circle Layout |
All of the nodes are arranged at a locus equidistant from the centre of the circle |
|
|
|
|
|
L6.5 |
Select JGraph Layouts → Spring Embedded Layout |
Similar to an Organic yFiles layout in appearance nodes overlap slightly, edges are short and the angles created by edges are minimized |
|
|
|
|
|
L6.6 |
Select JGraph Layouts → MOEN Layout |
|
|
|
|
|
|
L6.7 |
Select JGraph Layouts → GEM Layout |
The nodes with the most connected edges are further away from the nodes they are first neighbours with and most of the edges are directed in a 30° arc from each node |
|
|
|
|
|
L6.8 |
Select JGraph Layouts → Sugiyama Layout |
This layout should be hierarchical with edges creating obtuse angles between nodes |
|
|
|
|