action #102786

Updated by okurz over 2 years ago

## Motivation 

 Serial text results can have a content like `Unable to read glibc_locale-7.txt.`. This text is rendered directly in the little text preview boxes. "record_info" boxes show their title correctly but might miss content. 

 While this can be similar with image results, these are refreshed a few times on the client side using javascript, until a proper image is received. 

 There should be some measurement taken to ensure that all results are shown properly. 
 Maybe a solution could be found, that could eliminate the need of the image reload approach. 



 ## Impact 

 Only webUI users looking at job detail pages while openQA jobs are running, only text results (not simple text boxes and not screenshots) 

 ## Reproducible 

 Not always reproducible, likely more probable on tests with many serial text result boxes, e.g. dheidler suggested 

 okurz and dheidler could both reproduce the problem while having the job from [this scenario]( opened in our browser (we used Firefox and Vivaldi/Chromium at the same time and reproduced it in both). As soon as the job changed from "running" to "passed" the job detail info box correctly showed the status and all steps showed up but the content was "Unable to read" for all thumbnail boxes in the "flask" module, both for "serial text results" as well as "record_info" boxes. Refreshing the page or opening the same job in another browser tab rendered all entries correctly, no error shown. 

 ## Acceptance criteria 
 * **AC1:** Both image and text results are reproducibly shown in job details whenever they are available while the job is running 

 ## Workaround 

 For the time being as a user refresh the page, e.g. "F5" key during or after test execution.