Project

General

Profile

Actions

action #72319

closed

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)

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

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
2020-10-14
% Done:

0%

Estimated time:

Description

Observation

https://app.circleci.com/pipelines/github/os-autoinst/openQA/4435/workflows/cd37b812-c057-4990-a557-a0bab1695bdd/jobs/42476
shows

    # Subtest: add
[debug] [8YmjWcRI] POST "/api/v1/parent_groups/1/comments"
[debug] [8YmjWcRI] Routing to controller "OpenQA::Shared::Controller::Auth" and action "auth"
[debug] API auth by user: Demo, operator: 1
[debug] [8YmjWcRI] Routing to controller "OpenQA::WebAPI::Controller::API::V1::Comment" and action "create"
[debug] [8YmjWcRI] 200 OK (0.019251s, 51.945/s)
[debug] [j8Rvzc5Z] GET "/api/v1/parent_groups/1/comments/11"
[debug] [j8Rvzc5Z] Routing to controller "OpenQA::WebAPI::Controller::API::V1::Comment" and action "text"
[debug] [j8Rvzc5Z] 200 OK (0.017316s, 57.750/s)
        ok 1 - Wait for jQuery successful: comment added to group
        ok 2 - exactly one comment heading present
        ok 3 - exactly one comment body present
        not ok 4 - heading text

        #   Failed test 'heading text'
        #   at t/ui/15-comments.t line 99.
        #          got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'
        #     expected: 'Demo wrote less than a minute ago'
        ok 5 - body text
        ok 6 - anchor matches expected format
        ok 7 - body found via anchor ref
        1..7
        # Looks like you failed 1 test of 7.
    not ok 2 - add

    #   Failed test 'add'
    #   at t/ui/15-comments.t line 130.

seems like the fix in #53771 in javascript only was not enough, changing the perl template code as well.


Related issues 2 (0 open2 closed)

Related to openQA Project - action #111542: [sporadic] openQA test t/ui/15-comments.t fails in 'heading text' size:MResolvedmkittler2022-05-24

Actions
Copied from openQA Project - action #53771: unstable test: t/ui/15-comments.t in line 102: "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago'Resolvedokurz2019-07-03

Actions
Actions #1

Updated by okurz over 3 years ago

  • Copied from action #53771: unstable test: t/ui/15-comments.t in line 102: "got: 'Demo wrote less than a minute ago (last edited less than a minute ago)'" expected: 'Demo wrote less than a minute ago' added
Actions #3

Updated by okurz over 3 years ago

  • Due date set to 2020-10-14
  • Status changed from In Progress to Feedback
Actions #4

Updated by okurz over 3 years ago

  • Status changed from Feedback to Resolved

PR merged, should be good.

Actions #5

Updated by okurz almost 2 years ago

  • Related to action #111542: [sporadic] openQA test t/ui/15-comments.t fails in 'heading text' size:M added
Actions

Also available in: Atom PDF