Commit 5d71be4
authored
feat(ui): show total duration and gas in executions table header (#175)
## Summary
- Show total execution duration and total gas used (in MGas) on the top
right of the Executions table in the test detail modal
- Sums all per-execution `duration_ns` and `gas_used` values from the
result details
## Test plan
- [x] Open a test detail modal on the run detail page
- [x] Verify "Total: {duration} ({MGas})" appears on the top right of
the Executions heading for both Test and Setup phases
- [x] Verify it doesn't show when there's no duration data1 parent 95fce66 commit 5d71be4
1 file changed
Lines changed: 20 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
201 | 201 | | |
202 | 202 | | |
203 | 203 | | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
204 | 209 | | |
205 | 210 | | |
206 | | - | |
207 | | - | |
208 | | - | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
209 | 226 | | |
210 | 227 | | |
211 | 228 | | |
| |||
0 commit comments