Commit 335bfd9
authored
Testresults module: form-based parameter binding, UserSchema registration, and Selenium tests (#622)
- `TestResultsSchema `extends UserSchema with DefaultSchema.registerProvider() registration, FK lookup columns, and wrapAllColumns() in createTable()
- _Post-deploy_: Delete external schema on skyline.ms since the code-level registration now supersedes it.
- Added form classes replacing all request.getParameter() calls across all actions
- Integer/Boolean for optional form parameters with null guards and descriptive error messages
- ParseException handling with SimpleErrorView for date parameters
- `cause` field added to error API responses; JSP alert messages updated to display it
- Added addNavTrail overrides to prevent missing page title warnings
- New `TestResultsTest` Selenium test class covering begin page, show run, run lookup, user runs, long-term trends, failures, flagging, and training data workflows
- `BeginAction` (rundown page, date navigation, viewType selector)
- `ShowRunAction` (run detail, pass sorting)
- `ShowUserAction` (user page, date range)
- `LongTermAction` (viewType selector)
- `ShowFailuresAction` (failure detail, viewType selector)
- `FlagRunAction` / `ShowFlaggedAction` (flag/unflag workflow)
- `TrainRunAction` / `TrainingDataViewAction` (add/remove training set workflow)
- `ViewLogAction` (view run log)
- `ViewXMLAction` (view run XML)
- `ChangeBoundariesAction` (update warning/error boundaries)
- `SetUserActiveAction` (activate/deactivate user)
- `DeleteRunAction` (delete a run)
- Replaced deprecated `javax.management.modelmbean.XMLParseException` with `IllegalArgumentException`
- Switched from `org.springframework.util.StringUtils` to `org.apache.commons.lang3.StringUtils`1 parent 44df5a5 commit 335bfd9
19 files changed
Lines changed: 2879 additions & 229 deletions
File tree
- testresults
- resources/schemas
- src/org/labkey/testresults
- view
- test
- sampledata/testresults
- src/org/labkey/test/tests/testresults
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
39 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
40 | 52 | | |
41 | 53 | | |
42 | 54 | | |
| |||
46 | 58 | | |
47 | 59 | | |
48 | 60 | | |
49 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
50 | 68 | | |
51 | 69 | | |
52 | 70 | | |
| |||
55 | 73 | | |
56 | 74 | | |
57 | 75 | | |
58 | | - | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
59 | 83 | | |
60 | 84 | | |
61 | 85 | | |
| |||
67 | 91 | | |
68 | 92 | | |
69 | 93 | | |
70 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
71 | 101 | | |
72 | 102 | | |
73 | 103 | | |
| |||
91 | 121 | | |
92 | 122 | | |
93 | 123 | | |
94 | | - | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
95 | 131 | | |
96 | 132 | | |
97 | 133 | | |
| |||
105 | 141 | | |
106 | 142 | | |
107 | 143 | | |
108 | | - | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
109 | 151 | | |
110 | 152 | | |
111 | 153 | | |
| |||
117 | 159 | | |
118 | 160 | | |
119 | 161 | | |
120 | | - | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
121 | 169 | | |
122 | 170 | | |
123 | 171 | | |
| |||
126 | 174 | | |
127 | 175 | | |
128 | 176 | | |
129 | | - | |
| 177 | + | |
0 commit comments