Hello,
We create an HTML report after our automated tests in Jenkins. They tend to provide more context than the stack traces we get with the JUnit report.
However, one friction point we've noticed is that errors/failed assertions within nested it/describe blocks are often hidden from view, requiring the user to search through the assertion tree to find what went wrong.
Would it be possible for the UI to automatically expand to the error in the report?
Thanks,
Chauncey
Support Forum
Hi,
Sure, we'll add this feature. Ticket created: https://app.assembla.com/spaces/bryntum ... rt/details
Sure, we'll add this feature. Ticket created: https://app.assembla.com/spaces/bryntum ... rt/details
Read the API documentation
As a hot-fix, you can tweak the siesta-all.js file in this way:
Update
to
Update
var data = {
id : me.idGenSequence++,
leaf : !isSubTest,
expanded : expanded : isSubTest && assertionNode.bddSpecType != 'it'
}
var data = {
id : me.idGenSequence++,
leaf : !isSubTest,
expanded : isSubTest && (assertionNode.bddSpecType != 'it' || !assertionNode.passed)
}
Read the API documentation