Commit bfa2b65
committed
fix: sort groups in HTML report when sort mode is changed
The sort toggle in the HTML report only sorted tests within each group
but never reordered the groups themselves. Added sortGroups() to also
sort groups by duration (slowest first) or name (alphabetical).
Also added an empty favicon link to prevent 404 errors when the report
is served from a remote host.1 parent 4e5b663 commit bfa2b65
1 file changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
1532 | 1533 | | |
1533 | 1534 | | |
1534 | 1535 | | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
1535 | 1546 | | |
1536 | 1547 | | |
1537 | 1548 | | |
1538 | | - | |
| 1549 | + | |
1539 | 1550 | | |
1540 | 1551 | | |
1541 | 1552 | | |
| |||
0 commit comments