mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 09:00:44 +00:00
Sort failed tests to the end of the test result list
This commit is contained in:
@@ -246,6 +246,12 @@ document.body.onload = function() {
|
||||
test.classList.add('expanded');
|
||||
}
|
||||
|
||||
var h1s = document.getElementsByTagName('h1');
|
||||
var summary = h1s[h1s.length-1];
|
||||
|
||||
// move failed tests to the end
|
||||
[].slice.call(document.getElementsByClassName('failed test')).forEach((x) => {document.body.removeChild(x); document.body.insertBefore(x, summary);})
|
||||
|
||||
var toggles = document.getElementsByClassName('expandtoggle');
|
||||
|
||||
for(var i=0; i < toggles.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user