This might be handy, if you want to send someone report with expanded "Error Message" or expanded some debug data of interested step (e.g. Journal or Screenshot).
Another side effect would be, if you update the report (rerun the test) then after the page reload it will remember the state and expand embed that was expanded (e.g. when investigating journal, after F5 it will stay expanded). On the other hand, it might break if the embed index change (e.g. failing test becomes passing, then embed IDs are different), but that is expected and should not be an issue.
This might be handy, if you want to send someone report with expanded "Error Message" or expanded some debug data of interested step (e.g. Journal or Screenshot).
Another side effect would be, if you update the report (rerun the test) then after the page reload it will remember the state and expand embed that was expanded (e.g. when investigating journal, after F5 it will stay expanded). On the other hand, it might break if the embed index change (e.g. failing test becomes passing, then embed IDs are different), but that is expected and should not be an issue.
This should be doable in JavaScript only.