steward
steward copied to clipboard
Add sorting to results.xml - by longest running tests etc.
Results.xml file (when viewed in browser) applies XSL template to format the HTML.

We already use moment.js library to format date and to calculate the diff between start and end of the tests. Another nice feature could be to sort the table by some of columns:
- status
- result
- start time
- end time
- duration
For example jQuery Tablesorter 2 plugin could be used. It also contains some Bootstrap 3 theme.
To summarize the requirements for this feature:
- sort (only) by columns specified above
- show sort icon
- add ability to reset the filters (and return table to its original state)
- use bootstrap theme (or similar - doen't have to be exactly the one) to keep it consistent with the rest of the results.xml