mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 00:50:40 +00:00
Propagate up failure through expand sections in test results
This commit is contained in:
@@ -238,8 +238,11 @@ document.body.onload = function() {
|
||||
|
||||
for(var i=0; i < failed.length; i++) {
|
||||
var search = failed[i];
|
||||
while(search !== null && !search.classList.contains('test'))
|
||||
search = search.parentElement;
|
||||
while(search !== null && !search.classList.contains('test')) {
|
||||
if(search.classList.contains('expandable'))
|
||||
search.classList.add('failed');
|
||||
search = search.parentElement;
|
||||
}
|
||||
|
||||
if(search !== null)
|
||||
search.classList.add('failed');
|
||||
|
||||
Reference in New Issue
Block a user