Project

General

Profile

Actions

action #111542

closed

[sporadic] openQA test t/ui/15-comments.t fails in 'heading text' size:M

Added by okurz over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-05-24
Due date:
% Done:

0%

Estimated time:

Description

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

Related issues 3 (0 open3 closed)

Related to openQA Project (public) - action #72319: unstable test: t/ui/15-comments.t "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago' (2nd try)Resolvedokurz2020-10-14

Actions
Related to openQA Project (public) - action #128153: [sporadic] typing issue in comments UI test t/15-comments.t size:MResolvedmkittler

Actions
Related to openQA Project (public) - action #129946: [tools][ci][ui] Randomly failing t/ui/15-comments.tResolvedmkittler2023-05-272023-06-14

Actions
Actions

Also available in: Atom PDF