steward icon indicating copy to clipboard operation
steward copied to clipboard

Add sorting to results.xml - by longest running tests etc.

Open OndraM opened this issue 8 years ago • 0 comments

Results.xml file (when viewed in browser) applies XSL template to format the HTML.

screenshot_20170505_135841

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

OndraM avatar May 05 '17 12:05 OndraM