Defect Description :
If the user adds 2 nodes and then undo them by pressing z key so that now the screen contains 0 node and then if he tries to escape from the draw window nothing happens, instead an error should be displayed saying "No node inserted".
Steps to reproduce the issue :
Go to simulation in Shortest Paths in graph, then click on Draw graph, select directed or undirected, insert 2 nodes anywhere, undo them by pressing z 2 times, then press esc key.
Expected Result :
An error should be displayed saying "No node inserted" .
Actual results :
No warning or error is displayed.
Screen shot -
2 Nodes are insreted
1 node is removed by pressing z
Other node is removed using z. And then Esc key is pressed. No error is displayed
Defect Description : If the user adds 2 nodes and then undo them by pressing z key so that now the screen contains 0 node and then if he tries to escape from the draw window nothing happens, instead an error should be displayed saying "No node inserted".
Steps to reproduce the issue : Go to simulation in Shortest Paths in graph, then click on Draw graph, select directed or undirected, insert 2 nodes anywhere, undo them by pressing z 2 times, then press esc key.
Expected Result : An error should be displayed saying "No node inserted" .
Actual results : No warning or error is displayed.
Screen shot -
2 Nodes are insreted
1 node is removed by pressing z
Other node is removed using z. And then Esc key is pressed. No error is displayed