Project

General

Profile

action #111542

Updated by mkittler almost 2 years ago

## Observation 
 

 https://app.circleci.com/pipelines/github/os-autoinst/openQA/9642/workflows/d48bcdfe-9b1e-47a1-bc80-53b05167be46/jobs/90997?invite=true#step-107-89 shows 

 ``` 
 [10:40:27] t/ui/15-comments.t ......................... 1/?  
         #     Failed test 'heading text' 
         #     at t/ui/15-comments.t line 89. 
         #            got: 'Demo wrote less than a minute ago (last edited less than a minute ago)' 
         #       expected: 'Demo wrote less than a minute ago' 
         # Looks like you failed 1 test of 12. 

     #     Failed test 'remove' 
     #     at t/ui/15-comments.t line 176. 
     # Looks like you failed 1 test of 4. 
 [10:40:27] t/ui/15-comments.t ......................... 8/?  
 #     Failed test 'commenting in the group overview' 
 #     at t/ui/15-comments.t line 181. 
 [10:40:27] t/ui/15-comments.t ......................... 9/? [10:40:27] t/ui/15-comments.t ......................... 10/? [10:40:27] t/ui/15-comments.t ......................... 11/? [10:40:27] t/ui/15-comments.t ......................... 12/? [10:40:27] t/ui/15-comments.t ......................... 14/? # Looks like you failed 1 test of 14. 
                                                               [10:40:27] t/ui/15-comments.t ......................... Dubious, test returned 1 (wstat 256, 0x100) 
 Failed 1/14 subtests 
 ``` 

 ## Acceptance criteria 
 * **AC1:** The test no longer fails (even sporadically) 

 ## Suggestions 
 * Check for ambiguous CSS selectors 
 * Check for race conditions 
 * Check for inaccuracies (maybe a comment is considered edited if t_created and t_updated differ and that might be also due to rounding) 
 * Use headful mode to watch what's actually going on

Back