UI: JUnit preview stops incorrectly on page refresh
The UI state breaks when a merge request is updated while the user is previewing one of the failed test results
Steps to reproduce
- Open a merge request with JUnit reports configured
- Break a test
- Open the test preview in the web UI
- While the preview is open, force-push to the merge request branch
What is the current bug behavior?
The preview widget disappears, but the rest of the UI is still grayed out and the interaction is disabled.
What is the expected correct behavior?
Several options: either the preview stays open, or closes completely and makes the UI enabled.
Output of checks
Observed in gitlab 11.2.0