== UI Test Cases for Edit Menu ==
||'''Preconditions'''||'''Test Case ID'''||'''Instructions'''||'''Expected Results'''||'''Date Executed'''||'''Pass/Fail'''||
||<|18> Click on Edit from the toolbar||E1||1. Add two nodes by right clicking on the blank space on the network canvas and select Add --> Add Node <
>2. Drag mouse and select both nodes <
>3. Click Connect Selected Nodes||An edge connecting the two new nodes should appear|| || ||
||E2||1. Drag and select the new nodes and edge <
>2. Click Delete Selected Nodes and Edges||The selected nodes and edges should no longer appear on the network canvas|| || ||
||E3||Click Undo: Delete||The nodes and edge deleted in E2 should reappear|| || ||
||E4||Click Redo: Delete||The nodes and edge should be deleted again|| || ||
||E5||1. Select a network from the Network tab in the Control Panel <
>2. Click Destroy View||The network canvas window should be deleted|| || ||
||E6||1. Select the same network as in E5 <
>2. Click Create View||The network canvas window should appear with the network displayed in its default state|| || ||
||E7||Click Destroy Network||The network canvas window should be gone and the Network tab on the Control Panel should not show the network deleted|| || ||
||E8||Click on Preferences option, select Properties||'Cytoscape Preference Editor' window should show up || || ||
||E8.1||(Continuation from E8) - Click on the add button. Add a name and a value|| Ensure the property name and value show up in the list|| || ||
||E8.2||(Continuation from E8) - Click on the "Modify" button. Edit the name and/or value|| Ensure the changes are reflected on the list|| || ||
||E8.3||(Continuation from E8) - Choose the above created property and click on the Delete button||The property should get deleted|| || ||
||E8.4|| Click on the Preferences menu, select Bookmark||Ensure the bookmark window opens up|| || ||
||E8.5|| Click on the preferences menu; add, edit or delete a bookmark||Ensure you are able to add, edit or delete the bookmark|| || ||
||E8.6|| Click on the preferences menu; Select proxy. The add proxy window opens up; try adding a proxy||Ensure you are able to add a proxy|| || ||
||E9|| 1. Add one node by right clicking on the blank space on the network canvas and select Add --> Add Node <
>2. Right click on the node and select Add Edge <
>3. Click on the same node to add a self loop edge <
>4. Click on Remove Self-loops ||A window should pop up and after selecting the network and pressing OK the added edge should be removed|| || ||
||E10||1. Add two nodes by right clicking on the blank space on the network canvas and select Add --> Add Node <
>2. Right click on one of the nodes and select Add Edge <
>3. Click on the other node to add a edge <
>4. do 2 and 3 again <
5. Select Remove Duplicated Edges||A window should pop up and after selecting the network and pressing OK the one of the added edges should be removed|| || ||