Closed
Description
Description:
When a test is marked as FAILED or SKIPPED, the expand button in the generated log.html report always displays the + sign, regardless of whether the user has clicked it to expand or not.
This behavior is inconsistent and can lead to confusion, as the button should toggle between + (collapsed) and - (expanded) correctly.
Steps to Reproduce:
Run a test suite with tests that result in FAILED or SKIPPED status.
Open the generated log.html report.
Expand a failed or skipped test.
Notice that the expand button remains as + even when expanded.
Expected Behavior:
The expand button should display - when the test is expanded and toggle back to + when collapsed.