ui/test: Manual testing fixes (#949)

* Fixed tooltip list items not activated on click
* Fixed crash when clearing focused graph edges after displaying graph with no edges
* Updated and fixed manual graph view tests
* Fixed previous location refocused when activating local symbol
* Fixed crash in graph view after showing empty graph
This commit is contained in:
Eberhard Gräther
2020-03-29 23:32:49 +02:00
committed by GitHub
parent a4d1403722
commit d13c21f6f3
11 changed files with 45 additions and 56 deletions
+4 -4
View File
@@ -51,10 +51,10 @@ namespace image_export
// TEST: move - WASD
// TEST: move - Ctrl + Arrows
// START ----------------------------------------------------------------------
// ACTION: Use WASD to scroll up, down, left, right
// ACTION: Use Ctrl + Arrows to scroll up, down, left, right
// RESULT: graph is moved
// END ------------------------------------------------------------------------
@@ -81,10 +81,10 @@ namespace image_export
// TEST: zoom - Shift + WS
// TEST: zoom - Shift + Ctrl + Up/Down
// START ----------------------------------------------------------------------
// ACTION: Hold Shift and press W/S
// ACTION: Hold Shift + Ctrl and press Up/Down
// RESULT: Zoom Level changes, percentage in lower left corner
// END ------------------------------------------------------------------------
@@ -12,7 +12,7 @@
// ACTION 2: Close with click on Cancel
// RESULT 2: dialog closes
// ACTION 3: Use custom trail shortcut Ctrl + L
// ACTION 3: Use custom trail shortcut Ctrl + U
// RESULT 3: dialog opens on top of window
// ACTION 4: click on main window
@@ -37,7 +37,7 @@
// RESULTS 6:
// - Graph shows multiple paths
// - Graph contains: CustomD -> CustomB, CustomC -> CustomA -> func -> int
// - Graph contains: CustomD -> CustomB, CustomC -> CustomA, func2 -> func -> int
// Action 7: Repeat search with:
// - select vertical layout
@@ -46,7 +46,7 @@
// RESULTS 7:
// - Graph one call chain to func
// - Graph goes top to bottom
// - Graph contains: CustomD -> CustomB -> CustomA, func2 -> func -> int
// - Graph contains: CustomD -> CustomB -> CustomA -> func -> int
// END ------------------------------------------------------------------------
@@ -80,6 +80,6 @@
// RESULTS 6:
// - Graph shows multiple paths
// - Graph contains: CustomB, CustomC -> CustomA, func2 -> func
// - Graph contains: CustomD -> CustomB, CustomC -> CustomA, func2 -> func
// END ------------------------------------------------------------------------
@@ -31,7 +31,7 @@ void level_1_func_1() // <- ACTION 1: activate
// ACTION 3: hover and click edges
// RESULTS 3:
// - hover highlight in grey
// - hover highlight in focus color
// - click shows source location in code
// ACTION 4: Reduce graph depth to 2
+1 -40
View File
@@ -43,44 +43,5 @@
// END ------------------------------------------------------------------------
// TEST: overview letter index
// START ----------------------------------------------------------------------
// ACTION 1: activate overview
// ACTION 2: Click on Union bundle
// ACTION 3: Press letter keys on keyboard
// RESULT 3: the graph is scrolled to the respective letter pressed
// END ------------------------------------------------------------------------
union A_Union_Type_Name_Making_A_Long_List {};
union B_Union_Type_Name_Making_A_Long_List {};
union C_Union_Type_Name_Making_A_Long_List {};
union D_Union_Type_Name_Making_A_Long_List {};
union E_Union_Type_Name_Making_A_Long_List {};
union F_Union_Type_Name_Making_A_Long_List {};
union G_Union_Type_Name_Making_A_Long_List {};
union H_Union_Type_Name_Making_A_Long_List {};
union I_Union_Type_Name_Making_A_Long_List {};
union J_Union_Type_Name_Making_A_Long_List {};
union K_Union_Type_Name_Making_A_Long_List {};
union L_Union_Type_Name_Making_A_Long_List {};
union M_Union_Type_Name_Making_A_Long_List {};
union N_Union_Type_Name_Making_A_Long_List {};
union O_Union_Type_Name_Making_A_Long_List {};
union P_Union_Type_Name_Making_A_Long_List {};
union Q_Union_Type_Name_Making_A_Long_List {};
union R_Union_Type_Name_Making_A_Long_List {};
union S_Union_Type_Name_Making_A_Long_List {};
union T_Union_Type_Name_Making_A_Long_List {};
union U_Union_Type_Name_Making_A_Long_List {};
union V_Union_Type_Name_Making_A_Long_List {};
union W_Union_Type_Name_Making_A_Long_List {};
union X_Union_Type_Name_Making_A_Long_List {};
union Y_Union_Type_Name_Making_A_Long_List {};
union Z_Union_Type_Name_Making_A_Long_List {};
union A_Union_Type {};
int global_variable;